From: Günther Deschner Date: Thu, 15 May 2008 14:38:32 +0000 (+0200) Subject: libads/cldap: store client sitename also keyed by dns domain name. X-Git-Tag: samba-4.0.0alpha6~801^2~1372 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eeb126a379d8d473e5e9a519b97bee543fb2b251;p=thirdparty%2Fsamba.git libads/cldap: store client sitename also keyed by dns domain name. Guenther (This used to be commit 0388b2f0cc4d14b005c5b42f2c17ddcbc8bef12a) --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 99fd645a3d0..063645febf7 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -249,6 +249,7 @@ bool ads_try_connect(ADS_STRUCT *ads, const char *server ) /* Store our site name. */ sitename_store( cldap_reply.domain, cldap_reply.client_site); + sitename_store( cldap_reply.dns_domain, cldap_reply.client_site); ret = true; out: