mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-26 16:52:55 -05:00
rework ITS#4322 check
This commit is contained in:
parent
e7037b04fd
commit
89c84fe8a9
1 changed files with 8 additions and 8 deletions
|
|
@ -48,6 +48,14 @@ relay_back_db_config(
|
|||
int rc;
|
||||
BackendDB *bd;
|
||||
|
||||
if ( !BER_BVISNULL( &ri->ri_realsuffix ) ) {
|
||||
Log2( LDAP_DEBUG_ANY, LDAP_LEVEL_ERR,
|
||||
"%s: line %d: "
|
||||
"relay dn already specified.\n",
|
||||
fname, lineno );
|
||||
return 1;
|
||||
}
|
||||
|
||||
switch ( argc ) {
|
||||
case 3:
|
||||
if ( strcmp( argv[ 2 ], "massage" ) != 0 ) {
|
||||
|
|
@ -96,14 +104,6 @@ relay_back_db_config(
|
|||
return 1;
|
||||
}
|
||||
|
||||
if ( !BER_BVISNULL( &ri->ri_realsuffix ) ) {
|
||||
Log2( LDAP_DEBUG_ANY, LDAP_LEVEL_ERR,
|
||||
"%s: line %d: "
|
||||
"relay dn already specified.\n",
|
||||
fname, lineno );
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* The man page says that the "relay" directive
|
||||
* automatically instantiates slapo-rwm; I don't
|
||||
* like this very much any more, I'd prefer to
|
||||
|
|
|
|||
Loading…
Reference in a new issue