diff options
author | Günther Deschner <gd@samba.org> | 2008-01-11 14:42:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-11 15:09:01 +0100 |
commit | 2c591e05c983bc30ebfb729226454c4c380eaf70 (patch) | |
tree | f110e0eeafb22d3472f2dae5af279f8aa4cd3898 /source3/libnet/libnet_join.c | |
parent | 136b02de5e7ed05d144083ac1f0b9f7cbeee488c (diff) | |
download | samba-2c591e05c983bc30ebfb729226454c4c380eaf70.tar.gz samba-2c591e05c983bc30ebfb729226454c4c380eaf70.tar.bz2 samba-2c591e05c983bc30ebfb729226454c4c380eaf70.zip |
Remove some more references to global_myname() in libnet_join.
Guenther
(This used to be commit ed4960baccf687b77c2b0f4ee64cbce2005f3abb)
Diffstat (limited to 'source3/libnet/libnet_join.c')
-rw-r--r-- | source3/libnet/libnet_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 3bc1464f18..4fec5ac294 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -611,7 +611,7 @@ static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx, goto done; } - acct_name = talloc_asprintf(mem_ctx, "%s$", global_myname()); + acct_name = talloc_asprintf(mem_ctx, "%s$", r->in.machine_name); strlower_m(acct_name); const_acct_name = acct_name; @@ -773,7 +773,7 @@ static NTSTATUS libnet_join_unjoindomain_rpc(TALLOC_CTX *mem_ctx, goto done; } - acct_name = talloc_asprintf(mem_ctx, "%s$", global_myname()); + acct_name = talloc_asprintf(mem_ctx, "%s$", r->in.machine_name); strlower_m(acct_name); const_acct_name = acct_name; |