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
d91577f9
Commit
d91577f9
authored
Dec 02, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6270
parent
9d85a6ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
d91577f9
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.21 Engineering
Fixed slapo-unique conflict with ppolicy (ITS#6270)
OpenLDAP 2.4.20 Release (2009/11/27)
Fixed client tools with LDAP options (ITS#6283)
...
...
servers/slapd/overlays/unique.c
View file @
d91577f9
...
...
@@ -1074,13 +1074,13 @@ unique_add(
domain
=
domain
->
next
)
{
unique_domain_uri
*
uri
;
int
ks
=
STRLENOF
(
"(|)"
);
for
(
uri
=
domain
->
uri
;
uri
;
uri
=
uri
->
next
)
{
int
len
;
int
ks
=
0
;
if
(
uri
->
ndn
.
bv_val
&&
!
dnIsSuffix
(
&
op
->
o_req_ndn
,
&
uri
->
ndn
))
...
...
@@ -1117,7 +1117,7 @@ unique_add(
if
(
!
ks
)
continue
;
/* terminating NUL */
ks
++
;
ks
+=
sizeof
(
"(|)"
)
;
if
(
uri
->
filter
.
bv_val
&&
uri
->
filter
.
bv_len
)
ks
+=
uri
->
filter
.
bv_len
+
STRLENOF
(
"(&)"
);
...
...
@@ -1195,13 +1195,13 @@ unique_modify(
domain
=
domain
->
next
)
{
unique_domain_uri
*
uri
;
int
ks
=
STRLENOF
(
"(|)"
);
for
(
uri
=
domain
->
uri
;
uri
;
uri
=
uri
->
next
)
{
int
len
;
int
ks
=
0
;
if
(
uri
->
ndn
.
bv_val
&&
!
dnIsSuffix
(
&
op
->
o_req_ndn
,
&
uri
->
ndn
))
...
...
@@ -1228,7 +1228,7 @@ unique_modify(
if
(
!
ks
)
continue
;
/* terminating NUL */
ks
++
;
ks
+=
sizeof
(
"(|)"
)
;
if
(
uri
->
filter
.
bv_val
&&
uri
->
filter
.
bv_len
)
ks
+=
uri
->
filter
.
bv_len
+
STRLENOF
(
"(&)"
);
...
...
@@ -1309,13 +1309,13 @@ unique_modrdn(
domain
=
domain
->
next
)
{
unique_domain_uri
*
uri
;
int
ks
=
STRLENOF
(
"(|)"
);
for
(
uri
=
domain
->
uri
;
uri
;
uri
=
uri
->
next
)
{
int
i
,
len
;
int
ks
=
0
;
if
(
uri
->
ndn
.
bv_val
&&
!
dnIsSuffix
(
&
op
->
o_req_ndn
,
&
uri
->
ndn
)
...
...
@@ -1364,7 +1364,7 @@ unique_modrdn(
if
(
!
ks
)
continue
;
/* terminating NUL */
ks
++
;
ks
+=
sizeof
(
"(|)"
)
;
if
(
uri
->
filter
.
bv_val
&&
uri
->
filter
.
bv_len
)
ks
+=
uri
->
filter
.
bv_len
+
STRLENOF
(
"(&)"
);
...
...
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