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
02a85a1c
Commit
02a85a1c
authored
Dec 02, 2004
by
Howard Chu
Browse files
Hide CSN schema dependencies
parent
5769f419
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
02a85a1c
...
...
@@ -60,6 +60,13 @@
#define IA5StringApproxIndexer approxIndexer
#define IA5StringApproxFilter approxFilter
/* Change Sequence Number (CSN) - much of this will change */
#define csnValidate blobValidate
#define csnMatch octetStringMatch
#define csnOrderingMatch octetStringOrderingMatch
#define csnIndexer generalizedTimeIndexer
#define csnFilter generalizedTimeFilter
unsigned
int
index_substr_if_minlen
=
SLAP_INDEX_SUBSTR_IF_MINLEN_DEFAULT
;
unsigned
int
index_substr_if_maxlen
=
SLAP_INDEX_SUBSTR_IF_MAXLEN_DEFAULT
;
unsigned
int
index_substr_any_len
=
SLAP_INDEX_SUBSTR_ANY_LEN_DEFAULT
;
...
...
@@ -3197,9 +3204,7 @@ static slap_syntax_defs_rec syntax_defs[] = {
SLAP_SYNTAX_HIDE
,
UUIDValidate
,
NULL
},
{
"( 1.3.6.1.4.1.4203.666.11.2.1 DESC 'CSN' )"
,
SLAP_SYNTAX_HIDE
,
blobValidate
,
/* THIS WILL CHANGE */
NULL
},
SLAP_SYNTAX_HIDE
,
csnValidate
,
NULL
},
/* OpenLDAP Void Syntax */
{
"( 1.3.6.1.4.1.4203.1.1.1 DESC 'OpenLDAP void' )"
,
...
...
@@ -3638,14 +3643,14 @@ static slap_mrule_defs_rec mrule_defs[] = {
{
"( 1.3.6.1.4.1.4203.666.11.2.2 NAME 'CSNMatch' "
"SYNTAX 1.3.6.1.4.1.4203.666.11.2.1 )"
,
SLAP_MR_HIDE
|
SLAP_MR_EQUALITY
|
SLAP_MR_ORDERED_INDEX
,
NULL
,
NULL
,
NULL
,
octetString
Match
,
generalizedTimeIndexer
,
generalizedTime
Filter
,
NULL
,
NULL
,
csn
Match
,
csnIndexer
,
csn
Filter
,
NULL
},
{
"( 1.3.6.1.4.1.4203.666.11.2.3 NAME 'CSNOrderingMatch' "
"SYNTAX 1.3.6.1.4.1.4203.666.11.2.1 )"
,
SLAP_MR_HIDE
|
SLAP_MR_ORDERING
|
SLAP_MR_ORDERED_INDEX
,
NULL
,
NULL
,
NULL
,
octetString
OrderingMatch
,
NULL
,
NULL
,
csn
OrderingMatch
,
NULL
,
NULL
,
"CSNMatch"
},
...
...
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