1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3-winbindd: Fix Bug #6700: Use dns domain name when needing to guess server principal.

Patch from Robert LeBlanc <robert@leblancnet.us>.

Thanks!

Guenther
This commit is contained in:
Günther Deschner 2009-09-09 02:29:58 +02:00
parent f745d076d3
commit 32c28e4f64

View File

@ -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",