Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
e8f9f47d
Commit
e8f9f47d
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5643
parent
65dd4e6a
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/back-relay/init.c
+12
-4
12 additions, 4 deletions
servers/slapd/back-relay/init.c
with
13 additions
and
4 deletions
CHANGES
+
1
−
0
View file @
e8f9f47d
...
...
@@ -6,6 +6,7 @@ OpenLDAP 2.4.12 Engineering
Fixed slapd socket closing on Windows (ITS#5606)
Fixed slapd-ldap,slapd-meta invalid filter behavior (ITS#5614)
Fixed slapd-meta quarantine behavior (ITS#5592)
Fixed slapd-relay initialization (ITS#5643)
Fixed slapd-sql freeing of connection (ITS#5607)
Fixed slapo-constraint string termination (ITS#5609)
Fixed slapo-memberof internal operations DN (ITS#5622)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-relay/init.c
+
12
−
4
View file @
e8f9f47d
...
...
@@ -108,10 +108,8 @@ relay_back_cf( ConfigArgs *c )
"of relay dn
\"
%s
\"
"
"in
\"
olcRelay <dn>
\"\n
"
,
c
->
value_dn
.
bv_val
);
Log2
(
LDAP_DEBUG_
ANY
,
LDAP_LEVEL_ERR
,
Log2
(
LDAP_DEBUG_
CONFIG
,
LDAP_LEVEL_ERR
,
"%s: %s.
\n
"
,
c
->
log
,
c
->
cr_msg
);
rc
=
1
;
goto
relay_done
;
}
else
if
(
bd
->
be_private
==
c
->
be
->
be_private
)
{
snprintf
(
c
->
cr_msg
,
sizeof
(
c
->
cr_msg
),
...
...
@@ -213,7 +211,17 @@ relay_back_db_open( Backend *be, ConfigReply *cr )
ri
->
ri_bd
=
select_backend
(
&
ri
->
ri_realsuffix
,
1
);
/* must be there: it was during config! */
assert
(
ri
->
ri_bd
!=
NULL
);
if
(
ri
->
ri_bd
==
NULL
)
{
snprintf
(
cr
->
msg
,
sizeof
(
cr
->
msg
),
"cannot find database "
"of relay dn
\"
%s
\"
"
"in
\"
olcRelay <dn>
\"\n
"
,
ri
->
ri_realsuffix
.
bv_val
);
Log1
(
LDAP_DEBUG_ANY
,
LDAP_LEVEL_ERR
,
"relay_back_db_open: %s.
\n
"
,
cr
->
msg
);
return
1
;
}
/* inherit controls */
AC_MEMCPY
(
be
->
be_ctrls
,
ri
->
ri_bd
->
be_ctrls
,
sizeof
(
be
->
be_ctrls
)
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment