r4331: Implement SAMR query_dom_info-call info-level 8 server- and client-side,
authorGünther Deschner <gd@samba.org>
Wed, 22 Dec 2004 16:58:43 +0000 (16:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:44 +0000 (10:53 -0500)
commit9aba116607c0b85a371c3556a6483bc662c769a3
tree1226aeb6a22916e841504272e172d7c410369301
parent3312191867e97a7cf3d485c050c1e689ea574f6d
r4331: 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
(This used to be commit f9ab15a986626581000d4b93961184c501f36b93)
source3/include/rpc_samr.h
source3/nsswitch/winbindd_rpc.c
source3/rpc_parse/parse_samr.c
source3/rpc_server/srv_samr_nt.c
source3/rpcclient/cmd_samr.c