summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-04 12:26:03 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-04 12:27:57 +0100
commit2b8f3e253d3a56aac996287f5ce265d0c915b3c8 (patch)
tree4e9db2559091d1c9fff3bf2a94a35ccf4ab1bb16 /source3/utils
parentdbfcd3f97c02a19c48360b4f477570997f8aa870 (diff)
downloadsamba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.tar.gz
samba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.tar.xz
samba-2b8f3e253d3a56aac996287f5ce265d0c915b3c8.zip
s3:net: fix password set of 'net rpc trustdom add'
metze
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 3c8ce0326e6..0c34972a29c 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, &parameters,
- 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);