Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dimitar Stoychev
OpenLDAP
Commits
193c7ca2
Commit
193c7ca2
authored
21 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Fix matching rule flags
parent
a3b73b50
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/slap.h
+13
-13
13 additions, 13 deletions
servers/slapd/slap.h
with
13 additions
and
13 deletions
servers/slapd/slap.h
+
13
−
13
View file @
193c7ca2
...
...
@@ -420,21 +420,21 @@ typedef struct slap_matching_rule {
#define SLAP_MR_HIDE 0x8000U
#define SLAP_MR_TYPE_MASK 0x
F
000U
#define SLAP_MR_SUBTYPE_MASK 0x0
F
00U
#define SLAP_MR_USAGE 0x00
F
FU
#define SLAP_MR_TYPE_MASK 0x0
F
00U
#define SLAP_MR_SUBTYPE_MASK 0x00
F
0U
#define SLAP_MR_USAGE 0x00
0
FU
#define SLAP_MR_NONE 0x0000U
#define SLAP_MR_EQUALITY 0x
1
000U
#define SLAP_MR_ORDERING 0x
2
000U
#define SLAP_MR_SUBSTR 0x
4
000U
#define SLAP_MR_EXT 0x
8
000U
/* implicitly extensible */
#define SLAP_MR_EQUALITY 0x0
1
00U
#define SLAP_MR_ORDERING 0x0
2
00U
#define SLAP_MR_SUBSTR 0x0
4
00U
#define SLAP_MR_EXT 0x0
8
00U
/* implicitly extensible */
#define SLAP_MR_EQUALITY_APPROX ( SLAP_MR_EQUALITY | 0x0
1
00U )
#define SLAP_MR_EQUALITY_APPROX ( SLAP_MR_EQUALITY | 0x00
1
0U )
#define SLAP_MR_SUBSTR_INITIAL ( SLAP_MR_SUBSTR | 0x0
1
00U )
#define SLAP_MR_SUBSTR_ANY ( SLAP_MR_SUBSTR | 0x0
2
00U )
#define SLAP_MR_SUBSTR_FINAL ( SLAP_MR_SUBSTR | 0x0
4
00U )
#define SLAP_MR_SUBSTR_INITIAL ( SLAP_MR_SUBSTR | 0x00
1
0U )
#define SLAP_MR_SUBSTR_ANY ( SLAP_MR_SUBSTR | 0x00
2
0U )
#define SLAP_MR_SUBSTR_FINAL ( SLAP_MR_SUBSTR | 0x00
4
0U )
/*
...
...
@@ -459,8 +459,8 @@ typedef struct slap_matching_rule {
/* either or both the asserted value or attribute value
* may be provided in normalized form
*/
#define SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH 0x00
1
0U
#define SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH 0x00
2
0U
#define SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH 0x000
4
U
#define SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH 0x000
8
U
#define SLAP_IS_MR_ASSERTION_SYNTAX_MATCH( usage ) \
(!((usage) & SLAP_MR_ATTRIBUTE_SYNTAX_MATCH))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment