minor error on 5 minute example page

2013-07-24 Thread Richard Sand
The 5 minute example page is incorrect on how to create an LdapConnection, since that is an interface. Not trying to nitpick, but it's probably worth fixing now - just that whole first impression notion... The example: LdapConnection connection = new LdapConnection( localhost, 389 ); Should

RE: minor error on 5 minute example page

2013-07-24 Thread Richard Sand
Sorry for sending to the users list instead of the api list. -Original Message- From: Richard Sand [mailto:rs...@idfconnect.com] Sent: Wednesday, July 24, 2013 2:06 PM To: users@directory.apache.org Subject: minor error on 5 minute example page The 5 minute example page is incorrect

empty membership in groupofnames/groupofuniquenames

2013-07-26 Thread Richard Sand
Hi all - I know this topic is a rehash of an age old debate, whether groupOfNames/groupOfUniqueNames should allow the member/uniquemember attributes to be empty. Many LDAP vendors allow empty groups (all from the Netscape lineage, CA Directory, AD) but that breaks RFC-compliance. So just from a

DS schema export import

2013-07-30 Thread Richard Sand
Hi all - quick question, in the Schema Editor, after creating a schema project and importing from a live ApacheDS server - is there a way to re-import/re-load/refresh that schema from the server? Right now I'm just deleting the schema project and creating a new one each time. Is a way to do the

RE: DS schema export import

2013-07-30 Thread Richard Sand
Of Pierre-Arnaud Marcelot Sent: Tuesday, July 30, 2013 6:13 PM To: users@directory.apache.org Subject: Re: DS schema export import Hi Richard, Yes, I confirm it's the only option at the moment. Regards, Pierre-Arnaud On 30 juil. 2013, at 23:42, Richard Sand rs...@idfconnect.com wrote: Hi all

RE: DS schema export import

2013-07-31 Thread Richard Sand
of schema versioning. It could even take place on the client side than the server side which would allow it to spread across multiple types of servers, not only ApacheDS. But there's really a good amount of work to accomplish this. Regards, Pierre-Arnaud On 31 juil. 2013, at 01:51, Richard Sand

GeneralizedTime attribute

2016-03-29 Thread Richard Sand
Hi all - using the latest SDK and Apache Directory, I'm having trouble populating a GeneralizedTime attribute. Any help appreciated, thanks! My code: GeneralizedTime gt = new GeneralizedTime(new SimpleDateFormat(BasicChecker.DATEFORMAT).parse(license.getExpiration()));

Re: does apacheds supply an embedded runtime for use in unit testing?

2016-09-02 Thread Richard Sand
That's excellent, thanks Kiran!! -Richard -- Original Message -- From: "Kiran Ayyagari" <kayyag...@apache.org> To: "users@directory.apache.org" <users@directory.apache.org>; "Richard Sand" <rs...@idfconnect.com> Sent: 9/2/2016 11:06:31

Re: RFC 2696 and total entries in the search result

2016-09-22 Thread Richard Sand
the capability? -Richard -- Original Message -- From: "Emmanuel Lécharny" <elecha...@gmail.com> To: users@directory.apache.org Sent: 9/22/2016 10:21:28 AM Subject: Re: RFC 2696 and total entries in the search result Le 22/09/16 à 14:44, Richard Sand a écrit : Ok so basi

Re: RFC 2696 and total entries in the search result

2016-09-22 Thread Richard Sand
Ok, what is the proper technique then? -Richard -- Original Message -- From: "Emmanuel Lécharny" <elecha...@gmail.com> To: users@directory.apache.org Sent: 9/22/2016 8:14:25 AM Subject: Re: RFC 2696 and total entries in the search result Le 22/09/16 à 13:44, Richard S

Re: RFC 2696 and total entries in the search result

2016-09-22 Thread Richard Sand
e.org Sent: 9/22/2016 8:21:53 AM Subject: Re: RFC 2696 and total entries in the search result Le 22/09/16 à 14:18, Richard Sand a écrit : Ok, what is the proper technique then? always pull at least one element than the number you can store in one page : that will tell you if you will

Re: RFC 2696 and total entries in the search result

2016-09-22 Thread Richard Sand
I think it's to have the web page say "showing 20 results" and links for "page 2, page 3" etc.? > On Sep 22, 2016, at 5:46 AM, Emmanuel Lécharny wrote: > >> Le 22/09/16 à 10:42, Doan Tin Nghia a écrit : >> Thanks. I need it for paging (same issue like >>

Embedded ApacheDS for JUnit tests - ehcache dependency conflict

2018-12-21 Thread Richard Sand
I’ve a project that uses ehcache 3, and have a unit tests that I want to use with the embedded ApacheDS which uses ehcache 2.9. This leads to the well-noted exception: java.lang.annotation.IncompleteAnnotationException: org.terracotta.statistics.Statistic missing element type If I exclude 2.9

RE: Exception Running ApacheDS embedded

2018-12-22 Thread Richard Sand
Hi Shawn - I think you just missed this note from https://directory.apache.org/apacheds/advanced-ug/7-embedding-apacheds.html : Please NOTE: you need to exclude org.apache.directory.api:api-ldap-schema-data artifact