Actions:
|
2016-02-25 07:10 AEST by Glen Starrett - The following shows case sensitive behavior for the username field in the passwd
file:
• Make my 'admin' account a cvsadmin by adding self to the CVSROOT\admin file:
C:\Users\Admin\Documents\test\cvsroot>type "\ProgramData\March
Hare\myrepo\CVSROOT"\admin
admin
w2012r2x64\admin
• Add self to passwd:
C:\Users\Admin\Documents\test\cvsroot>cvs passwd -a admin
Adding user admin@localhost
New Password:
Verify Password:
C:\Users\Admin\Documents\test\cvsroot>type "\ProgramData\March
Hare\myrepo\CVSROOT\passwd"
admin:
• Altered config, commit:
C:\Users\Admin\Documents\test\cvsroot>cvs diff config
Index: config
===================================================================
RCS file: /myrepo/cvsroot/config,v
retrieving revision 1.1
diff -r1.1 config
2a3
> SystemAuth=no
C:\Users\Admin\Documents\test\cvsroot>cvs ci -m "sys auth = no"
cvs commit: Examining .
Checking in config;
/myrepo/cvsroot/config,v <-- config
new revision: 1.2; previous revision: 1.1
done
cvsntsrv server: Rebuilding administrative file database
• Uh oh:
C:\Users\Admin\Documents\test\cvsroot>cvs ls
cvs [ls aborted]: no such user Admin in CVSROOT/passwd
• Edit it and retry:
C:\Users\Admin\Documents\test\cvsroot>notepad "\ProgramData\March
Hare\myrepo\CVSROOT\passwd"
C:\Users\Admin\Documents\test\cvsroot>type "\ProgramData\March
Hare\myrepo\CVSROOT\passwd"
Admin:
C:\Users\Admin\Documents\test\cvsroot>cvs ls
Listing modules on server
CVSROOT
abc
OK, so the Admin account is working but passwd is case sensitive ?!?!?! THAT's
a bug! |
|
2017-07-19 11:39 AEST by Arthur Barrett - Probably bug 7178 is a dup - but it also highlights that this case sensitivity affects the domain portion of the
username if you have added them as "DOMAIN\USERNAME".
Waiting on confirmation to mark bug 7178 a dup of Bug 6989.
Also of interest are:
Bug 5052: preserve case with WinBind auth on Linux/Unix
Bug 5196: Support for case insensitive usernames on Unix
So the key question is whether we need a 'global' option to enable case insensitive usernames/passwords
(which I think will be difficult to get right on linux/unix), or two options: case insensitive on unix/linux and case
insensitive on windows.
In a 'pure' windows environment the 'case insensitive' option is sensible - but it needs to be carefully coded
so that it only applies to 'server' processes, or else people using windows clients to access a linux/unix server
will get odd behaviour.
We probably should have a separate bug just for displaying a 'warning' when you use cvs passwd that it is
case sensitive.
|