svn commit: samba r3706 - in trunk/source: . auth include lib
passdb rpc_server smbd
vlendec at samba.org
vlendec at samba.org
Fri Nov 12 15:50:20 GMT 2004
Author: vlendec
Date: 2004-11-12 15:50:18 +0000 (Fri, 12 Nov 2004)
New Revision: 3706
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3706
Log:
Nobody has commented, so I'll take this as an ack...
abartlet, I'd like to ask you to take a severe look at this!
We have solved the problem to find the global groups a user is in twice: Once
in auth_util.c and another time for the corresponding samr call. The attached
patch unifies these and sends them through the passdb backend (new function
pdb_enum_group_memberships). Thus it gives pdb_ldap.c the chance to further
optimize the corresponding call if the samba and posix accounts are unified by
issuing a specialized ldap query.
The parameter to activate this ldapsam behaviour is
ldapsam:trusted = yes
Volker
Modified:
trunk/source/Makefile.in
trunk/source/auth/auth_util.c
trunk/source/include/passdb.h
trunk/source/lib/system_smbd.c
trunk/source/lib/util_smbd.c
trunk/source/passdb/pdb_interface.c
trunk/source/passdb/pdb_ldap.c
trunk/source/rpc_server/srv_samr_nt.c
trunk/source/rpc_server/srv_util.c
trunk/source/smbd/lanman.c
Changeset:
Sorry, the patch is too large (742 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3706
More information about the samba-cvs
mailing list