and cn=monitor.
*/
void
-config_info( Connection *conn, Operation *op )
+config_info(
+ Connection *conn, Operation *op,
+ char **attrs, int attrsonly
+ )
{
Entry *e;
char buf[BUFSIZ];
attr_merge( e, "database", vals );
}
- send_search_entry( &backends[0], conn, op, e, NULL, 0 );
+ send_search_entry( &backends[0], conn, op, e, attrs, attrsonly );
send_ldap_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, 1 );
entry_free( e );
#if defined( SLAPD_MONITOR_DN )
void
-monitor_info( Connection *conn, Operation *op )
+monitor_info( Connection *conn, Operation *op,
+ char **attrs, int attrsonly )
{
Entry *e;
char buf[BUFSIZ], buf2[22];
attr_merge( e, "concurrency", vals );
#endif
- send_search_entry( &backends[0], conn, op, e, NULL, 0 );
+ send_search_entry( &backends[0], conn, op, e, attrs, attrsonly );
send_ldap_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, 1 );
entry_free( e );
* monitor.c
*/
-void monitor_info LDAP_P(( Connection *conn, Operation *op ));
+void monitor_info LDAP_P((
+ Connection *conn, Operation *op,
+ char ** attrs, int attrsonly ));
/*
* operation.c
extern void slap_set_shutdown LDAP_P((int sig));
extern void slap_do_nothing LDAP_P((int sig));
-extern void config_info LDAP_P((Connection *conn, Operation *op));
+extern void config_info LDAP_P((
+ Connection *conn, Operation *op,
+ char ** attrs, int attrsonly ));
+
extern void do_abandon LDAP_P((Connection *conn, Operation *op));
extern void do_add LDAP_P((Connection *conn, Operation *op));
extern void do_bind LDAP_P((Connection *conn, Operation *op));
if ( scope == LDAP_SCOPE_BASE ) {
#if defined( SLAPD_MONITOR_DN )
if ( strcmp( base, SLAPD_MONITOR_DN ) == 0 ) {
- monitor_info( conn, op );
+ monitor_info( conn, op, attrs, attrsonly );
goto return_results;
}
#endif
#if defined( SLAPD_CONFIG_DN )
if ( strcmp( base, SLAPD_CONFIG_DN ) == 0 ) {
- config_info( conn, op );
+ config_info( conn, op, attrs, attrsonly );
goto return_results;
}
#endif
#if defined( SLAPD_SCHEMA_DN )
if ( strcmp( base, SLAPD_SCHEMA_DN ) == 0 ) {
- schema_info( conn, op );
+ schema_info( conn, op, attrs, attrsonly );
goto return_results;
}
#endif