Issue 8172 - RFE: back-sock CONTINUE to get modified parameters
Summary: RFE: back-sock CONTINUE to get modified parameters
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: backends (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-13 14:22 UTC by Michael Ströder
Modified: 2020-03-20 23:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2015-06-13 14:22:35 UTC
Full_Name: 
Version: 
OS: 
URL: 
Submission from: (NULL) (84.178.19.235)


It would be very nice if back-sock configured as overlay could make use of
modified parameters returned with CONTINUE.

Example for an incoming search request:

SEARCH
msgid: 42
suffix: dc=example,dc=com
base: dc=example,dc=com
scope: 2
[..]
filter: (objectClass=*)
[..]

The external listener could return:

CONTINUE
msgid: 42
suffix: dc=example,dc=com
base: ou=test,dc=example,dc=com
scope: 1
[..]
filter: (objectClass=account)
[..]

This would make request rewriting possible without having to use slapo-rwm.
Comment 1 Michael Ströder 2015-06-13 14:27:04 UTC
To clarify: The listener would only return the parameters with CONTINUE which
it wants to modify.

Comment 2 Michael Ströder 2015-06-14 11:11:21 UTC
Another important use-case is rewriting the bind-DN of a simple bind request
without using slapo-rwm (because slapo-rwm often seg faults).