mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8629 Make sure pwcons is around for slapauth
Long term, overlay callbacks should not be running in tool mode at all.
This commit is contained in:
parent
1a0ab3d269
commit
b71235ac45
@ -2431,7 +2431,7 @@ ppolicy_db_init(
|
||||
|
||||
on->on_bi.bi_private = ch_calloc( sizeof(pp_info), 1 );
|
||||
|
||||
if ( dtblsize && !pwcons ) {
|
||||
if ( !pwcons ) {
|
||||
/* accommodate for c_conn_idx == -1 */
|
||||
pwcons = ch_calloc( sizeof(pw_conn), dtblsize + 1 );
|
||||
pwcons++;
|
||||
|
Loading…
Reference in New Issue
Block a user