Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Felix Knecht
On 12/13/2010 06:35 PM, Emmanuel Lecharny wrote: On 12/13/10 6:25 PM, Stefan Seelmann wrote: On Mon, Dec 13, 2010 at 6:00 PM, Emmanuel Lecharny wrote: On 12/13/10 5:55 PM, Alex Karasulu wrote: On Mon, Dec 13, 2010 at 5:39 PM, Stefan Seelmannwrote: Thoughts? +1 I thought about making the p

[jira] Commented: (DIRSERVER-1556) Error message: ERR_00004 The PDU buffer size is too small !

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSERVER-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970944#action_12970944 ] Emmanuel Lecharny commented on DIRSERVER-1556: -- This is nothing close the

[jira] Updated: (DIRSHARED-67) Remove all usage of JNDI from shared-ldap

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-67: --- Fix Version/s: (was: 1.0.0-RC1) 1.0.0 It will be a bit compl

Re: AdministrativePoint handling

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 6:00 PM, Alex Karasulu wrote: On Mon, Dec 13, 2010 at 12:41 PM, Emmanuel Lecharnywrote: Hi guys, I'm resuming the APs implementation. I have had a new idea this morning about the best way to handle them. Currently, we had devised about too possible options 1) Processing the entri

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Alex Karasulu
On Mon, Dec 13, 2010 at 7:35 PM, Emmanuel Lecharny wrote: > On 12/13/10 6:25 PM, Stefan Seelmann wrote: > >> On Mon, Dec 13, 2010 at 6:00 PM, Emmanuel Lecharny >> wrote: >> >>> On 12/13/10 5:55 PM, Alex Karasulu wrote: >>> On Mon, Dec 13, 2010 at 5:39 PM, Stefan Seelmannwrote:

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 6:25 PM, Stefan Seelmann wrote: On Mon, Dec 13, 2010 at 6:00 PM, Emmanuel Lecharny wrote: On 12/13/10 5:55 PM, Alex Karasulu wrote: On Mon, Dec 13, 2010 at 5:39 PM, Stefan Seelmannwrote: Thoughts? +1 I thought about making the partitionPath a URL but just saw your email. Consi

Re: AdministrativePoint handling

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 6:00 PM, Alex Karasulu wrote: On Mon, Dec 13, 2010 at 12:41 PM, Emmanuel Lecharnywrote: Hi guys, I'm resuming the APs implementation. I have had a new idea this morning about the best way to handle them. Currently, we had devised about too possible options 1) Processing the entri

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Stefan Seelmann
On Mon, Dec 13, 2010 at 6:00 PM, Emmanuel Lecharny wrote: > On 12/13/10 5:55 PM, Alex Karasulu wrote: >> >> On Mon, Dec 13, 2010 at 5:39 PM, Stefan >> Seelmannwrote: >> >>> Thoughts? >>> >> +1 >> >> I thought about making the partitionPath a URL but just saw your email. >> Consistency is good but

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Pierre-Arnaud Marcelot
+1 Regards, Pierre-Arnaud On 13 déc. 2010, at 17:09, Stefan Seelmann wrote: > On Mon, Dec 13, 2010 at 4:44 PM, Emmanuel Lecharny > wrote: >> Hi guys, >> >> we currently have a shared-ldap-jndi module containing two classes : >> - JndiUtils >> - UniversalContextFactory >> >> The fist one of t

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Alex Karasulu
On Mon, Dec 13, 2010 at 6:59 PM, Emmanuel Lécharny wrote: > On 12/13/10 5:53 PM, Alex Karasulu wrote: > >> This may be something we can just toss. Also shared-ldap is getting >> seriously huge: we need to figure out something with respect to this >> before >> a 1.0. >> > > Yeah, there is some reor

Re: AdministrativePoint handling

2010-12-13 Thread Alex Karasulu
On Mon, Dec 13, 2010 at 7:00 PM, Alex Karasulu wrote: > To think this through let me just for the record go through the way search > interacts with the administrative model subsystem. I won't consider > base/object scoped searches. > >(1) On the way into the server a search may have some eval

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 5:55 PM, Alex Karasulu wrote: On Mon, Dec 13, 2010 at 5:39 PM, Stefan Seelmannwrote: Thoughts? +1 I thought about making the partitionPath a URL but just saw your email. Consistency is good but why is using a URL so complex? I have the same question. Using an URL for files is a

