diff options
author | Gerald Carter <jerry@samba.org> | 2004-01-15 06:56:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-01-15 06:56:00 +0000 |
commit | 353aab1ea1471768db7eb8b9799086176d7f83b5 (patch) | |
tree | 560f4a83dfc6c641646b1112dd409a404da2f303 /source3/nsswitch/winbindd_cm.c | |
parent | 50854a1603d0921a0884e817c44b48309f2812f5 (diff) | |
download | samba-353aab1ea1471768db7eb8b9799086176d7f83b5.tar.gz samba-353aab1ea1471768db7eb8b9799086176d7f83b5.tar.bz2 samba-353aab1ea1471768db7eb8b9799086176d7f83b5.zip |
BUG 936: fix bind credentials for schannel binds in smbd (and add a comment to winbindd_cm about this
(This used to be commit c1174cf57b1b6fad03de23f6a4ff952671dc87d7)
Diffstat (limited to 'source3/nsswitch/winbindd_cm.c')
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 44fc06fe54..29b856ec45 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -509,7 +509,7 @@ void set_dc_type_and_flags( struct winbindd_domain *domain ) done: - /* close the connection; no other cals use this pipe and it is called only + /* close the connection; no other calls use this pipe and it is called only on reestablishing the domain list --jerry */ if ( conn.cli ) @@ -686,9 +686,9 @@ NTSTATUS cm_get_netlogon_cli(struct winbindd_domain *domain, if ( sec_channel_type == SEC_CHAN_DOMAIN ) fstr_sprintf(conn->cli->mach_acct, "%s$", lp_workgroup()); - + /* This must be the remote domain (not ours) for schannel */ + fstrcpy( conn->cli->domain, domain->name); - result = cli_nt_establish_netlogon(conn->cli, sec_channel_type, trust_passwd); |