diff options
author | Jeremy Allison <jra@samba.org> | 2005-11-04 00:03:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:18 -0500 |
commit | 37e6ef9389041f58eada167239fd022f01c5fecb (patch) | |
tree | 8428b82718ad688be473b59aa690b3dd275fd532 /source/nsswitch | |
parent | 3ba5d02cff61d64dbab1fef28f74ea6509f4f8e9 (diff) | |
download | samba-37e6ef9389041f58eada167239fd022f01c5fecb.tar.gz samba-37e6ef9389041f58eada167239fd022f01c5fecb.tar.xz samba-37e6ef9389041f58eada167239fd022f01c5fecb.zip |
r11492: Fix bug #3224 (I hope). Correctly use machine_account_name
and client_name when doing netlogon credential setup.
Jeremy.
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_cm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_cm.c b/source/nsswitch/winbindd_cm.c index baef9c71ab7..77278e8c34d 100644 --- a/source/nsswitch/winbindd_cm.c +++ b/source/nsswitch/winbindd_cm.c @@ -1352,10 +1352,11 @@ NTSTATUS cm_connect_netlogon(struct winbindd_domain *domain, return NT_STATUS_NO_MEMORY; } - result = rpccli_netlogon_setup_creds - (netlogon_pipe, + result = rpccli_netlogon_setup_creds( + netlogon_pipe, domain->dcname, /* server name. */ domain->name, /* domain name */ + global_myname(), /* client name */ account_name, /* machine account */ mach_pwd, /* machine password */ sec_chan_type, /* from get_trust_pw */ |