mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
issue a useful error message
This commit is contained in:
parent
173873172c
commit
48b8970dad
@ -740,6 +740,11 @@ slap_idassert_parse( ConfigArgs *c, slap_idassert_t *si )
|
||||
}
|
||||
|
||||
} else if ( bindconf_parse( c->argv[ i ], &si->si_bc ) ) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ),
|
||||
"\"idassert-bind <args>\": "
|
||||
"unable to parse field \"%s\"",
|
||||
c->argv[ i ] );
|
||||
Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg, 0 );
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user