Apache Directory Project - [jira] Commented: (DIREVE-240) Duplicate root entry gets added everytime restarting th

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2005 > [jira] Commented: (DIREVE-240) Duplicate root entry gets added everytime restarting th





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIREVE-240) Duplicate root entry gets added everytime restarting th
Stefan Zoerner (JIRA)

2005-08-31, 7:45 am

[ http://issues.apache.org/jira/brows...action_12320683 ]

Stefan Zoerner commented on DIREVE-240:
---------------------------------------

It is quite easy to reproduce this one, thanks to Endi's detailed instractions.
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 automatical
ly 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: http://issues.apache.org/jira/browse/DIREVE-240
> 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:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com