Fix bug #5568 net rpc trustdom add broken !
commite072b3667e590ba6dd1d9a47fb616a53753fa83e
authorJeremy Allison <jra@samba.org>
Sat, 28 Jun 2008 00:26:41 +0000 (27 17:26 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 28 Jun 2008 00:26:41 +0000 (27 17:26 -0700)
tree111345317c26fc6502ba17f045d825f29493ef5c
parent20e59faf6efce01887cd01f0cafb197cc2f4742e
Fix bug #5568 net rpc trustdom add broken !
net rpc trustdom add was broken. The default 10second timeout can be too short
to create an account on a Samba DC (calling out to a script), error message
reporting was poor, and more importantly the new marshalling code for
user_info23 was broken (maps onto a user_info21 but doesn't clear the
user_info23 struct before marshalling, leaving an uninitialized size field -
give "alloc failure").
Jeremy.
source/rpc_client/init_samr.c
source/utils/net_rpc.c