CVS update: samba/source/passdb

abartlet at samba.org abartlet at samba.org
Sat Feb 22 23:01:05 EST 2003


Date:	Sat Feb 22 12:01:05 2003
Author:	abartlet

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv23057/passdb

Modified Files:
	passdb.c pdb_interface.c pdb_ldap.c pdb_smbpasswd.c pdb_tdb.c 
	pdb_unix.c 
Added Files:
	pdb_guest.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:
pdb_guest.c		NONE => 1.1
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_guest.c?rev=1.1
passdb.c		1.185 => 1.186
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c?r1=1.185&r2=1.186
pdb_interface.c		1.33 => 1.34
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_interface.c?r1=1.33&r2=1.34
pdb_ldap.c		1.79 => 1.80
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c?r1=1.79&r2=1.80
pdb_smbpasswd.c		1.61 => 1.62
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_smbpasswd.c?r1=1.61&r2=1.62
pdb_tdb.c		1.73 => 1.74
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c?r1=1.73&r2=1.74
pdb_unix.c		1.10 => 1.11
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_unix.c?r1=1.10&r2=1.11


More information about the samba-cvs mailing list