Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
20dd3c12
Commit
20dd3c12
authored
Jan 11, 2002
by
Kurt Zeilenga
Browse files
Add Backend to system schema check routines
parent
6c76b2c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-monitor/backmon.dsp
View file @
20dd3c12
...
...
@@ -167,6 +167,10 @@ SOURCE=.\init.c
# End Source File
# Begin Source File
SOURCE=.\listener.c
# End Source File
# Begin Source File
SOURCE=.\log.c
# End Source File
# Begin Source File
...
...
servers/slapd/schema_check.c
View file @
20dd3c12
...
...
@@ -56,7 +56,7 @@ entry_schema_check(
if
(
a
->
a_desc
->
ad_type
->
sat_check
)
{
int
rc
=
(
a
->
a_desc
->
ad_type
->
sat_check
)(
e
,
a
,
text
,
textbuf
,
textlen
);
be
,
e
,
a
,
text
,
textbuf
,
textlen
);
if
(
rc
!=
LDAP_SUCCESS
)
{
return
rc
;
}
...
...
@@ -209,7 +209,7 @@ entry_schema_check(
}
if
(
oc
->
sco_check
)
{
int
rc
=
(
oc
->
sco_check
)(
e
,
oc
,
int
rc
=
(
oc
->
sco_check
)(
be
,
e
,
oc
,
text
,
textbuf
,
textlen
);
if
(
rc
!=
LDAP_SUCCESS
)
{
return
rc
;
...
...
servers/slapd/schema_prep.c
View file @
20dd3c12
...
...
@@ -713,6 +713,7 @@ slap_schema_check( void )
}
static
int
rootDseObjectClass
(
Backend
*
be
,
Entry
*
e
,
ObjectClass
*
oc
,
const
char
**
text
,
...
...
@@ -732,6 +733,7 @@ static int rootDseObjectClass (
}
static
int
subentryObjectClass
(
Backend
*
be
,
Entry
*
e
,
ObjectClass
*
oc
,
const
char
**
text
,
...
...
@@ -747,6 +749,7 @@ static int subentryObjectClass (
}
static
int
rootDseAttribute
(
Backend
*
be
,
Entry
*
e
,
Attribute
*
attr
,
const
char
**
text
,
...
...
@@ -766,6 +769,7 @@ static int rootDseAttribute (
}
static
int
subentryAttribute
(
Backend
*
be
,
Entry
*
e
,
Attribute
*
attr
,
const
char
**
text
,
...
...
@@ -783,6 +787,7 @@ static int subentryAttribute (
}
static
int
referralAttribute
(
Backend
*
be
,
Entry
*
e
,
Attribute
*
attr
,
const
char
**
text
,
...
...
servers/slapd/slap.h
View file @
20dd3c12
...
...
@@ -413,6 +413,7 @@ struct slap_entry;
struct
slap_attr
;
typedef
int
(
AttributeTypeSchemaCheckFN
)(
struct
slap_backend_db
*
be
,
struct
slap_entry
*
e
,
struct
slap_attr
*
attr
,
const
char
**
text
,
...
...
@@ -457,6 +458,7 @@ typedef struct slap_attribute_type {
struct
slap_object_class
;
typedef
int
(
ObjectClassSchemaCheckFN
)(
struct
slap_backend_db
*
be
,
struct
slap_entry
*
e
,
struct
slap_object_class
*
oc
,
const
char
**
text
,
...
...
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