CVS update: samba/source/passdb

abartlet at samba.org abartlet at samba.org
Mon Apr 28 20:20:54 EST 2003


Date:	Mon Apr 28 10:20:54 2003
Author:	abartlet

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv2415/source/passdb

Modified Files:
      Tag: SAMBA_3_0
	pdb_ldap.c pdb_smbpasswd.c pdb_tdb.c 
Log Message:
A new pdb_ldap!

This patch removes 'non unix account range' (same as idra's change in HEAD),
and uses the winbind uid range instead.

More importanly, this patch changes the LDAP schema to use 'ntSid' instead 
of 'rid' as the primary attribute.  This makes it in common with the group
mapping code, and should allow it to be used closely with a future idmap_ldap.

Existing installations can use the existing functionality by using the 
ldapsam_compat backend, and users who compile with --with-ldapsam will get 
this by default.

More importantly, this patch adds a 'sambaDomain' object to our schema - 
which contains 2 'next rid' attributes, the domain name and the domain sid.
Yes, there are *2* next rid attributes.  The problem is that we don't 'own'
the entire RID space - we can only allocate RIDs that could be 'algorithmic'
RIDs.  Therefore, we use the fact that UIDs in 'winbind uid' range will be
mapped by IDMAP, not the algorithm.

Andrew Bartlett



Revisions:
pdb_ldap.c		1.28.2.42 => 1.28.2.43
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c?r1=1.28.2.42&r2=1.28.2.43
pdb_smbpasswd.c		1.40.2.9 => 1.40.2.10
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_smbpasswd.c?r1=1.40.2.9&r2=1.40.2.10
pdb_tdb.c		1.58.2.8 => 1.58.2.9
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c?r1=1.58.2.8&r2=1.58.2.9


More information about the samba-cvs mailing list