mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
ITS#9767 Warn for unsupported configs
This commit is contained in:
parent
e38befe79a
commit
2a218dd55f
1 changed files with 7 additions and 0 deletions
|
|
@ -551,6 +551,13 @@ unique_cf_attrs( ConfigArgs *c )
|
|||
rc = 0;
|
||||
break;
|
||||
case LDAP_MOD_ADD:
|
||||
if ( c->argc > 2 ) {
|
||||
Debug ( LDAP_DEBUG_CONFIG|LDAP_DEBUG_NONE, "unique config: "
|
||||
"Supplying multiple names in a single %s value is unsupported "
|
||||
"and will be disallowed in a future version\n",
|
||||
c->argv[0] );
|
||||
}
|
||||
/* FALLTHRU */
|
||||
case SLAP_CONFIG_ADD:
|
||||
if ( domains ) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ),
|
||||
|
|
|
|||
Loading…
Reference in a new issue