Add a debug message (when the LDAP server has really been connected).
authorMichael Adam <obnox@samba.org>
Fri, 4 Jan 2008 21:06:15 +0000 (22:06 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 4 Jan 2008 21:09:36 +0000 (22:09 +0100)
Michael

source/libads/ldap.c

index ae8e1e4d4d01703b9c64d50964e85cfaadc7f4f2..44560c852db45f9a58acc8f6be758c51e78b59fc 100644 (file)
@@ -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)) {