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
6e586291
Commit
6e586291
authored
Jul 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5584
parent
aa2bdbad
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
6e586291
...
...
@@ -14,6 +14,7 @@ OpenLDAP 2.4.11 Engineering
Fixed slapd-meta link to slapd-ldap (ITS#5355)
Fixed slapd-sock, back-shell buffer count (ITS#5558)
Fixed slapo-dynlist dg attrs lookup (ITS#5583)
Fixed slapo-memberof replace handling (ITS#5584)
Added slapo-nssov contrib module
Fixed slapo-pcache handling of negative search caches (ITS#5546)
Fixed slapo-ppolicy DNs with whitespaces (ITS#5552)
...
...
servers/slapd/overlays/memberof.c
View file @
6e586291
...
...
@@ -843,6 +843,12 @@ memberof_op_modify( Operation *op, SlapReply *rs )
break
;
case
LDAP_MOD_REPLACE
:
/* Handle this just like a delete (see above) */
if
(
!
ml
->
sml_values
)
{
mlp
=
&
ml
->
sml_next
;
break
;
}
case
LDAP_MOD_ADD
:
/* NOTE: right now, the attributeType we use
* for member must have a normalized value */
...
...
@@ -1038,7 +1044,7 @@ memberof_op_modify( Operation *op, SlapReply *rs )
goto
done2
;
}
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
)
{
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
||
!
ml
->
sml_values
)
{
break
;
}
/* fall thru */
...
...
@@ -1305,7 +1311,7 @@ memberof_res_modify( Operation *op, SlapReply *rs )
ber_bvarray_free_x
(
vals
,
op
->
o_tmpmemctx
);
}
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
)
{
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
||
!
mml
->
sml_values
)
{
break
;
}
/* fall thru */
...
...
@@ -1362,7 +1368,7 @@ memberof_res_modify( Operation *op, SlapReply *rs )
ber_bvarray_free_x
(
vals
,
op
->
o_tmpmemctx
);
}
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
)
{
if
(
ml
->
sml_op
==
LDAP_MOD_DELETE
||
!
ml
->
sml_values
)
{
break
;
}
/* fall thru */
...
...
Write
Preview
Markdown
is supported
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