svn commit: samba r4331 - branches/SAMBA_3_0/source/include
branches/SAMBA_3_0/source/nsswitch
branches/SAMBA_3_0/source/rpc_parse
branches/SAMBA_3_0/source/rpc_server
branches/SAMBA_3_0/source/rpcclient trunk/source/include
trunk/source/nsswitch trunk/source/rpc_parse
trunk/source/rpc_server trunk/source/rpcclient
gd at samba.org
gd at samba.org
Wed Dec 22 16:58:44 GMT 2004
Author: gd
Date: 2004-12-22 16:58:43 +0000 (Wed, 22 Dec 2004)
New Revision: 4331
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4331
Log:
Implement SAMR query_dom_info-call info-level 8 server- and client-side,
based on samba4-idl.
This saves us an enormous amount of totally unnecessary ldap-traffic
when several hundreds of winbind-daemons query a Samba3 DC just to get
the fake SAM-sequence-number (time(NULL)) by enumerating all users, all
groups and all aliases when query-dom-info level 2 is used.
Note that we apparently never get the sequence number right (we parse a
uint32, although it's a uint64, at least in samba4 idl). For the time
being, I would propose to stay with that behaviour.
Guenther
Modified:
branches/SAMBA_3_0/source/include/rpc_samr.h
branches/SAMBA_3_0/source/nsswitch/winbindd_rpc.c
branches/SAMBA_3_0/source/rpc_parse/parse_samr.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
branches/SAMBA_3_0/source/rpcclient/cmd_samr.c
trunk/source/include/rpc_samr.h
trunk/source/nsswitch/winbindd_rpc.c
trunk/source/rpc_parse/parse_samr.c
trunk/source/rpc_server/srv_samr_nt.c
trunk/source/rpcclient/cmd_samr.c
Changeset:
Sorry, the patch is too large (443 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4331
More information about the samba-cvs
mailing list