Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
77124e26
Commit
77124e26
authored
Dec 02, 2019
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Jan 09, 2020
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/ppolicy.c
View file @
77124e26
...
...
@@ -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
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment