summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-09 02:29:58 +0200
committerGünther Deschner <gd@samba.org>2009-09-09 02:29:58 +0200
commit32c28e4f64815b8c3322a6d52135b248c8b81efa (patch)
tree42fc093724641f24b99b19bae8b437c0360ee2a2 /source3
parentf745d076d38487dcc1041a4031c8c05c1e4fb5b5 (diff)
downloadsamba-32c28e4f64815b8c3322a6d52135b248c8b81efa.tar.gz
samba-32c28e4f64815b8c3322a6d52135b248c8b81efa.tar.xz
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')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 44924a63035..50742c17153 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",