Oops, my bad. I forgot to assign this, so lookupnames wasn't doing much :-)
authorAndrew Bartlett <abartlet@samba.org>
Sat, 20 Jul 2002 14:01:40 +0000 (14:01 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 20 Jul 2002 14:01:40 +0000 (14:01 +0000)
(This used to be commit 508106285380b772850238a8ed6b78a2c3334887)

source3/utils/net_rpc_join.c

index 61adb2a8ff72ee2d153cdc060568028e72378bc2..3106c994f5d70a53f649c758f66dbb5d2fca6fa1 100644 (file)
@@ -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;