Rework our SAMR test and SAMR server.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 14 Mar 2008 01:26:03 +0000 (12:26 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 14 Mar 2008 01:26:03 +0000 (12:26 +1100)
commit9a6422b6954242e5298653eef0d12a584f0d2811
tree3da9e88d26aa760922f9ebb5c60ace1510fa9ea8
parent39f03829a626388e8396a14c265d2f95520b0e98
Rework our SAMR test and SAMR server.

Now that we don't create users/domain groups/aliases in the builtin
domain, we hit some bugs in the server-side implementation of the
enumeration functions.

In essence, it turns out to be: don't treat 0 as a special case.

Also, fix up the PDC name to always be returned.  I'm sure nothing
actually uses it, particularly for BUILTIN...

Andrew Bartlett
(This used to be commit 353bb79f568f20c8469cb9458f7b14c24612ad23)
source4/rpc_server/samr/dcesrv_samr.c
source4/rpc_server/samr/dcesrv_samr.h
source4/torture/rpc/samr.c