Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
e95e1bcb
Commit
e95e1bcb
authored
Mar 20, 2007
by
Pierangelo Masarati
Browse files
further fix to ITS#4853 (re23 only)
parent
d4e690e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/refint.c
View file @
e95e1bcb
...
...
@@ -151,12 +151,12 @@ refint_config(
/* XXX only one basedn (yet) - need validate argument! */
if
(
id
->
dn
.
bv_val
)
ch_free
(
id
->
dn
.
bv_val
);
ber_str2bv
(
argv
[
1
],
0
,
0
,
&
dn
);
Debug
(
LDAP_DEBUG_ANY
,
"%s: line %d: new baseDN <%s>
\n
"
,
fname
,
lineno
,
argv
[
1
]);
if
(
dnNormalize
(
0
,
NULL
,
NULL
,
&
dn
,
&
id
->
dn
,
NULL
))
{
Debug
(
LDAP_DEBUG_ANY
,
"%s: line %d: bad baseDN!
\n
"
,
fname
,
lineno
,
0
);
return
(
1
);
}
Debug
(
LDAP_DEBUG_CONFIG
,
"%s: line %d: new baseDN <%s>
\n
"
,
fname
,
lineno
,
argv
[
1
]);
}
else
if
(
!
strcasecmp
(
*
argv
,
"refint_nothing"
))
{
if
(
id
->
nothing
.
bv_val
)
ch_free
(
id
->
nothing
.
bv_val
);
if
(
id
->
nnothing
.
bv_val
)
ch_free
(
id
->
nnothing
.
bv_val
);
...
...
@@ -165,7 +165,7 @@ refint_config(
Debug
(
LDAP_DEBUG_ANY
,
"%s: line %d: bad nothingDN!
\n
"
,
fname
,
lineno
,
0
);
return
(
1
);
}
Debug
(
LDAP_DEBUG_
ANY
,
"%s: line %d: new nothingDN<%s>
\n
"
,
Debug
(
LDAP_DEBUG_
CONFIG
,
"%s: line %d: new nothingDN<%s>
\n
"
,
fname
,
lineno
,
argv
[
1
]);
}
else
{
return
(
SLAP_CONF_UNKNOWN
);
...
...
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