Re: Ldap API Custom Controls

2017-12-24 Thread Emmanuel Lécharny
https://github.com/apache/directory-ldap-api/pull/1 > > Let us know if anything needs changed. > > Thanks, > > ~Chris P. > > > - Original Message - > From: "Emmanuel Lécharny" > To: "Chris Pike" , "api" , > "elecharny

Re: Ldap API Custom Controls

2017-12-05 Thread Emmanuel Lécharny
Le 04/12/2017 à 19:19, Chris Pike a écrit : > Emmanuel, > > We have created a pull request > > https://github.com/apache/directory-ldap-api/pull/1 > > Let us know if anything needs changed. Thanks ! I'll have a look today. -- Emmanuel Lecharny Symas.com directory.apache.org

Re: Ldap API Custom Controls

2017-12-04 Thread Chris Pike
t: Tuesday, November 28, 2017 5:54:39 PM Subject: Re: Ldap API Custom Controls Hi Chris, do you need any more information to get the code pushed ? Many thanks ! Le 05/10/2017 à 21:18, Chris Pike a écrit : > Emmanuel, > > We got this working. Is there a git repo for the directory api,

Re: Ldap API Custom Controls

2017-11-28 Thread Emmanuel Lécharny
Thanks, > > ~Chris Pike > > > > > - Original Message - > From: "Emmanuel Lecharny" > To: "api" > Sent: Monday, September 11, 2017 6:57:38 PM > Subject: Re: Ldap API Custom Controls > > The control value (3003020101) is a PDU whic

Re: Ldap API Custom Controls

2017-10-05 Thread Stefan Seelmann
On 10/05/2017 10:08 PM, Emmanuel Lécharny wrote: > > > Le 05/10/2017 à 21:18, Chris Pike a écrit : >> Emmanuel, >> >> We got this working. Is there a git repo for the directory api, or do we >> have to use subversion to provide the code back? > > The API is in GIT now ! > > https://gitbox.apac

Re: Ldap API Custom Controls

2017-10-05 Thread Emmanuel Lécharny
Le 05/10/2017 à 21:18, Chris Pike a écrit : > Emmanuel, > > We got this working. Is there a git repo for the directory api, or do we have > to use subversion to provide the code back? The API is in GIT now ! https://gitbox.apache.org/repos/asf?p=directory-ldap-api.git;a=summary You can also u

Re: Ldap API Custom Controls

2017-10-05 Thread Chris Pike
controlType: 1.2.840.113556.1.4.2239 (ISO assigned OIDs, > USA.113556.1.4.2239) > criticality: True > controlValue: 3003020101 > > Thanks. > Craig Benner > > - Original Message - > From: "Shawn McKinney" > To: "ap

Re: Ldap API Custom Controls

2017-09-11 Thread Emmanuel Lecharny
: 1.2.840.113556.1.4.2239 (ISO assigned OIDs, > USA.113556.1.4.2239) > criticality: True > controlValue: 3003020101 > > Thanks. > Craig Benner > > - Original Message - > From: "Shawn McKinney" > To: "api" > Sent: Friday,

Re: Ldap API Custom Controls

2017-09-11 Thread Radovan Semancik
"api" Sent: Friday, September 8, 2017 9:58:56 AM Subject: Re: Ldap API Custom Controls On Sep 7, 2017, at 8:41 PM, CRAIG BENNER wrote: It will take some changes to get a wireshark capture, since Password's can only be managed over a secure connection. Hopefully tomorrow I ca

Re: Ldap API Custom Controls

2017-09-08 Thread CRAIG BENNER
USA.113556.1.4.2239) criticality: True controlValue: 3003020101 Thanks. Craig Benner - Original Message - From: "Shawn McKinney" To: "api" Sent: Friday, September 8, 2017 9:58:56 AM Subject: Re: Ldap API Custom Controls > On Sep 7, 2017, at

Re: Ldap API Custom Controls

