Re: [DOC] Interested in documenting the API.

2012-02-01 Thread Pierre-Arnaud Marcelot
Hi Javier, Thanks for your proposal. Any help is more than welcome. :) The API user's guide visible at this URL [1] has been transferred from wiki pages edited online via Confluence to a text-based (in the Confluence wiki format) Maven project in Subversion [2] which allows us to generate HTML

Re: [DOC] Interested in documenting the API.

2012-02-01 Thread Alex Karasulu
There really is no set process other than document something and provide a document or patch in JIRA whether it's internal docs or does for a manual respectively. We like people who like to document stuff :-). Thanks man, Alex On Wed, Feb 1, 2012 at 8:29 PM, Javier Estrada wrote: > What is the

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Emmanuel Lecharny
On 2/2/12 12:36 AM, Christoph Czurda wrote: So I thought if this works for a Dn, it might as well work for a Rdn. Maybe the Rdn constructor should throw an InvalidDnException if it is passed a String containing more than one '='. Definitively. Can you create a JIRA for this issue ? Not that

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
On 02/02/2012 12:18 AM, Alex Karasulu wrote: > On Thu, Feb 2, 2012 at 1:14 AM, Christoph Czurda > wrote: > >> On 02/01/2012 11:58 PM, Alex Karasulu wrote: >>> On Wed, Feb 1, 2012 at 10:19 PM, Christoph Czurda >>> wrote: >>> Hi Pierre-Arnaud, The mistake was on my side. I used Rdn

RE: Configuration consulting

2012-02-01 Thread Marvin Wolfthal
Fixed? -Original Message- From: Jeremy Hanna [mailto:jeremy.hanna1...@gmail.com] Sent: Wednesday, February 01, 2012 11:43 AM To: users@directory.apache.org Subject: Re: Configuration consulting Hi Marvin, Thanks for responding. The issue from what they said: "We could not get the confi

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Alex Karasulu
On Thu, Feb 2, 2012 at 1:14 AM, Christoph Czurda wrote: > On 02/01/2012 11:58 PM, Alex Karasulu wrote: > > On Wed, Feb 1, 2012 at 10:19 PM, Christoph Czurda > > wrote: > > > >> Hi Pierre-Arnaud, > >> > >> The mistake was on my side. I used Rdn rdn = new Rdn("cn=a,ou=b"); and > >> passed this to a

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
On 02/01/2012 11:58 PM, Alex Karasulu wrote: > On Wed, Feb 1, 2012 at 10:19 PM, Christoph Czurda > wrote: > >> Hi Pierre-Arnaud, >> >> The mistake was on my side. I used Rdn rdn = new Rdn("cn=a,ou=b"); and >> passed this to a Dn constructor. I misinterpreted the description of >> class Rdn where i

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Alex Karasulu
On Wed, Feb 1, 2012 at 10:19 PM, Christoph Czurda wrote: > Hi Pierre-Arnaud, > > The mistake was on my side. I used Rdn rdn = new Rdn("cn=a,ou=b"); and > passed this to a Dn constructor. I misinterpreted the description of > class Rdn where it says that any String with a '=' is treated as a full >

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Hi Christoph, No worries. Glad you found what the issue was. Regards, Pierre-Arnaud Le 1 févr. 2012 à 21:19, Christoph Czurda a écrit : > Hi Pierre-Arnaud, > > The mistake was on my side. I used Rdn rdn = new Rdn("cn=a,ou=b"); and > passed this to a Dn constructor. I misinterpreted the descri

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
Hi Pierre-Arnaud, The mistake was on my side. I used Rdn rdn = new Rdn("cn=a,ou=b"); and passed this to a Dn constructor. I misinterpreted the description of class Rdn where it says that any String with a '=' is treated as a full Rdn. When I changed it, it worked as expected. I'm sorry for wastin

Re: Configuration consulting

2012-02-01 Thread Jeremy Hanna
Hi Marvin, Thanks for responding. The issue from what they said: "We could not get the configuration right so that our apps could update the password back in the LDAP database. It was a permissions thing." Jeremy On Feb 1, 2012, at 10:27 AM, Marvin Wolfthal wrote: > Can you describe the prob

Re: Configuration consulting

