Issue 8164 - RFC slapo-unique: set matchedDN
Summary: RFC slapo-unique: set matchedDN
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: overlays (show other issues)
Version: unspecified
Hardware: All All
: --- enhancement
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 15:41 UTC by Michael Ströder
Modified: 2020-03-20 23:13 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-05 15:41:05 UTC
Full_Name: Michael Str.der
Version: HEAD
OS: 
URL: 
Submission from: (NULL) (212.227.35.94)


It would be handy if slapo-unique could set matchedDN along with result code
constraintViolation(19) to a DN of an existing entry causing the constraint to
fail.

To avoid information disclosure ACL checking could be performed to determine
whether the bound identity has at least search privilege on the entry pseudo
attr and unique attr.
Comment 1 ando@openldap.org 2015-06-05 17:03:35 UTC
On 05/06/2015 17:41, michael@stroeder.com wrote:
> Full_Name: Michael Str.der
> Version: HEAD
> OS:
> URL:
> Submission from: (NULL) (212.227.35.94)
>
>
> It would be handy if slapo-unique could set matchedDN along with result code
> constraintViolation(19) to a DN of an existing entry causing the constraint to
> fail.
I think this would violate the purpose and specification of matchedDN.  
It would be more appropriate to have that piece of info returned within 
the control value of a specifically designed response control, when the 
control is explicitly requested.  What you're asking for could perhaps 
be logged, if it isn't yet.  My 2c.

Ciao, p.
>
> To avoid information disclosure ACL checking could be performed to determine
> whether the bound identity has at least search privilege on the entry pseudo
> attr and unique attr.
>
>
>


-- 
Pierangelo Masarati
Associate Professor
Dipartimento di Scienze e Tecnologie Aerospaziali
Politecnico di Milano