[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: unique contraint bypassed by java modify (and correctly enforced by pytho/ldapmodify)



--On Thursday, September 24, 2015 8:49 PM -0400 Phil Pishioneri <pgp@psu.edu> wrote:

On 9/24/15 7:34 PM, Quanah Gibson-Mount wrote:
I'd guess that java is using the manageDSAit control to bypass
slapo-unique, and your other programs aren't.

JNDI Referral handling (currently?) defaults to "ignore", which sends
the control. See

https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html

Using JNDI is a major mistake as well... Use UnboundID SDK or Apache directory server SDK for java programs accessing ldap.


--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration