]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bconfig.c
ITS#8108 silence rootdn check on hidden backends
[openldap] / servers / slapd / bconfig.c
index d726a56427c723950b7254a0c699a62592e4249a..6268a99b303b3d052744aa7df0908522065fe456 100644 (file)
@@ -3285,7 +3285,7 @@ config_rootpw(ConfigArgs *c) {
        }
 
        tbe = select_backend(&c->be->be_rootndn, 0);
-       if(tbe != c->be) {
+       if(tbe != c->be && !SLAP_DBHIDDEN( c->be )) {
                snprintf( c->cr_msg, sizeof( c->cr_msg ), "<%s> can only be set when rootdn is under suffix",
                        c->argv[0] );
                Debug(LDAP_DEBUG_ANY, "%s: %s\n",