Re: Ldap API Custom Controls

2017-09-03 Thread Radovan Semancik
Hi, I have implemented a couple of controls myself. Perhaps the best approach is to do it right in the Apache Directory API source code. And contribute it back, of course :-) Start from any existing control. E.g. you can have a look at my AD DirSync control (org.apache.directory.api.ldap.extr

Re: Ldap API Custom Controls

2017-09-03 Thread Emmanuel Lécharny
Le 03/09/2017 à 20:57, Chris Pike a écrit : > Trying to get Active Directory to honor password history when changing a > password. > > https://blogs.technet.microsoft.com/fieldcoding/2013/01/09/resetting-passwords-honoring-password-history-or-whats-happening-under-the-hood-when-changing-resetti

Re: Ldap API Custom Controls

2017-09-03 Thread Chris Pike
Trying to get Active Directory to honor password history when changing a password. https://blogs.technet.microsoft.com/fieldcoding/2013/01/09/resetting-passwords-honoring-password-history-or-whats-happening-under-the-hood-when-changing-resetting-passwords/ - Original Message - From: Em

Re: Ldap API Custom Controls

2017-09-03 Thread Emmanuel Lecharny
It's a bit tricky... What control do you want to implement? Do you have a description ? Le dim. 3 sept. 2017 à 15:58, Chris Pike a écrit : > Hi, > > I am trying to add a custom control. I started by creating a class that > implements "org.apache.directory.api.ldap.model.message.Control" and > p

Ldap API Custom Controls

2017-09-03 Thread Chris Pike
Hi, I am trying to add a custom control. I started by creating a class that implements "org.apache.directory.api.ldap.model.message.Control" and passing an instance into my request. This didn't seem to work, I'm guessing because the value for the control is not passed. When looking at some of