From: Pierangelo Masarati Date: Mon, 26 Jul 2004 08:31:01 +0000 (+0000) Subject: cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt... X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc60b5ce76a6c124fd2c8ba20ed439d5fceb075d;p=openldap cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header? --- diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index 98bdf246c7..7edbd19915 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -31,6 +31,9 @@ #include "slap.h" #include "back-ldap.h" #include "lutil.h" +#undef ldap_debug +/* for advanced URL parsing */ +#include "../../../libraries/libldap/ldap-int.h" static SLAP_EXTOP_MAIN_FN ldap_back_exop_whoami; @@ -101,7 +104,7 @@ ldap_back_db_config( #else urlrc = ldap_url_parselist( &li->lud, argv[ 1 ] ); #endif - if ( urlrc != LDAP_SUCCESS ) { + if ( urlrc != LDAP_URL_SUCCESS ) { char *why; switch ( urlrc ) {