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
Christopher Ng
OpenLDAP
Commits
11802791
Commit
11802791
authored
23 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Revert previous commit
parent
bde71e45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
servers/slapd/index.c
+2
-0
2 additions, 0 deletions
servers/slapd/index.c
servers/slapd/slap.h
+1
-0
1 addition, 0 deletions
servers/slapd/slap.h
with
3 additions
and
0 deletions
servers/slapd/index.c
+
2
−
0
View file @
11802791
...
...
@@ -56,6 +56,8 @@ int slap_str2index( const char *str, slap_mask_t *idx )
*
idx
=
SLAP_INDEX_NOLANG
;
}
else
if
(
strcasecmp
(
str
,
"nosubtypes"
)
==
0
)
{
*
idx
=
SLAP_INDEX_NOSUBTYPES
;
}
else
if
(
strcasecmp
(
str
,
"autosubtypes"
)
==
0
)
{
*
idx
=
SLAP_INDEX_AUTO_SUBTYPES
;
}
else
{
return
LDAP_OTHER
;
}
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slap.h
+
1
−
0
View file @
11802791
...
...
@@ -196,6 +196,7 @@ typedef struct slap_ssf_set {
#define SLAP_INDEX_FLAGS 0xF000UL
#define SLAP_INDEX_NOSUBTYPES 0x1000UL
/* don't use index w/ subtypes */
#define SLAP_INDEX_NOLANG 0x2000UL
/* don't use index w/ lang */
#define SLAP_INDEX_AUTO_SUBTYPES 0x4000UL
/* use mask with lang subtypes */
/*
* there is a single index for each attribute. these prefixes ensure
...
...
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