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)
commit5275c94cdf0c64f347d4282f47088d084b1a7ea5
treefce137824fc7a229e6a6d169e54041338744baa4
parentc10def37f506d3f2bab442418ac08fdb62659b02
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
docs/docbook/manpages/smb.conf.5.sgml
source/lib/util_sid.c
source/param/loadparm.c
source/passdb/passdb.c
source/passdb/pdb_interface.c
source/passdb/pdb_ldap.c
source/passdb/pdb_smbpasswd.c
source/passdb/pdb_tdb.c
source/smbd/uid.c