Fix bug #5568 net rpc trustdom add broken !
authorJeremy Allison <jra@samba.org>
Sat, 28 Jun 2008 00:27:40 +0000 (17:27 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 29 Jun 2008 14:35:03 +0000 (16:35 +0200)
commitdf391d46f55a4c2b55a4ac6e5d0284ef29ca6134
treea965fb1843d50219d9c0854ca97a5e45318f2825
parent50c6a4c88bf20f711ea1ddff00ff5f6f80d0dd15
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.
(cherry picked from commit 52552623277726c2f28a992f68d8bc22982bab28)
source/rpc_client/init_samr.c
source/utils/net_rpc.c