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
84e0958b
Commit
84e0958b
authored
Oct 03, 2018
by
Howard Chu
Committed by
Quanah Gibson-Mount
Oct 03, 2018
Browse files
ITS#8923 fix dyngroup NO_SUCH_OBJECT error handling
parent
258a3c15
Changes
3
Hide whitespace changes
Inline
Side-by-side
servers/slapd/backend.c
View file @
84e0958b
...
...
@@ -1520,7 +1520,7 @@ fe_acl_group(
op
->
o_private
=
o_priv
;
if
(
rc2
!=
0
)
{
/* give up... */
rc
=
LDAP_OTHER
;
rc
=
(
rc2
==
LDAP_NO_SUCH_OBJECT
)
?
rc2
:
LDAP_OTHER
;
goto
loopit
;
}
}
...
...
tests/data/dynlist.out
View file @
84e0958b
...
...
@@ -198,6 +198,9 @@ memberURL: ldap:///ou=People,dc=example,dc=com??sub?(objectClass=person)
# Testing list compare...
TRUE
# Testing list compare... (should return FALSE)
FALSE
# Testing list compare (should return FALSE)...
FALSE
...
...
tests/scripts/test044-dynlist
View file @
84e0958b
...
...
@@ -477,12 +477,12 @@ $LDAPCOMPARE -h $LOCALHOST -p $PORT1 \
RC
=
$?
case
$RC
in
5
)
echo
"ldapcompare returned FALSE (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
echo
"ldapcompare returned FALSE (
$RC
)"
;;
6
)
echo
"ldapcompare returned TRUE (
$RC
)"
echo
"ldapcompare returned TRUE (
$RC
)!"
test
$KILLSERVERS
!=
no
&&
kill
-HUP
$KILLPIDS
exit
$RC
;;
0
)
echo
"ldapcompare returned success (
$RC
)!"
...
...
@@ -497,6 +497,7 @@ case $RC in
esac
echo
""
>>
$SEARCHOUT
CMPDN
=
"
$BJORNSDN
"
echo
"Testing list compare (should return FALSE)..."
echo
"# Testing list compare (should return FALSE)..."
>>
$SEARCHOUT
$LDAPCOMPARE
-h
$LOCALHOST
-p
$PORT1
\
...
...
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