mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
ITS#9763 Warn for unsupported configs
This commit is contained in:
parent
2a218dd55f
commit
303d3d4028
1 changed files with 8 additions and 0 deletions
|
|
@ -242,6 +242,14 @@ refint_cf_gen(ConfigArgs *c)
|
|||
switch ( c->type ) {
|
||||
case REFINT_ATTRS:
|
||||
rc = 0;
|
||||
if ( c->op != SLAP_CONFIG_ADD && c->argc > 2 ) {
|
||||
/* We wouldn't know how to delete these values later */
|
||||
Debug( LDAP_DEBUG_CONFIG|LDAP_DEBUG_NONE,
|
||||
"Supplying multiple names in a single %s value is "
|
||||
"unsupported and will be disallowed in a future version\n",
|
||||
c->argv[0] );
|
||||
}
|
||||
|
||||
for ( i=1; i < c->argc; ++i ) {
|
||||
ad = NULL;
|
||||
if ( slap_str2ad ( c->argv[i], &ad, &text )
|
||||
|
|
|
|||
Loading…
Reference in a new issue