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
ingo Voss
OpenLDAP
Commits
d812bd20
Commit
d812bd20
authored
Aug 12, 2005
by
Kurt Zeilenga
Browse files
IANA assigned OIDs
parent
db267335
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
d812bd20
...
...
@@ -53,8 +53,7 @@ OpenLDAP 2.3.5 Release
Fixed slapd authzTo/From syntax issue (ITS#3921)
Fixed libldap start_tls referral chasing (ITS#3791)
Fixed libldap referral chasing issues (ITS#2894,3578)
Updated Assertion control to use IANA-assigned OID
Updated pre/post read controls to use IANA-assigned OIDs
Use IANA-assigned OIDs for recently approved LDAP extensions
Removed lint (ITS#3857)
Build Environment
Upgraded shtool (ITS#3752)
...
...
include/ldap.h
View file @
d812bd20
...
...
@@ -346,10 +346,10 @@ typedef struct ldapcontrol {
#define LDAP_FEATURE_ABSOLUTE_FILTERS "1.3.6.1.4.1.4203.1.5.3"
/* (&) (|) */
#define LDAP_FEATURE_LANGUAGE_TAG_OPTIONS "1.3.6.1.4.1.4203.1.5.4"
#define LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS "1.3.6.1.4.1.4203.1.5.5"
#define LDAP_FEATURE_MODIFY_INCREMENT "1.3.6.1.1.14"
#ifdef LDAP_DEVEL
/* LDAP Experimental (works in progress) Features */
#define LDAP_FEATURE_MODIFY_INCREMENT "1.3.6.1.4.1.4203.666.8.2"
#define LDAP_FEATURE_SUBORDINATE_SCOPE \
"1.3.6.1.4.1.4203.666.8.1"
/* "children" */
#define LDAP_FEATURE_CHILDREN_SCOPE LDAP_FEATURE_SUBORDINATE_SCOPE
...
...
servers/slapd/controls.c
View file @
d812bd20
...
...
@@ -32,9 +32,6 @@ static SLAP_CTRL_PARSE_FN parseProxyAuthz;
static
SLAP_CTRL_PARSE_FN
parseManageDIT
;
#endif
static
SLAP_CTRL_PARSE_FN
parseManageDSAit
;
#ifdef LDAP_CONTROL_MODIFY_INCREMENT
static
SLAP_CTRL_PARSE_FN
parseModifyIncrement
;
#endif
static
SLAP_CTRL_PARSE_FN
parseNoOp
;
static
SLAP_CTRL_PARSE_FN
parsePagedResults
;
#ifdef LDAP_DEVEL
...
...
@@ -162,12 +159,6 @@ static struct slap_control control_defs[] = {
(
int
)
offsetof
(
struct
slap_control_ids
,
sc_noOp
),
SLAP_CTRL_HIDE
|
SLAP_CTRL_ACCESS
,
NULL
,
parseNoOp
,
LDAP_SLIST_ENTRY_INITIALIZER
(
next
)
},
#ifdef LDAP_CONTROL_MODIFY_INCREMENT
{
LDAP_CONTROL_MODIFY_INCREMENT
,
(
int
)
offsetof
(
struct
slap_control_ids
,
sc_modifyIncrement
),
SLAP_CTRL_HIDE
|
SLAP_CTRL_MODIFY
,
NULL
,
parseModifyIncrement
,
LDAP_SLIST_ENTRY_INITIALIZER
(
next
)
},
#endif
#ifdef LDAP_DEVEL
{
LDAP_CONTROL_MANAGEDIT
,
(
int
)
offsetof
(
struct
slap_control_ids
,
sc_manageDIT
),
...
...
@@ -703,34 +694,6 @@ return_results:
return
rs
->
sr_err
;
}
#ifdef LDAP_CONTROL_MODIFY_INCREMENT
static
int
parseModifyIncrement
(
Operation
*
op
,
SlapReply
*
rs
,
LDAPControl
*
ctrl
)
{
#if 0
if ( op->o_modifyIncrement != SLAP_CONTROL_NONE ) {
rs->sr_text = "modifyIncrement control specified multiple times";
return LDAP_PROTOCOL_ERROR;
}
#endif
if
(
ctrl
->
ldctl_value
.
bv_len
)
{
rs
->
sr_text
=
"modifyIncrement control value not empty"
;
return
LDAP_PROTOCOL_ERROR
;
}
#if 0
op->o_modifyIncrement = ctrl->ldctl_iscritical
? SLAP_CONTROL_CRITICAL
: SLAP_CONTROL_NONCRITICAL;
#endif
return
LDAP_SUCCESS
;
}
#endif
#ifdef LDAP_DEVEL
static
int
parseManageDIT
(
Operation
*
op
,
...
...
servers/slapd/root_dse.c
View file @
d812bd20
...
...
@@ -29,6 +29,7 @@
#endif
static
struct
berval
supportedFeatures
[]
=
{
BER_BVC
(
LDAP_FEATURE_MODIFY_INCREMENT
),
/* Modify/increment */
BER_BVC
(
LDAP_FEATURE_ALL_OP_ATTRS
),
/* All Op Attrs (+) */
BER_BVC
(
LDAP_FEATURE_OBJECTCLASS_ATTRS
),
/* OCs in Attrs List (@class) */
BER_BVC
(
LDAP_FEATURE_ABSOLUTE_FILTERS
),
/* (&) and (|) search filters */
...
...
@@ -36,9 +37,6 @@ static struct berval supportedFeatures[] = {
BER_BVC
(
LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS
),
/* Language Range Options */
#ifdef LDAP_FEATURE_SUBORDINATE_SCOPE
BER_BVC
(
LDAP_FEATURE_SUBORDINATE_SCOPE
),
/* "children" search scope */
#endif
#ifdef LDAP_FEATURE_MODIFY_INCREMENT
BER_BVC
(
LDAP_FEATURE_MODIFY_INCREMENT
),
/* Modify/increment */
#endif
{
0
,
NULL
}
};
...
...
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