mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit
This commit is contained in:
parent
790c4d8399
commit
4e21f65ec0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user