r22669: fix uninitialized element which was causing a crash with 'net password set'
authorStefan Metzmacher <metze@samba.org>
Fri, 4 May 2007 11:26:25 +0000 (11:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:59 +0000 (14:51 -0500)
metze
(This used to be commit 9bbe4733562a8fc6fe49377a47e482a14a6efc61)

source4/libnet/libnet_passwd.c

index 483be7502da066591824c171b8a874c3fd59feba..4089d8933b3ff3d1abcf6d63d1c81aa3dbe18859 100644 (file)
@@ -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);