|
Hi Emmanuel,
I did not try with another tool because I have no other tool yet. Nevertheless, I found the problem on my client code and tried with JXplorer which has the same pb. I have seen something to tell you about to reproduce in JXplorer. First of all, I have ACLs enabled and forgot to tell about it in environment... In JXplorer, under groups as admin, create a new entry with classes Top and groupOfUniqueNames. Enter the common name like "cn=secrétaire" and valiadate the creation box. In the right table of JXplorer, add as uniqueMember "uid=admin, ou=system". Submit changes to LDAP server. It works and you can look at the entry event if you look another one and come back to "secrétaire". Now, log out and login as admin. Go to "secrétaire" and there is an exception with these details : javax.naming.NameNotFoundException: [LDAP: error code 32 - failed on search operation: SearchRequest baseDn : 'cn=secr?taire,ou=groups,ou=system' filter : '(objectClass=*) ' scope : base object typesOnly : false no limit Time Limit : no limit Deref Aliases : deref Finding Base Obj attributes : : org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to search under non-existant entry: cn=secr?taire,ou=groups,ou=system at org.apache.directory.server.core.exception.ExceptionService.assertHasEntry(ExceptionService.java:377) at org.apache.directory.server.core.exception.ExceptionService.search(ExceptionService.java:353) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1257) at org.apache.directory.server.core.authz.AuthorizationService.search(AuthorizationService.java:899) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1257) at org.apache.directory.server.core.referral.ReferralService.search(ReferralService.java:905) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1257) at org.apache.directory.server.core.authn.AuthenticationService.search(AuthenticationService.java:388) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1257) at org.apache.directory.server.core.normalization.NormalizationService.search(NormalizationService.java:180) at org.apache.directory.server.core.interceptor.InterceptorChain.search(InterceptorChain.java:822) at org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:461) at org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:406) at org.apache.directory.server.core.jndi.ServerDirContext.search(ServerDirContext.java:526) at org.apache.directory.server.ldap.support.SearchHandler.messageReceived(SearchHandler.java:265) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:128) at org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived(LdapProtocolProvider.java:431) at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) at org.apache.mina.filter.LoggingFilter.messageReceived(LoggingFilter.java:87) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:91) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.java:665) at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFilter.java:421) at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:376) ]; remaining name 'cn=secr taire,ou=groups,ou=system' If this is not enought to help i will try to install the tool you tell me about. Tony I don't know about JXplorer, but with LdapBrowser, if you modify an entry (let say cn=lecharny, ou=users, ou=system to cn=lécharny, ou=users, ou=system), it works if you select the 'with children' option.
We must create a test case for this one, I think. (tested on 1.0-RC4-SNAPSHOT) I have tested the server - in branches/apacheds/1.0-trunks, which will be the 1.0-RC4 release -, following the steps in jexplorer; (creating a group where cn=secrétaire, etc ...), but I can't reproduce the problem.
Can you confirm that it has been fixed? If it's not, feel free to repoen the issue. 1.0 has been released more than 2 years ago ...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
have you ried with another tool than jxplorer? Let's say LdapBrowser, or just a simple ldif file...
I think it should work, but there may be a bug somewhere... Could you isolate the problem you experienced with jxplorer and reproduce it with ldapbrowser?
Emmanuel Lécharny (with a 'é', testé et approuvé sur ADS :)