Skip to content
Snippets Groups Projects
Commit 2b82bc2d authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

The Root DSE does not depend on SLAPD_CONFIG_DN and friends.
Added a comment for supportedSASLMechanism to root_dse.c
parent 01385acc
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,7 @@ root_dse_info( Connection *conn, Operation *op )
/* altServer unsupported */
/* supportedExtension: no extensions supported */
/* supportedControl: no controls supported */
/* supportedSASLMechanism: not yet */
for ( i=LDAP_VERSION_MIN; i<=LDAP_VERSION_MAX; i++ ) {
sprintf(buf,"%d",i);
......
......@@ -126,13 +126,14 @@ do_search(
goto return_results;
}
#endif
if ( strcmp( base, LDAP_ROOT_DSE ) == 0 ) {
root_dse_info( conn, op );
goto return_results;
}
}
#endif /* monitor or config or schema dn */
if ( strcmp( base, LDAP_ROOT_DSE ) == 0 && scope == LDAP_SCOPE_BASE ) {
root_dse_info( conn, op );
goto return_results;
}
/*
* We could be serving multiple database backends. Select the
* appropriate one, or send a referral to our "referral server"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment