Well, I want to make it clear that this bug is a bug regardless of
Windows. The bug is simply that `adduser` does not reverse map the
resolved uid back into a canonical username. The idea is this:

`getent passwd foo` returns the record for one or many users, searching
based on the username "foo". The module that implements this search may
or may not be case sensitive. In the case of Winbind and Windows, and
most LDAP set ups I'm aware of, the search mechanism is not case
sensitive. That is, searching for "foo" may result in a result for
"Foo". Note the capital F. What`adduser` does it search for "foo", and
if it exists, put "foo" into /etc/group. What it needs to do is use add
the username returned in the getent query to insert into /etc/group.
This way, if "foo" finds "Foo", "Foo" gets used.

-- 
does not canonicalize username before editing /etc/group
https://bugs.launchpad.net/bugs/120051
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to