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
Joe Martin
OpenLDAP
Commits
6d038f7c
Commit
6d038f7c
authored
Dec 12, 2010
by
Quanah Gibson-Mount
Browse files
ITS
#6661
parent
9da1e112
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
6d038f7c
...
@@ -9,6 +9,7 @@ OpenLDAP 2.4.24 Engineering
...
@@ -9,6 +9,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapd acl parsing overflow (ITS#6611)
Fixed slapd acl parsing overflow (ITS#6611)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577)
Fixed slapd-bdb entry cache delete failure (ITS#6577)
Fixed slapd-ndb to honor rootpw setting (ITS#6661)
Fixed slapd-meta anon retry with failed auth method (ITS#6643)
Fixed slapd-meta anon retry with failed auth method (ITS#6643)
Fixed slapd-null back-config support (ITS#6624)
Fixed slapd-null back-config support (ITS#6624)
Fixed slapo-pcache callback freeing (ITS#6640)
Fixed slapo-pcache callback freeing (ITS#6640)
...
...
servers/slapd/back-bdb/bind.c
View file @
6d038f7c
...
@@ -43,10 +43,10 @@ bdb_bind( Operation *op, SlapReply *rs )
...
@@ -43,10 +43,10 @@ bdb_bind( Operation *op, SlapReply *rs )
switch
(
be_rootdn_bind
(
op
,
NULL
)
)
{
switch
(
be_rootdn_bind
(
op
,
NULL
)
)
{
case
LDAP_SUCCESS
:
case
LDAP_SUCCESS
:
/* frontend will send result */
/* frontend will send result */
return
rs
->
sr_err
;
return
rs
->
sr_err
=
LDAP_SUCCESS
;
default:
default:
/* give the database a chanc
h
e */
/* give the database a chance */
/* NOTE: this behavior departs from that of other backends,
/* NOTE: this behavior departs from that of other backends,
* since the others, in case of password checking failure
* since the others, in case of password checking failure
* do not give the database a chance. If an entry with
* do not give the database a chance. If an entry with
...
...
servers/slapd/back-ndb/bind.cpp
View file @
6d038f7c
...
@@ -43,11 +43,13 @@ ndb_back_bind( Operation *op, SlapReply *rs )
...
@@ -43,11 +43,13 @@ ndb_back_bind( Operation *op, SlapReply *rs )
/* allow noauth binds */
/* allow noauth binds */
switch
(
be_rootdn_bind
(
op
,
NULL
)
)
{
switch
(
be_rootdn_bind
(
op
,
NULL
)
)
{
case
SLAP_CB_CONTINUE
:
case
LDAP_SUCCESS
:
break
;
/* frontend will send result */
return
rs
->
sr_err
=
LDAP_SUCCESS
;
default:
default:
return
rs
->
sr_err
;
/* give the database a chance */
break
;
}
}
/* Get our NDB handle */
/* Get our NDB handle */
...
...
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