Skip to content
Snippets Groups Projects
Commit 0bce484d authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

More for ITS#5571

parent 9cf14d67
No related branches found
No related tags found
No related merge requests found
......@@ -3994,7 +3994,7 @@ cfAddDatabase( CfEntryInfo *p, Entry *e, struct config_args_s *ca )
}
/* config must be {0}, nothing else allowed */
if ( !strncmp( e->e_nname.bv_val, "olcDatabase={0}", STRLENOF("olcDatabase={0}")) &&
strcmp( e->e_nname.bv_val + STRLENOF("olcDatabase={0}"), "config" )) {
strncmp( e->e_nname.bv_val + STRLENOF("olcDatabase={0}"), "config,", STRLENOF("config,") )) {
return LDAP_CONSTRAINT_VIOLATION;
}
ca->be = frontendDB; /* just to get past check_vals */
......
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