summaryrefslogtreecommitdiff
path: root/source3/libads/ldap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-04 22:06:15 +0100
committerMichael Adam <obnox@samba.org>2008-01-04 22:09:36 +0100
commitb54310cbaa9584a46decfa2a5bc4bb2a72381a98 (patch)
tree8528b6b9de4892e99cf6eccb0319653541cab23f /source3/libads/ldap.c
parent2cb68e3898046ea0dd2ddcf1e32dc7dffca79be8 (diff)
downloadsamba-b54310cbaa9584a46decfa2a5bc4bb2a72381a98.tar.gz
samba-b54310cbaa9584a46decfa2a5bc4bb2a72381a98.tar.bz2
samba-b54310cbaa9584a46decfa2a5bc4bb2a72381a98.zip
Add a debug message (when the LDAP server has really been connected).
Michael (This used to be commit 7d9d2de39072b3291b95ac3965df0d19f83792b9)
Diffstat (limited to 'source3/libads/ldap.c')
-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 ae8e1e4d4d..44560c852d 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -453,6 +453,7 @@ got_connection:
if (ads->ldap.ld == NULL) {
return ADS_ERROR(LDAP_OPERATIONS_ERROR);
}
+ DEBUG(3,("Connected to LDAP server %s\n", ads->config.ldap_server_name));
/* cache the successful connection for workgroup and realm */
if (ads_closest_dc(ads)) {