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
a2911a41
Commit
a2911a41
authored
Nov 19, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5819
parent
658c99d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
a2911a41
...
...
@@ -25,6 +25,7 @@ OpenLDAP 2.4.13 Release (2008/11/20)
Fixed slapd parsing of read entry control (ITS#5741)
Added slapd PMI schema (ITS#5695)
Added slapd private databases in global overlays (ITS#5735,ITS#5736)
Fixed slapd rdn generation when it isn't specified (ITS#5819)
Fixed slapd slapd.conf validation to LDIF (ITS#5755)
Fixed slapd startup scan for CSN (ITS#5640)
Fixed slapd statslog printing of released entry (ITS#5775)
...
...
servers/slapd/schema_check.c
View file @
a2911a41
...
...
@@ -880,11 +880,13 @@ entry_naming_check(
ava
->
la_attr
.
bv_val
);
break
;
case
LDAP_NO_SUCH_ATTRIBUTE
:
snprintf
(
textbuf
,
textlen
,
"value of naming attribute '%s' is not present in entry"
,
ava
->
la_attr
.
bv_val
);
if
(
add_naming
)
{
add
=
1
;
rc
=
LDAP_SUCCESS
;
}
else
{
snprintf
(
textbuf
,
textlen
,
"value of naming attribute '%s' is not present in entry"
,
ava
->
la_attr
.
bv_val
);
}
break
;
default:
...
...
@@ -892,7 +894,10 @@ entry_naming_check(
"naming attribute '%s' is inappropriate"
,
ava
->
la_attr
.
bv_val
);
}
rc
=
LDAP_NAMING_VIOLATION
;
if
(
!
add
)
{
rc
=
LDAP_NAMING_VIOLATION
;
}
}
}
...
...
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