extern void slap_do_nothing LDAP_P((int sig));
extern void config_info LDAP_P((Connection *conn, Operation *op));
-extern void root_dse_info LDAP_P((Connection *conn, Operation *op));
+extern void root_dse_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));
#include "slap.h"
void
-root_dse_info( Connection *conn, Operation *op )
+root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
{
Entry *e;
char buf[BUFSIZ];
attr_merge( e, "supportedLDAPVersion", 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 );
#endif /* monitor or config or schema dn */
if ( strcmp( base, LDAP_ROOT_DSE ) == 0 && scope == LDAP_SCOPE_BASE ) {
- root_dse_info( conn, op );
+ root_dse_info( conn, op, attrs, attrsonly );
goto return_results;
}