directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <>
Subject [jira] Commented: (DIREVE-240) Duplicate root entry gets added everytime restarting the server
Date Wed, 31 Aug 2005 11:36:07 GMT
    [ ] 

Stefan Zoerner commented on DIREVE-240:

It is quite easy to reproduce this one, thanks to Endi's detailed instractions. 
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

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.  

> Duplicate root entry gets added everytime restarting the server
> ---------------------------------------------------------------
>          Key: DIREVE-240
>          URL:
>      Project: Directory Server
>         Type: Bug
>   Components: jdbm database
>     Versions: 0.9.3
>     Reporter: Endi S. Dewata
>     Assignee: Alex Karasulu

> Duplicate root entry gets added everytime restarting the server.
> Steps to reproduce:
> 1. Start the server:
>     java -jar main/target/apacheds-main-0.9.3-SNAPSHOT.jar main/server.xml
> 2. Use a command line ldapsearch, execute the following:
>     ldapsearch -h localhost -p 10389 -b "dc=apache,dc=org"
>     It returns an entry: dc=apache,dc=org.
> 3. Restart the server.
> 4. Execute the same search operation.
>     This time it returns 2 entries, both are: dc=apache,dc=org.
> The more you restart the server, the more duplicate entries you will get. Note: if you
use an LDAP browser you probably won't see this problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message