Commit 77124e26 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#8629 Make sure pwcons is around for slapauth

Long term, overlay callbacks should not be running in tool mode at all.
parent bf170953
......@@ -2424,7 +2424,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++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment