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)
commitf9ab15a986626581000d4b93961184c501f36b93
tree68939ce754a08b3d6418f46abbbd058cc3b7260f
parent1168395e6a543c51f684280b00fb8c9b8bbc6ec0
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
source/include/rpc_samr.h
source/nsswitch/winbindd_rpc.c
source/rpc_parse/parse_samr.c
source/rpc_server/srv_samr_nt.c
source/rpcclient/cmd_samr.c