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;clp...@psu.edu>, "api" <api@directory.apache.org>, "elecharny" <elecha...@apache.org> Sent: 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 à

Re: Ldap API Custom Controls

2017-11-28 Thread Emmanuel Lécharny
Thanks, > > ~Chris Pike > > > > > - Original Message - > From: "Emmanuel Lecharny" <elecha...@apache.org> > To: "api" <api@directory.apache.org> > Sent: Monday, September 11, 2017 6:57:38 PM > Subject: Re: Ldap API Custom C

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 ! > >

Re: Ldap API Custom Controls

2017-10-05 Thread Chris Pike
.org> Sent: Monday, September 11, 2017 6:57:38 PM Subject: Re: Ldap API Custom Controls The control value (3003020101) is a PDU which has teh following meaning : 0x30 0x03 : SEQ length 3 0x02 0x01 0x01 : INTEGER length 1 value 1 So you have sent a correct Control, but the OID has ch

Re: Ldap API Custom Controls

2017-09-11 Thread Radovan Semancik
kin...@apache.org> To: "api" <api@directory.apache.org> 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 <craig.ben...@psu.edu> wrote: It will take some changes to get a wireshark capture, since Password's can only

Re: Ldap API Custom Controls

2017-09-08 Thread CRAIG BENNER
6.1.4.2239) criticality: True controlValue: 3003020101 Thanks. Craig Benner - Original Message - From: "Shawn McKinney" <smckin...@apache.org> To: "api" <api@directory.apache.org> Sent: Friday, September 8, 2017 9:58:56 AM Subject: Re:

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

Re: Ldap API Custom Controls

2017-09-07 Thread CRAIG BENNER
- > From: "Chris Pike" <clp...@psu.edu> > To: "api" <api@directory.apache.org> > 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

Re: Ldap API Custom Controls

2017-09-07 Thread Emmanuel Lécharny
: "Chris Pike" <clp...@psu.edu> > To: "api" <api@directory.apache.org> > 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 l

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" <clp...@psu.edu> To: "api" <api@directory.apache.org> Sent: Thursday, September 7, 2017 4:20:58 PM Subject: Re: Ldap API Custom C

Re: Ldap API Custom Controls

2017-09-07 Thread Chris Pike
or what might be wrong? - Original Message - From: "Chris Pike" <clp...@psu.edu> To: "api" <api@directory.apache.org> Sent: Monday, September 4, 2017 6:50:37 PM Subject: Re: Ldap API Custom Controls Thanks for the suggestions and code examples. I'll

Re: Ldap API Custom Controls

2017-09-04 Thread Chris Pike
ay, September 4, 2017 3:46:49 AM Subject: Re: Ldap API Custom Controls 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 usu

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

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

Re: Ldap API Custom Controls

2017-09-04 Thread Radovan Semancik
- From: Emmanuel Lecharny <elecha...@apache.org> 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 Pik

Re: Ldap API Custom Controls

2017-09-03 Thread Emmanuel Lécharny
it your control. 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 <elecha...@apache.org> > To: api@directory.apache.org > Sent:

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

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