Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
448e2dca
Commit
448e2dca
authored
Jul 18, 2004
by
Pierangelo Masarati
Browse files
fix empty uniqueMember dn portion (ITS
#3247
)
parent
47415023
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
448e2dca
...
...
@@ -1093,14 +1093,12 @@ uniqueMemberMatch(
{
int
match
;
struct
berval
*
asserted
=
(
struct
berval
*
)
assertedValue
;
struct
berval
assertedDN
=
BER_BVNULL
;
struct
berval
assertedDN
=
*
asserted
;
struct
berval
assertedUID
=
BER_BVNULL
;
struct
berval
valueDN
=
BER_BVNULL
;
struct
berval
valueUID
=
BER_BVNULL
;
if
(
!
BER_BVISEMPTY
(
asserted
)
)
{
assertedDN
=
*
asserted
;
if
(
!
BER_BVISEMPTY
(
asserted
)
)
{
assertedUID
.
bv_val
=
strrchr
(
assertedDN
.
bv_val
,
'#'
);
if
(
!
BER_BVISNULL
(
&
assertedUID
)
)
{
assertedUID
.
bv_val
++
;
...
...
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