Re: AdministrativePoint handling

2010-12-13 Thread Alex Karasulu
On Mon, Dec 13, 2010 at 12:41 PM, Emmanuel Lecharny wrote: > Hi guys, > > I'm resuming the APs implementation. I have had a new idea this morning > about the best way to handle them. > > Currently, we had devised about too possible options > > 1) Processing the entries while adding a new AP > The

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Emmanuel Lécharny
On 12/13/10 5:53 PM, Alex Karasulu wrote: This may be something we can just toss. Also shared-ldap is getting seriously huge: we need to figure out something with respect to this before a 1.0. Yeah, there is some reorganization to do. Right now, we have 7 remaining issues for shared, I'm tryin

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Alex Karasulu
On Mon, Dec 13, 2010 at 5:39 PM, Stefan Seelmann wrote: > Hi dev, > > our current partition implementations use different fields/methods to > configure the location where partition data is persisted: > - BTreePartition defines a 'partitionDir' with getter/setter, this is > used by the JdbmPartitio

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Alex Karasulu
This may be something we can just toss. Also shared-ldap is getting seriously huge: we need to figure out something with respect to this before a 1.0. Alex On Mon, Dec 13, 2010 at 6:28 PM, Emmanuel Lecharny wrote: > On 12/13/10 5:09 PM, Stefan Seelmann wrote: > >> On Mon, Dec 13, 2010 at 4:44 PM

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 5:09 PM, Stefan Seelmann wrote: On Mon, Dec 13, 2010 at 4:44 PM, Emmanuel Lecharny wrote: Hi guys, we currently have a shared-ldap-jndi module containing two classes : - JndiUtils - UniversalContextFactory The fist one of those class is duplicated in shared-ldap, as we need many o

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Stefan Seelmann
On Mon, Dec 13, 2010 at 5:04 PM, Emmanuel Lecharny wrote: > On 12/13/10 4:39 PM, Stefan Seelmann wrote: >> >> Hi dev, >> >> our current partition implementations use different fields/methods to >> configure the location where partition data is persisted: >> - BTreePartition defines a 'partitionDir

Re: shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Stefan Seelmann
On Mon, Dec 13, 2010 at 4:44 PM, Emmanuel Lecharny wrote: > Hi guys, > > we currently have a shared-ldap-jndi module containing two classes : > - JndiUtils > - UniversalContextFactory > > The fist one of those class is duplicated in shared-ldap, as we need many of > the methods it contains for the

Re: Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 4:39 PM, Stefan Seelmann wrote: Hi dev, our current partition implementations use different fields/methods to configure the location where partition data is persisted: - BTreePartition defines a 'partitionDir' with getter/setter, this is used by the JdbmPartition - AbstractLdifPartit

shared-ldap-jndi module : is it useful ?

2010-12-13 Thread Emmanuel Lecharny
Hi guys, we currently have a shared-ldap-jndi module containing two classes : - JndiUtils - UniversalContextFactory The fist one of those class is duplicated in shared-ldap, as we need many of the methods it contains for the SP sub-system. We can't remove it from shared-ldap, as shared-ldap-jn

Partitions: partitionDir, workingDirectory, ldifFile

2010-12-13 Thread Stefan Seelmann
Hi dev, our current partition implementations use different fields/methods to configure the location where partition data is persisted: - BTreePartition defines a 'partitionDir' with getter/setter, this is used by the JdbmPartition - AbstractLdifPartition defines a 'workingDirectory' with getter/s

[jira] Resolved: (DIRSHARED-65) Enabling a disabled schema should also enable any disabled schemas the current schema depends on

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSHARED-65. Resolution: Fixed Fixed http://svn.apache.org/viewvc?rev=1045161&view=rev > Ena

Re: AdministrativePoint handling

2010-12-13 Thread Emmanuel Lecharny
On 12/13/10 1:28 PM, Stefan Seelmann wrote: Hi Emmanuel, the lazy evaluation sounds interesting, great idea. Just to clarify: You are talking only about the process to determine which AP and ACIs are applied to an entry (which is done by evaluating all AP subtree specifications), right? Right

