libads/cldap: store client sitename also keyed by dns domain name.
authorGünther Deschner <gd@samba.org>
Thu, 15 May 2008 14:38:32 +0000 (16:38 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 15 May 2008 14:38:32 +0000 (16:38 +0200)
Guenther
(This used to be commit 0388b2f0cc4d14b005c5b42f2c17ddcbc8bef12a)

source3/libads/ldap.c

index 99fd645a3d03764dcfa5e439a7d399764e4f1adf..063645febf75cc13cecf0c0a6b5ed764c41f8118 100644 (file)
@@ -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: