CVS update: samba/source/lib

Jeremy Allison jra at samba.org
Wed Aug 2 12:11:54 EST 2000


Date:	Wednesday August 2, 2000 @ 12:11
Author:	jra

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

Modified Files:
	util_seaccess.c 
Log Message:
Started to canonicalize our handling of uid -> sid code in order to 
get ready and fix se_access_check().
Added cannonical lookup_name(), lookup_sid(), uid_to_sid(), gid_to_sid()
functions that look via winbind first the fall back on local lookup.

All Samba should use these rather than trying to call winbindd code
directly.

Added NT_USER_TOKEN struct in user_struct, contains list of NT sids
associated with this user.

se_access_check() should use this (cached) value rather than attempting
to do the same thing itself when given a uid/gid pair.

More work needs to be done to preserve these things accross security
context changes (especially with the tricky pipe problem) but I'm
beginning to see how this will be done..... probably by registering
a new vuid for an authenticated RPC pipe and not treating the
pipe calls specially.

More thoughts needed - but we're almost there...

Jeremy.





More information about the samba-cvs mailing list