Re: AdministrativePoint handling

2010-12-13 Thread Stefan Seelmann
Hi Emmanuel, the lazy evaluation sounds interesting, great idea. Just to clarify: You are talking only about the process to determine which AP and ACIs are applied to an entry (which is done by evaluating all AP subtree specifications), right? The concrete evaluation of the ACI must always be don

[jira] Updated: (DIRSHARED-36) Attribute type description schema parser uses integer for syntax length, should be BigInteger

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-36: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Attribute type desc

[jira] Updated: (DIRSHARED-40) DN parser, LdapDN, Rdn, Atav issues

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-40: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > DN parser, LdapDN,

[jira] Updated: (DIRSHARED-60) Equality matching rule is not required for an attribute type description

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-60: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Equality matching r

[jira] Updated: (DIRSHARED-63) LDIFEntry does not handle controls

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-63: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > LDIFEntry does not

[jira] Updated: (DIRSHARED-68) schema extensions are not correctly parsed

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-68: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > schema extensions a

[jira] Updated: (DIRSHARED-71) SearchResultEntryDsml does not use the provided name of the attribute type

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-71: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > SearchResultEntryDs

[jira] Updated: (DIRSHARED-46) The LdapDN.toString() method should use the UP name, not the normNane

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-46: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > The LdapDN.toString

[jira] Updated: (DIRSHARED-58) Interface org.apache.directory.shared.ldap.cursor.Cursor isn't complete

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-58: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Interface org.apach

[jira] Updated: (DIRSHARED-28) Need a feature like toString but different

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-28: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Need a feature like

[jira] Updated: (DIRSHARED-4) RDN length and start fields are not set

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-4: -- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > RDN length and start f

[jira] Updated: (DIRSHARED-59) Replace public static finals by enums

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-59: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Replace public stat

[jira] Updated: (DIRSHARED-34) LdifEntry.toString() should print LDIF rather than diagnostic information

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-34: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > LdifEntry.toString(

[jira] Updated: (DIRSHARED-54) Replace all the JNDI exceptions with our own exceptions (API)

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-54: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Replace all the JND

[jira] Updated: (DIRSHARED-61) Cleaning LdapMessage classes

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-61: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Cleaning LdapMessag

[jira] Updated: (DIRSHARED-70) Bug when switching to winter time

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSHARED-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-70: --- Fix Version/s: (was: 0.9.20) 1.0.0-RC1 > Bug when switching

Re: AdministrativePoint handling

2010-12-13 Thread Pierre-Arnaud Marcelot
Hi Emmanuel, Interesting idea! A great combination of both original solutions into a single one... I like the idea of lazy evaluation and the fact that the administrator can, if he wants it, go back to solution #1 by simply searching (objectClass=*) under the newly created/updated AP after it

AdministrativePoint handling

2010-12-13 Thread Emmanuel Lecharny
Hi guys, I'm resuming the APs implementation. I have had a new idea this morning about the best way to handle them. Currently, we had devised about too possible options 1) Processing the entries while adding a new AP The idea is that when we add a new AP (or delete an existing one, or modify

[jira] Updated: (DIRSERVER-1575) AbstractLdapTestUnit fails with more than one @Test when partition located within service's working directory

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSERVER-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1575: - Fix Version/s: 2.0.0-RC1 > AbstractLdapTestUnit fails with more than one @Tes

[jira] Updated: (DIRSERVER-1587) Shutdown fails when attempting to remove an already removed partition

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSERVER-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1587: - Affects Version/s: 1.5.7 Fix Version/s: 2.0.0-RC1 > Shutdown fails wh

[jira] Updated: (DIRSERVER-1584) document how to limit the available ciphers for ldaps (how to disable SSL3_RSA_RC4_40_MD5 : SSL_EXPORT SSL3_RSA_DES_40_CBC_SHA)

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSERVER-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1584: - Fix Version/s: 2.0.0-RC1 > document how to limit the available ciphers for ld

[jira] Updated: (DIRSERVER-1578) The index values must have been normalized before being used

2010-12-13 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSERVER-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1578: - Fix Version/s: 2.0.0-RC1 > The index values must have been normalized before