summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-24 18:49:37 +0100
committerGünther Deschner <gd@samba.org>2008-11-28 13:55:38 +0100
commit4d7485df96b45054aa8f4fcac38b25847f34ca87 (patch)
treed52269c7e1d43ec379bef3ac3d4d025b00f3e449 /source3/libnet
parent408cd5b09d5079d73f0ea8819a4505a04e40f8ea (diff)
downloadsamba-4d7485df96b45054aa8f4fcac38b25847f34ca87.tar.gz
samba-4d7485df96b45054aa8f4fcac38b25847f34ca87.tar.bz2
samba-4d7485df96b45054aa8f4fcac38b25847f34ca87.zip
s3-samr: fix init_samr_user_info{23,24} callers.
Guenther
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index bd127f8607..498c7af3f0 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -941,7 +941,8 @@ static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx,
&cli->user_session_key,
&crypt_pwd);
- init_samr_user_info24(&user_info.info24, crypt_pwd.data, 24);
+ init_samr_user_info24(&user_info.info24, &crypt_pwd,
+ PASS_DONT_CHANGE_AT_NEXT_LOGON);
status = rpccli_samr_SetUserInfo2(pipe_hnd, mem_ctx,
&user_pol,