|
Two more comments:
1. The issue exists on the system partition as well. 2. I made a change to the BTreeContextPartition.java file (patch attached) The patch adds a conditional to the init method. It checks wether the entry for the suffix exists. If not, it creates it. This should remove at least the problem Endi described in this issue (a skilled person shall check, whether this is a clever change). But I am unsure, whether it helps to fix other problems, which may arise if sb changes the configuration for the partition between startups in the server.xml (e.g. add some attributes in contextEntry or indexedAttributes ...).
Stefan Zoerner made changes - 01/Sep/05 12:30 AM
Alex Karasulu made changes - 12/Sep/05 01:44 AM
make the link for tracking in the future
Alex Karasulu made changes - 12/Sep/05 04:12 AM
Alex Karasulu made changes - 12/Sep/05 04:13 AM
Alex Karasulu made changes - 12/Sep/05 04:18 AM
The fix has been verified. Thanks.
Endi S. Dewata made changes - 13/Sep/05 03:32 AM
Alex Karasulu made changes - 10/Feb/06 12:34 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comments:
My complete search command looked like this
$ ldapsearch -h localhost -p 10389 -b "dc=apache,dc=org" -s sub "(objectclass=*)"
Using the base scope displays only one entry -- this is probably the cause, why the problem does not show up in the GUI tools I checked (as Endi assumed).
I was not able to create yet another "dc=apache,dc=org" entry on an already running ApacheDS from outside by using ldapmodify (entry is rejected as expected). But it is possible to create entries with different attribute value sets by changing the server.xml configuration between startups.
This leads to the question, what the correct behaviour is, if someone changes the configuration here (add some attributes, for example). The LDAP servers I know have the suffixes as a part of the configuration, but adding a new suffix does not automatically add a corresponding entry. This has to be done after server startup, manually.