Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
7ebcb9de
Commit
7ebcb9de
authored
Apr 14, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6465
parent
fd4dfa08
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
7ebcb9de
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.22 Engineering
Added slapd SLAP_SCHEMA_EXPOSE flag for hidden schema elements (ITS#6435)
Fixed slapd certificateListValidate (ITS#6466)
Fixed slapd empty URI parsing (ITS#6465)
Fixed slapd REP_ENTRY flag handling (ITS#5340)
Fixed slapd sasl auxprop_lookup (ITS#6441)
Fixed slapo-collect REP_ENTRY flag handling (ITS#5340,ITS#6423)
...
...
servers/slapd/config.c
View file @
7ebcb9de
...
...
@@ -1458,23 +1458,31 @@ slap_cf_aux_table_unparse( void *src, struct berval *bv, slap_cf_aux_table *tab0
break
;
case
'x'
:
*
ptr
++
=
' '
;
ptr
=
lutil_strcopy
(
ptr
,
tab
->
key
.
bv_val
);
if
(
tab
->
quote
)
*
ptr
++
=
'"'
;
if
(
tab
->
aux
!=
NULL
)
{
struct
berval
value
;
slap_cf_aux_table_parse_x
*
func
=
(
slap_cf_aux_table_parse_x
*
)
tab
->
aux
;
int
rc
;
{
char
*
saveptr
=
ptr
;
*
ptr
++
=
' '
;
ptr
=
lutil_strcopy
(
ptr
,
tab
->
key
.
bv_val
);
if
(
tab
->
quote
)
*
ptr
++
=
'"'
;
if
(
tab
->
aux
!=
NULL
)
{
struct
berval
value
;
slap_cf_aux_table_parse_x
*
func
=
(
slap_cf_aux_table_parse_x
*
)
tab
->
aux
;
int
rc
;
value
.
bv_val
=
ptr
;
value
.
bv_len
=
buf
+
sizeof
(
buf
)
-
ptr
;
value
.
bv_val
=
ptr
;
value
.
bv_len
=
buf
+
sizeof
(
buf
)
-
ptr
;
rc
=
func
(
&
value
,
(
void
*
)((
char
*
)
src
+
tab
->
off
),
tab
,
"(unparse)"
,
1
);
if
(
rc
==
0
)
{
ptr
+=
value
.
bv_len
;
rc
=
func
(
&
value
,
(
void
*
)((
char
*
)
src
+
tab
->
off
),
tab
,
"(unparse)"
,
1
);
if
(
rc
==
0
)
{
if
(
value
.
bv_len
)
{
ptr
+=
value
.
bv_len
;
}
else
{
ptr
=
saveptr
;
break
;
}
}
}
if
(
tab
->
quote
)
*
ptr
++
=
'"'
;
}
if
(
tab
->
quote
)
*
ptr
++
=
'"'
;
break
;
default:
...
...
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