CVS update: samba/source/param
abartlet at samba.org
abartlet at samba.org
Sat Feb 22 23:01:04 EST 2003
Date: Sat Feb 22 12:01:04 2003
Author: abartlet
Update of /data/cvs/samba/source/param
In directory dp.samba.org:/tmp/cvs-serv23057/param
Modified Files:
loadparm.c
Log Message:
Remove 'unixsam' from the default passdb backends.
The intention is to remove the muliple passdb backends, but we need the
'guest' account to always be there. If the admin adds the guest account to
(say) LDAP, there will only be one backend required for operation.
This helps remove some nasty behaviours with adding accounts to the system
for both the RPC 'create user' and the SAMSYNC code. Users 'added' with
an 'add user/machine' script won't magicly appear, and machine accounts
'pre-added' to unix, but not the smbpasswd file will not cause mayhem.
This commit also implements somthing tridge discussed with me, the concept
of 'default' passdb operation pointers - so that each backend does not
need it's own stub funcitons wrapping the default tdb privilages/group
mapping code.
This also removes an implicit 'sid->name' and 'name->sid' mapping from our
own local SID space, to winbind usernames. When adding mapping for NIS/LDAP
non-sam users in future, we need to be careful.
Andrew Bartlett
Revisions:
loadparm.c 1.479 => 1.480
http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.479&r2=1.480
More information about the samba-cvs
mailing list