summaryrefslogtreecommitdiffstats
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-04 11:26:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:59 -0500
commitaa95279b81f5d3f687d6ce84ea3882294553d1f5 (patch)
treedb41be8dbfd9c8f993cd03e913e9ee129e0c2f48 /source4/libnet
parent9fc5647043d6ac0b60dfc89f44c9ff9eeda64b49 (diff)
downloadsamba-aa95279b81f5d3f687d6ce84ea3882294553d1f5.tar.gz
samba-aa95279b81f5d3f687d6ce84ea3882294553d1f5.tar.xz
samba-aa95279b81f5d3f687d6ce84ea3882294553d1f5.zip
r22669: fix uninitialized element which was causing a crash with 'net password set'
metze (This used to be commit 9bbe4733562a8fc6fe49377a47e482a14a6efc61)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_passwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index 483be7502da..4089d8933b3 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -644,6 +644,7 @@ static NTSTATUS libnet_SetPassword_samr(struct libnet_context *ctx, TALLOC_CTX *
r2.samr_handle.in.newpassword = r->samr.in.newpassword;
r2.samr_handle.in.user_handle = &u_handle;
r2.samr_handle.in.dcerpc_pipe = c.out.dcerpc_pipe;
+ r2.samr_handle.in.info21 = NULL;
status = libnet_SetPassword(ctx, mem_ctx, &r2);