On Thu, 2004-03-25 at 16:34, Ed Ravin wrote: > We just migrated a small network from a Win2K PDC to Samba, using > "net rpc vampire" into a tdbsam backend on a Samba 3.0.2a Linux box. > > One of the users, let's call him Jon Harker, had the NT username "JHarker". > When we ran "pdbedit -v jharker", we saw this: > > Unix username: JHarker > NT username: JHarker > > Well, that looks wrong - the NT username can be mixed case for all I care, > but shouldn't the Unix name be all lower case?
The rule I've been working with is that they must be in the same case. The reason is simple - it is a matter of performance. There were times that we allowed usernames to differ in case, but we make the lookup from passdb -> getpwnam() quite often, so I decided that as we always add the username in the 'right' case, and that we should trust that case when looking up users. (Looking up users in mixed case can cause 2+2^N getpwnam() lookups, where N is the value of 'username level'). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
