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
f67bc268
Commit
f67bc268
authored
Aug 03, 2007
by
Pierangelo Masarati
Browse files
import fix to ITS#5071
parent
9a5c13de
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
f67bc268
OpenLDAP 2.3 Change Log
OpenLDAP 2.3.38 Engineering
Fixed slapadd check for ';binary' when required (ITS#5071)
Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057)
Fixed slapd integer/pointer types and overflow (ITS#5035)
Fixed slapd select_backend/ManageDSAit (ITS#4986)
...
...
servers/slapd/entry.c
View file @
f67bc268
...
...
@@ -231,6 +231,16 @@ str2entry2( char *s, int checkvals )
goto
fail
;
}
}
/* require ';binary' when appropriate (ITS#5071) */
if
(
slap_syntax_is_binary
(
ad
->
ad_type
->
sat_syntax
)
&&
!
slap_ad_is_binary
(
ad
)
)
{
Debug
(
LDAP_DEBUG_ANY
,
"str2entry: attributeType %s #%d: "
"needs ';binary' transfer as per syntax %s
\n
"
,
ad
->
ad_cname
.
bv_val
,
0
,
ad
->
ad_type
->
sat_syntax
->
ssyn_oid
);
goto
fail
;
}
}
if
((
ad_prev
&&
ad
!=
ad_prev
)
||
(
i
==
lines
))
{
...
...
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