Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
e885f85d
Commit
e885f85d
authored
Aug 22, 2002
by
Kurt Zeilenga
Browse files
Pretty DN normalization
parent
42141e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/dn.c
View file @
e885f85d
...
...
@@ -393,7 +393,8 @@ dnNormalize2(
/*
* Back to string representation
*/
rc
=
ldap_dn2bv
(
dn
,
out
,
LDAP_DN_FORMAT_LDAPV3
);
rc
=
ldap_dn2bv
(
dn
,
out
,
LDAP_DN_FORMAT_LDAPV3
|
LDAP_DN_PRETTY
);
ldap_dnfree
(
dn
);
...
...
@@ -561,7 +562,8 @@ dnPrettyNormal(
return
LDAP_INVALID_SYNTAX
;
}
rc
=
ldap_dn2bv
(
dn
,
normal
,
LDAP_DN_FORMAT_LDAPV3
);
rc
=
ldap_dn2bv
(
dn
,
normal
,
LDAP_DN_FORMAT_LDAPV3
|
LDAP_DN_PRETTY
);
ldap_dnfree
(
dn
);
if
(
rc
!=
LDAP_SUCCESS
)
{
...
...
@@ -674,7 +676,8 @@ dnExtractRdn(
return
rc
;
}
rc
=
ldap_rdn2bv
(
tmpRDN
,
rdn
,
LDAP_DN_FORMAT_LDAPV3
);
rc
=
ldap_rdn2bv
(
tmpRDN
,
rdn
,
LDAP_DN_FORMAT_LDAPV3
|
LDAP_DN_PRETTY
);
ldap_rdnfree
(
tmpRDN
);
if
(
rc
!=
LDAP_SUCCESS
)
{
return
rc
;
...
...
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