summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-15 16:38:32 +0200
committerGünther Deschner <gd@samba.org>2008-05-15 16:38:32 +0200
commiteeb126a379d8d473e5e9a519b97bee543fb2b251 (patch)
treea4c510d4f51f50298ba55f808e54ff81054c5983 /source3/libads
parentf9c46dbcee895a243175468a7dbe1a0beec36fad (diff)
downloadsamba-eeb126a379d8d473e5e9a519b97bee543fb2b251.tar.gz
samba-eeb126a379d8d473e5e9a519b97bee543fb2b251.tar.bz2
samba-eeb126a379d8d473e5e9a519b97bee543fb2b251.zip
libads/cldap: store client sitename also keyed by dns domain name.
Guenther (This used to be commit 0388b2f0cc4d14b005c5b42f2c17ddcbc8bef12a)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 99fd645a3d..063645febf 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: