mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
sanity check
This commit is contained in:
parent
db4f223c66
commit
158067a46e
1 changed files with 9 additions and 0 deletions
|
|
@ -1037,6 +1037,15 @@ rwm_suffixmassage_config(
|
|||
* defined as a valid suffix for the current server
|
||||
*/
|
||||
if ( argc == 2 ) {
|
||||
if ( be->be_suffix == NULL ) {
|
||||
fprintf( stderr, "%s: line %d: "
|
||||
" \"suffixMassage [<suffix>]"
|
||||
" <massaged suffix>\" without "
|
||||
"<suffix> part requires database "
|
||||
"suffix be defined first.\n",
|
||||
fname, lineno );
|
||||
return 1;
|
||||
}
|
||||
bvnc = be->be_suffix[ 0 ];
|
||||
massaged = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue