r17516: Change helper function names to make more clear what they are meant to do
[jelmer/samba4-debian.git] / source / ldap_server / ldap_server.c
index 8aacbb63693927da23e3da98faee63fbead9e823..718e3e07739fc2ff1b77c2e7692e2b347c43eba1 100644 (file)
@@ -248,7 +248,7 @@ static int ldapsrv_load_limits(struct ldapsrv_connection *conn)
                goto failed;
        }
 
-       conf_dn_s = ldb_msg_find_string(res->msgs[0], "configurationNamingContext", NULL);
+       conf_dn_s = ldb_msg_find_attr_as_string(res->msgs[0], "configurationNamingContext", NULL);
        if (conf_dn_s == NULL) {
                goto failed;
        }