Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas However
OpenLDAP
Commits
45f2c3dc
Commit
45f2c3dc
authored
May 13, 2019
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Jun 20, 2019
Browse files
ITS#8799 Let the common backend be configured through cn=config
parent
3825f51b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/chain.c
View file @
45f2c3dc
...
...
@@ -1332,7 +1332,7 @@ chain_ldadd( CfEntryInfo *p, Entry *e, ConfigArgs *ca )
} else
#endif
if
(
lc
->
lc_common_li
!=
NULL
&&
at
==
NULL
)
{
if
(
lc
->
lc_common_li
!=
NULL
&&
lc
->
lc_common_li
!=
lc
->
lc_cfg_li
&&
at
==
NULL
)
{
/* FIXME: we should generate an empty default entry
* if none is supplied */
Debug
(
LDAP_DEBUG_ANY
,
"slapd-chain: "
...
...
@@ -1352,6 +1352,7 @@ chain_ldadd( CfEntryInfo *p, Entry *e, ConfigArgs *ca )
}
rc
=
ldap_chain_db_init_one
(
ca
->
be
);
lc
->
lc_cfg_li
=
NULL
;
if
(
rc
!=
0
)
{
fail:
...
...
@@ -1457,6 +1458,8 @@ chain_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
ca
->
be
->
be_private
=
priv
;
}
lc
->
lc_cfg_li
=
NULL
;
return
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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