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;
send_search_entry( &backends[0], conn, op,
e, attrs, attrsonly, NULL );
+
send_search_result( conn, op, LDAP_SUCCESS,
NULL, NULL, NULL, NULL, 1 );
#ifdef SLAPD_BDB2
#define SLAP_TIMED_MODE 0x1000
#endif
-#define SLAP_TOOLID_MODE 4
/* temporary aliases */
typedef BackendDB Backend;