diff options
author | Günther Deschner <gd@samba.org> | 2008-12-06 00:28:34 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-06 16:02:10 +0100 |
commit | 46f55ef5bc73f9a9d563913433d7d71655123aaa (patch) | |
tree | 7de7d92ea70ef2c50b0f0d4f9e6cd534a7ea2f0a /source3/utils/net_rpc_join.c | |
parent | a97c9bab4423d73c8b97bd6589bd1a7ff226cfc7 (diff) | |
download | samba-46f55ef5bc73f9a9d563913433d7d71655123aaa.tar.gz samba-46f55ef5bc73f9a9d563913433d7d71655123aaa.tar.bz2 samba-46f55ef5bc73f9a9d563913433d7d71655123aaa.zip |
s3-samr: avoid all init_samr_user* functions.
Guenther
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index 8070a6282b..5651676693 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -339,8 +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, - PASS_DONT_CHANGE_AT_NEXT_LOGON); + set_info.info24.password = crypt_pwd; + set_info.info24.password_expired = PASS_DONT_CHANGE_AT_NEXT_LOGON; CHECK_RPC_ERR(rpccli_samr_SetUserInfo2(pipe_hnd, mem_ctx, &user_pol, |