Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
11802791
Commit
11802791
authored
Jan 14, 2002
by
Howard Chu
Browse files
Revert previous commit
parent
bde71e45
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/index.c
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
;
}
...
...
servers/slapd/slap.h
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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