2017-09-08 Thread Shawn McKinney
> On Sep 7, 2017, at 8:41 PM, CRAIG BENNER wrote: > > It will take some changes to get a wireshark capture, since Password's can > only be managed over a secure connection. Hopefully tomorrow I can get you > the wireshark capture Wonder if it would be easier to just enable the API logger con

Re: Ldap API Custom Controls

2017-09-07 Thread CRAIG BENNER
word's can only be managed over a secure connection. Hopefully tomorrow I can get you the wireshark capture Thanks. Craig Benner - Original Message - From: "Emmanuel Lécharny" To: api@directory.apache.org Sent: Thursday, September 7, 2017 4:51:49 PM Subject: Re: Ldap API

Re: Ldap API Custom Controls

2017-09-07 Thread Emmanuel Lécharny
> From: "Chris Pike" > To: "api" > Sent: Monday, September 4, 2017 6:50:37 PM > Subject: Re: Ldap API Custom Controls > > Thanks for the suggestions and code examples. I'll work on adding this new > control and let you know if I have any issues. >

Re: Ldap API Custom Controls

2017-09-07 Thread Chris Pike
Just to be clear, we get this error even if password is not a duplicate. - Original Message - From: "Chris Pike" To: "api" Sent: Thursday, September 7, 2017 4:20:58 PM Subject: Re: Ldap API Custom Controls So I added the controls, but they don't seem to be

Re: Ldap API Custom Controls

2017-09-07 Thread Chris Pike
hat to try or what might be wrong? - Original Message - From: "Chris Pike" To: "api" Sent: Monday, September 4, 2017 6:50:37 PM Subject: Re: Ldap API Custom Controls Thanks for the suggestions and code examples. I'll work on adding this new control an

Re: Ldap API Custom Controls

2017-09-04 Thread Chris Pike
Thanks for the suggestions and code examples. I'll work on adding this new control and let you know if I have any issues. ~Chris Pike - Original Message - From: "Emmanuel Lécharny" To: "api" Sent: Monday, September 4, 2017 3:46:49 AM Subject: Re: Ldap API

Re: Ldap API Custom Controls

2017-09-04 Thread Emmanuel Lécharny
Le 04/09/2017 à 09:16, Radovan Semancik a écrit : > On 09/04/2017 09:02 AM, Emmanuel Lécharny wrote: >> Actually, the tricky part is the grammar, which is a state engine >> description. > > Oh, that is usually not that difficult either. Most of those "custom" > controls are very simple. Just a co

Re: Ldap API Custom Controls

2017-09-04 Thread Radovan Semancik
On 09/04/2017 09:02 AM, Emmanuel Lécharny wrote: Actually, the tricky part is the grammar, which is a state engine description. Oh, that is usually not that difficult either. Most of those "custom" controls are very simple. Just a couple of fields. Complex data structures seem to be very rare

Re: Ldap API Custom Controls

2017-09-04 Thread Emmanuel Lécharny
Le 04/09/2017 à 08:49, Radovan Semancik a écrit : > 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

Re: Ldap API Custom Controls

2017-09-03 Thread Radovan Semancik
inal Message - From: Emmanuel Lecharny To: api@directory.apache.org Sent: Sun, 03 Sep 2017 14:38:26 -0400 (EDT) Subject: Re: Ldap API Custom Controls 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 :

Re: Ldap API Custom Controls

2017-09-03 Thread Emmanuel Lécharny
trol. I think it should work pretty much pristine, typoes put aside. Just let me know if it's fine for you, then we can push it in the API. > > - Original Message - > From: Emmanuel Lecharny > To: api@directory.apache.org > Sent: Sun, 03 Sep 2017 14:38:26 -0400 (EDT)

Re: Ldap API Custom Controls

2017-09-03 Thread Chris Pike
: Emmanuel Lecharny To: api@directory.apache.org Sent: Sun, 03 Sep 2017 14:38:26 -0400 (EDT) Subject: Re: Ldap API Custom Controls 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, > >

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