From: Kurt Zeilenga Date: Mon, 15 May 2000 16:33:07 +0000 (+0000) Subject: cleanup old TOOLID macro X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2972 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dc68e41ee93beb82c0093deed5a349479c3eb469;p=openldap cleanup old TOOLID macro --- diff --git a/servers/slapd/init.c b/servers/slapd/init.c index a8125db10c..006167632a 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -89,8 +89,9 @@ slap_init( int mode, char *name ) case SLAP_SERVER_MODE: case SLAP_TOOL_MODE: Debug( LDAP_DEBUG_TRACE, - "%s init: initiated %s.\n", - name, ( mode & SLAP_TOOL_MODE ) ? "tool" : "server", 0 ); + "%s init: initiated %s.\n", name, + (mode & SLAP_MODE) == SLAPD_TOOL_MODE ? "tool" : "server", + 0 ); slap_name = name; diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index a9d860d883..962d7f4a09 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -99,6 +99,7 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly ) send_search_entry( &backends[0], conn, op, e, attrs, attrsonly, NULL ); + send_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, NULL, NULL, 1 ); diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 391c9e9745..76222e9233 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -689,7 +689,6 @@ LIBSLAPD_F (int) slapMode; #ifdef SLAPD_BDB2 #define SLAP_TIMED_MODE 0x1000 #endif -#define SLAP_TOOLID_MODE 4 /* temporary aliases */ typedef BackendDB Backend;