Fix bug #5568 net rpc trustdom add broken !
authorJeremy Allison <jra@samba.org>
Sat, 28 Jun 2008 00:27:40 +0000 (17:27 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 28 Jun 2008 00:27:40 +0000 (17:27 -0700)
commit52552623277726c2f28a992f68d8bc22982bab28
treebbb452458ebb2a98cc82ca74c9d79853ba5a9a2d
parent55a6664cfdab9c0230836aff57ec8d2cc5bfca14
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