diff options
author | Günther Deschner <gd@samba.org> | 2008-11-24 18:49:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-28 13:55:38 +0100 |
commit | 4d7485df96b45054aa8f4fcac38b25847f34ca87 (patch) | |
tree | d52269c7e1d43ec379bef3ac3d4d025b00f3e449 /source3/utils/net_rpc_join.c | |
parent | 408cd5b09d5079d73f0ea8819a4505a04e40f8ea (diff) | |
download | samba-4d7485df96b45054aa8f4fcac38b25847f34ca87.tar.gz samba-4d7485df96b45054aa8f4fcac38b25847f34ca87.tar.xz samba-4d7485df96b45054aa8f4fcac38b25847f34ca87.zip |
s3-samr: fix init_samr_user_info{23,24} callers.
Guenther
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index 2fe464a000..8070a6282b 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -339,7 +339,8 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) &cli->user_session_key, &crypt_pwd); - init_samr_user_info24(&set_info.info24, crypt_pwd.data, 24); + init_samr_user_info24(&set_info.info24, &crypt_pwd, + PASS_DONT_CHANGE_AT_NEXT_LOGON); CHECK_RPC_ERR(rpccli_samr_SetUserInfo2(pipe_hnd, mem_ctx, &user_pol, |