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
348e489b
Commit
348e489b
authored
Feb 18, 2002
by
Kurt Zeilenga
Browse files
#ifdef experimental controls
parent
3c70228f
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/init.c
View file @
348e489b
...
...
@@ -405,8 +405,12 @@ bdb_initialize(
{
static
char
*
controls
[]
=
{
LDAP_CONTROL_MANAGEDSAIT
,
#ifdef LDAP_CONTROL_SUBENTRIES
LDAP_CONTROL_SUBENTRIES
,
#endif
#ifdef LDAP_CONTROL_NOOP
LDAP_CONTROL_NOOP
,
#endif
NULL
};
...
...
servers/slapd/controls.c
View file @
348e489b
...
...
@@ -57,9 +57,11 @@ static struct slap_control {
{
LDAP_CONTROL_MANAGEDSAIT
,
SLAP_CTRL_ACCESS
,
NULL
,
parseManageDSAit
},
#ifdef LDAP_CONTROL_SUBENTRIES
{
LDAP_CONTROL_SUBENTRIES
,
SLAP_CTRL_SEARCH
,
NULL
,
parseSubentries
},
#endif
#ifdef LDAP_CONTROL_NOOP
{
LDAP_CONTROL_NOOP
,
SLAP_CTRL_UPDATE
,
NULL
,
...
...
@@ -384,6 +386,7 @@ static int parseManageDSAit (
return
LDAP_SUCCESS
;
}
#ifdef LDAP_CONTROL_SUBENTRIES
static
int
parseSubentries
(
Connection
*
conn
,
Operation
*
op
,
...
...
@@ -412,7 +415,9 @@ static int parseSubentries (
return
LDAP_SUCCESS
;
}
#endif
#ifdef LDAP_CONTROL_NOOP
static
int
parseNoOp
(
Connection
*
conn
,
Operation
*
op
,
...
...
@@ -435,4 +440,5 @@ static int parseNoOp (
return
LDAP_SUCCESS
;
}
#endif
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