diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-04 12:26:03 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-04 12:27:57 +0100 |
commit | 2b8f3e253d3a56aac996287f5ce265d0c915b3c8 (patch) | |
tree | 4e9db2559091d1c9fff3bf2a94a35ccf4ab1bb16 | |
parent | dbfcd3f97c02a19c48360b4f477570997f8aa870 (diff) | |
download | samba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.tar.gz samba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.tar.bz2 samba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.zip |
s3:net: fix password set of 'net rpc trustdom add'
metze
-rw-r--r-- | source3/utils/net_rpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 3c8ce0326e..0c34972a29 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5250,7 +5250,8 @@ static NTSTATUS rpc_trustdom_add_internals(struct net_context *c, notime, notime, notime, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ¶meters, - 0, 0, ACB_DOMTRUST, SAMR_FIELD_ACCT_FLAGS, + 0, 0, ACB_DOMTRUST, + SAMR_FIELD_ACCT_FLAGS | SAMR_FIELD_PASSWORD, hours, 0, 0, 0, 0, 0, 0, 0, &crypt_pwd); |