2012-02-01 Thread Marvin Wolfthal
Can you describe the problem? - Reply message - From: "Jeremy Hanna" To: Subject: Configuration consulting Date: Wed, Feb 1, 2012 11:23 am Hi all, Our IT staff is having a tough time getting apache directory configured and time is running out for a deadline for them. I normally lurk

Configuration consulting

2012-02-01 Thread Jeremy Hanna
Hi all, Our IT staff is having a tough time getting apache directory configured and time is running out for a deadline for them. I normally lurk around the Cassandra and Hadoop projects as a contributor there, but they asked me to reach out to the Directory community to see if anyone is willin

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
Yes, maybe it's just a version issue. Anyway, thank you for your effort. I will fetch the latest versions later and then report back. Kind regards, Christoph On 02/01/2012 01:55 PM, Pierre-Arnaud Marcelot wrote: > Thanks. > > I deleted my branch and imported yours from the LDIF. > > Everything

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Thanks. I deleted my branch and imported yours from the LDIF. Everything works as expected. Here's my testing Main class: > import java.io.IOException; > > import org.apache.directory.ldap.client.api.LdapConnectionConfig; > import org.apache.directory.ldap.client.api.LdapNetworkConnection; > im

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
Here it is. Thank you, Christoph On 02/01/2012 01:29 PM, Pierre-Arnaud Marcelot wrote: > Thanks. > > It's funny, but I really can't replicate the issue. > > When I use these three ways to access the information, they all succeed and > print "true": >> System.out.println( connection.exists( dnSt

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Thanks. It's funny, but I really can't replicate the issue. When I use these three ways to access the information, they all succeed and print "true": > System.out.println( connection.exists( dnString ) ); > System.out.println( connection.exists( dn ) ); > System.out.println( connection.exists( d

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
On 02/01/2012 01:13 PM, Pierre-Arnaud Marcelot wrote: > Christoph, > > I guess the 'cn=testAttribute' entry is an instance of the > 'openengsb-namedObject' Object Class, right? Yes, that's correct. > > Regards, > Pierre-Arnaud > > > On 1 févr. 2012, at 12:26, Christoph Czurda wrote: > >> Hi

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Christoph, I guess the 'cn=testAttribute' entry is an instance of the 'openengsb-namedObject' Object Class, right? Regards, Pierre-Arnaud On 1 févr. 2012, at 12:26, Christoph Czurda wrote: > Hi Pierre-Arnaud, > > I attached the ldif file. Btw, I used the LdapNetworkConnection as > proposed i

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Thanks Christoph, I will try to have a look at it later today or tomorrow morning. Regards, Pierre-Arnaud On 1 févr. 2012, at 12:26, Christoph Czurda wrote: > Hi Pierre-Arnaud, > > I attached the ldif file. Btw, I used the LdapNetworkConnection as > proposed in another thread. While it enabled

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
Hi Pierre-Arnaud, I attached the ldif file. Btw, I used the LdapNetworkConnection as proposed in another thread. While it enabled my custom schema, it still gives the same result for this particular unit test. If you have the time, feel free to comment on my schema. It is my first schema and I ap

Re: Custom schema objects

2012-02-01 Thread Christoph Czurda
I made a JIRA for it: Directory Client API DIRAPI-73 Regards, Christoph On 02/01/2012 11:50 AM, Emmanuel Lecharny wrote: > On 2/1/12 11:19 AM, Christoph Czurda wrote: >> >> >> On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: >>> to mention it quickly, new schema elements cannot be registered using

Re: Custom schema objects

2012-02-01 Thread Christoph Czurda
On 02/01/2012 11:36 AM, Kiran Ayyagari wrote: > On Wed, Feb 1, 2012 at 3:49 PM, Christoph Czurda > wrote: >> >> >> >> On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: >>> to mention it quickly, new schema elements cannot be registered using >>> connection.loadSchema() >>> you need to upload the new

Re: Custom schema objects

2012-02-01 Thread Emmanuel Lecharny
On 2/1/12 11:36 AM, Kiran Ayyagari wrote: On Wed, Feb 1, 2012 at 3:49 PM, Christoph Czurda wrote: On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: to mention it quickly, new schema elements cannot be registered using connection.loadSchema() you need to upload the new schema elements to the ser

Re: Custom schema objects

2012-02-01 Thread Emmanuel Lecharny
On 2/1/12 11:19 AM, Christoph Czurda wrote: On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: to mention it quickly, new schema elements cannot be registered using connection.loadSchema() you need to upload the new schema elements to the server. Please search the ML, this was already answered bef

Re: Custom schema objects

2012-02-01 Thread Christoph Czurda
On 02/01/2012 11:30 AM, Pierre-Arnaud Marcelot wrote: > On 1 févr. 2012, at 11:19, Christoph Czurda wrote: > >> On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: >>> to mention it quickly, new schema elements cannot be registered using >>> connection.loadSchema() >>> you need to upload the new schem

Re: Custom schema objects

2012-02-01 Thread Kiran Ayyagari
On Wed, Feb 1, 2012 at 3:49 PM, Christoph Czurda wrote: > > > > On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: >> to mention it quickly, new schema elements cannot be registered using >> connection.loadSchema() >> you need to upload the new schema elements to the server. >> >> Please search the ML,

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Emmanuel Lecharny
On 2/1/12 11:21 AM, Christoph Czurda wrote: Hi Emmanuel, Thanks for your reply. I'm sure your suggestion solves my problem, however there is more to it. I have a question about connection.loadSchema() but I asked it in another email (header is Re: custom schema objects) because it does not fit

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Thanks Christoph, I replicated the whole hierarchy of the DN you gave with standard schema element and I have not been able to reproduce the issue. As you mentioned in another mail, you're using a custom schema for your own set of Attribute Types and Object Classes. Would you be allowed to shar

Re: Custom schema objects

2012-02-01 Thread Pierre-Arnaud Marcelot
On 1 févr. 2012, at 11:19, Christoph Czurda wrote: > On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: >> to mention it quickly, new schema elements cannot be registered using >> connection.loadSchema() >> you need to upload the new schema elements to the server. >> >> Please search the ML, this was

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
Hi Emmanuel, Thanks for your reply. I'm sure your suggestion solves my problem, however there is more to it. I have a question about connection.loadSchema() but I asked it in another email (header is Re: custom schema objects) because it does not fit this topic. kind regards, Christoph On 02/01

Re: Custom schema objects

2012-02-01 Thread Christoph Czurda
On 01/10/2012 01:47 PM, Kiran Ayyagari wrote: > to mention it quickly, new schema elements cannot be registered using > connection.loadSchema() > you need to upload the new schema elements to the server. > > Please search the ML, this was already answered before. > Hi, I'm sorry but I can't g

Re: Separation of a live and test environment in APache Directory studio

2012-02-01 Thread Emmanuel Lecharny
On 2/1/12 10:40 AM, Eddie Eddie wrote: Hello, I have got a mixed environment currently with both test and live user accounts in an installation of apache directory studio version 1.4. I want to split this two environments ideally so that the test is completely separated from the live. curren

Separation of a live and test environment in APache Directory studio

2012-02-01 Thread Eddie Eddie
Hello, I have got a mixed environment currently with both test and live user accounts in an installation of apache directory studio version 1.4. I want to split this two environments ideally so that the test is completely separated from the live. currently there is only one ou=users which has

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Christoph Czurda
On 02/01/2012 10:34 AM, Pierre-Arnaud Marcelot wrote: > Hi Christoph, > > Could we have a look at the full DN you're using? Sure, here it is: cn=testAttribute,ou=attributes,cn=testUser,ou=users,ou=userdata,dc=openengsb,dc=org > > Thanks, > Pierre-Arnaud > > On 1 févr. 2012, at 06:16, Christoph

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Pierre-Arnaud Marcelot
Hi Christoph, Could we have a look at the full DN you're using? Thanks, Pierre-Arnaud On 1 févr. 2012, at 06:16, Christoph Czurda wrote: > Hello! > > I came accross a strange issue in a unit test. (server ApacheDS 2.0) > > Testing connection.exists(Dn dn) returns false. > When I test the Stri

Re: connection.exists(Dn) is false although entry exists

2012-02-01 Thread Emmanuel Lecharny
On 2/1/12 6:16 AM, Christoph Czurda wrote: Hello! Hi, I came accross a strange issue in a unit test. (server ApacheDS 2.0) Testing connection.exists(Dn dn) returns false. When I test the String overload with the same dn I get true. The code can probably explain better than words: Dn dn;