diff options
author | Günther Deschner <gd@samba.org> | 2009-09-09 02:29:58 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-09 02:29:58 +0200 |
commit | 32c28e4f64815b8c3322a6d52135b248c8b81efa (patch) | |
tree | 42fc093724641f24b99b19bae8b437c0360ee2a2 /source3/winbindd | |
parent | f745d076d38487dcc1041a4031c8c05c1e4fb5b5 (diff) | |
download | samba-32c28e4f64815b8c3322a6d52135b248c8b81efa.tar.gz samba-32c28e4f64815b8c3322a6d52135b248c8b81efa.tar.bz2 samba-32c28e4f64815b8c3322a6d52135b248c8b81efa.zip |
s3-winbindd: Fix Bug #6700: Use dns domain name when needing to guess server principal.
Patch from Robert LeBlanc <robert@leblancnet.us>.
Thanks!
Guenther
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 44924a6303..50742c1715 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -864,7 +864,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, machine_krb5_principal, machine_password, lp_workgroup(), - domain->name); + domain->alt_name); if (!ADS_ERR_OK(ads_status)) { DEBUG(4,("failed kerberos session setup with %s\n", |