Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Quanah Gibson-Mount
OpenLDAP
Commits
b32d83ad
Commit
b32d83ad
authored
20 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Sync with HEAD
Fix LDAP IMR tags
parent
9f5e9f7f
No related branches found
Branches containing commit
Tags
OPENLDAP_REL_ENG_2_2_18
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
doc/devel/todo
+3
-1
3 additions, 1 deletion
doc/devel/todo
include/ldap.h
+3
-0
3 additions, 0 deletions
include/ldap.h
libraries/libldap/extended.c
+8
-2
8 additions, 2 deletions
libraries/libldap/extended.c
with
15 additions
and
3 deletions
CHANGES
+
1
−
0
View file @
b32d83ad
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.2 Change Log
OpenLDAP 2.2.18 Release
Fixed libldap schema keyword sensitivity (ITS#3334)
Fixed libldap DN filter sensitivity (ITS#3334)
Fixed libldap intermediate response tags
Fixed slapd matching rule name sensitivity (ITS#3334)
Fixed slapd multiple value delete (ITS#3346)
Fixed slapd referral memory leak
...
...
This diff is collapsed.
Click to expand it.
doc/devel/todo
+
3
−
1
View file @
b32d83ad
...
...
@@ -52,10 +52,12 @@ Implement authPassword (RFC 3112)
Add LDIFv2 (XML) support to command line tools
Implement LDAPprep and SASLprep
Implement additional matching rules (RFC 3698)
Add syncrepl "turn" support
Add dumpasn1 logging support
Add tests to test suite
Convert utfconv.txt into man page(s).
Add jail(2) support
Recode linked-list structs to use <ldap_queue.h> macros
Convert utfconv.txt into man page(s).
Update any manual page
...
...
This diff is collapsed.
Click to expand it.
include/ldap.h
+
3
−
0
View file @
b32d83ad
...
...
@@ -319,6 +319,9 @@ typedef struct ldapcontrol {
#define LDAP_TAG_EXOP_RES_OID ((ber_tag_t) 0x8aU)
/* context specific + primitive */
#define LDAP_TAG_EXOP_RES_VALUE ((ber_tag_t) 0x8bU)
/* context specific + primitive */
#define LDAP_TAG_IM_RES_OID ((ber_tag_t) 0x80U)
/* context specific + primitive */
#define LDAP_TAG_IM_RES_VALUE ((ber_tag_t) 0x81U)
/* context specific + primitive */
#define LDAP_TAG_SASL_RES_CREDS ((ber_tag_t) 0x87U)
/* context specific + primitive */
/* LDAP Request Messages */
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/extended.c
+
8
−
2
View file @
b32d83ad
...
...
@@ -353,7 +353,13 @@ ldap_parse_intermediate (
tag
=
ber_peek_tag
(
ber
,
&
len
);
if
(
tag
==
LDAP_TAG_EXOP_RES_OID
)
{
/*
* NOTE: accept intermediate and extended response tag values
* as older versions of slapd(8) incorrectly used extended
* response tags.
* Should be removed when 2.2 is moved to Historic.
*/
if
(
tag
==
LDAP_TAG_IM_RES_OID
||
tag
==
LDAP_TAG_EXOP_RES_OID
)
{
/* we have a resoid */
if
(
ber_scanf
(
ber
,
"a"
,
&
resoid
)
==
LBER_ERROR
)
{
ld
->
ld_errno
=
LDAP_DECODING_ERROR
;
...
...
@@ -364,7 +370,7 @@ ldap_parse_intermediate (
tag
=
ber_peek_tag
(
ber
,
&
len
);
}
if
(
tag
==
LDAP_TAG_EXOP_RES_VALUE
)
{
if
(
tag
==
LDAP_TAG_IM_RES_VALUE
||
tag
==
LDAP_TAG_EXOP_RES_VALUE
)
{
/* we have a resdata */
if
(
ber_scanf
(
ber
,
"O"
,
&
resdata
)
==
LBER_ERROR
)
{
ld
->
ld_errno
=
LDAP_DECODING_ERROR
;
...
...
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