summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_join.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-20 14:01:40 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-20 14:01:40 +0000
commit9d983e3f3a48df33b05cd1aa163a5911b6e2d90c (patch)
treec8accf8a5b7ab85ea3d8153373d7434db3efadac /source3/utils/net_rpc_join.c
parent6dd9f24d05e5db92e15dc53399a0f78ccb69f718 (diff)
downloadsamba-9d983e3f3a48df33b05cd1aa163a5911b6e2d90c.tar.gz
samba-9d983e3f3a48df33b05cd1aa163a5911b6e2d90c.tar.bz2
samba-9d983e3f3a48df33b05cd1aa163a5911b6e2d90c.zip
Oops, my bad. I forgot to assign this, so lookupnames wasn't doing much :-)
(This used to be commit 508106285380b772850238a8ed6b78a2c3334887)
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r--source3/utils/net_rpc_join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index 61adb2a8ff..3106c994f5 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -134,6 +134,7 @@ int net_rpc_join_newstyle(int argc, const char **argv)
/* Create domain user */
acct_name = talloc_asprintf(mem_ctx, "%s$", global_myname);
strlower(acct_name);
+ const_acct_name = acct_name;
acb_info = ((lp_server_role() == ROLE_DOMAIN_BDC) || lp_server_role() == ROLE_DOMAIN_PDC) ? ACB_SVRTRUST : ACB_WSTRUST;