More proposed passdb changes: users without local unix uids.

Gerald (Jerry) Carter jerry at samba.org
Wed Jan 9 05:55:02 GMT 2002


On Tue, 8 Jan 2002, Jeremy Allison wrote:

> > Of course the uid field never makes it to the SAM_ACCOUNT struct, but
> > this method is backward-compatible (as far as I can tell) because the
> > smbpasswd format is unchanged (unless you are a site with over 6000
> > users in smbpasswd, and I highly doubt there are any, given the
> > performance problems).
>
> I'm concerned about this. The reason is that on many
> sites the users are not allocated in a linear fashion.
>
> You can't just assume that users over 6000 are "safe".
>
> I'd resist creating users in smbpasswd that don't exist
> in /etc/passwd. Please don't check this code in yet.

Andrew,

Can I suggest that you implement this as an alternative
samdb backend?  It if works out ok, we can look at swapping
it over.

Just for the record, i agree with Jeremy.







chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list