CVS update: samba/source/lib

jfm at samba.org jfm at samba.org
Wed Dec 5 08:53:47 EST 2001


Date:	Tue Dec  4 13:53:46 2001
Author:	jfm

Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv3498/lib

Modified Files:
	util_sid.c 
Log Message:
added a boolean to the group mapping functions to specify if we need or   
not the privileges. Usually we don't need them, so the memory is free
early.

lib/util_sid.c: added some helper functions to check an SID.

passdb/passdb.c: renamed local_lookup_rid() to local_lookup_sid() and pass
an RID all the way. If the group doesn't exist on the domain SID,
don't return a faked one as it can collide with a builtin one. Some rpc   
structures have been badly designed, they return only rids and force the  
client to do subsequent lsa_lookup_sid() on the domain sid and the builtin
sid !

rpc_server/srv_util.c: wrote a new version of get_domain_user_groups().   
Only the samr code uses it atm. It uses the group mapping code instead of
a bloody hard coded crap. The netlogon code will use it too, but I have to
do some test first.

	J.F.



Revisions:
util_sid.c		1.37 => 1.38
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_sid.c?r1=1.37&r2=1.38




More information about the samba-cvs mailing list