Better handling of uid/gid -> RID and RID -> uid/gid code.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 13 Apr 2002 09:35:52 +0000 (09:35 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 13 Apr 2002 09:35:52 +0000 (09:35 +0000)
commit163a855d26106ac9c6eaf945a31a6495204de990
tree508aa6282dac19468cd16635758e82ee98b32810
parentcc60b069836cbc355e828675e6f089b6ef22b32e
Better handling of uid/gid -> RID and RID -> uid/gid code.

All uids and gids must create valid RIDs, becouse other code expects this, and
can't handle the failure case. (ACL code in particular)

Allow admins to adjust the base of the RID algorithm, so avoid clashes with
users brought in from NT (for example).

Put all the algorithm code back in one place, so that this change is global.

Better coping with NULL sid pointers - but it still breaks a lot of stuff.

BONUS: manpage entry for new paramater :-)

counter based rids for normal users in tdbsam is disabled for the timebeing,
idra and I will work out some things here soon I hope.

Andrew Bartlett
(This used to be commit 5275c94cdf0c64f347d4282f47088d084b1a7ea5)
docs/docbook/manpages/smb.conf.5.sgml
source3/lib/util_sid.c
source3/param/loadparm.c
source3/passdb/passdb.c
source3/passdb/pdb_interface.c
source3/passdb/pdb_ldap.c
source3/passdb/pdb_smbpasswd.c
source3/passdb/pdb_tdb.c
source3/smbd/uid.c