You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2025/11/04 12:39:00 UTC

[jira] [Commented] (DIRSERVER-2422) After upgrade from AM25 to AM26 multivalued records stop working

    [ https://issues.apache.org/jira/browse/DIRSERVER-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035324#comment-18035324 ] 

Emmanuel Lécharny commented on DIRSERVER-2422:
----------------------------------------------

Hi Martin,

I can confirm the issue with M26, I tested it in Apache Directory Studio which uses this version, and there is indeed an issue when using multiple RDNs entry when binding (I was able to create the entry though).

I have added a test in the M28-SNAPSHOT version of the server, and I can successfully bind.

 In M26, we use LDAP API 2.0.0, while in M27 we use LDAP API 2.1.5, and there were 8 versions in between... 

And of course, looking for the change log gives me :

https://issues.apache.org/jira/browse/DIRAPI-380

which has been solved in LDAP API 2.1.1

So this has been fixed in Apache Directory Server M27.

> After upgrade from AM25 to AM26 multivalued records stop working
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-2422
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2422
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0.AM26
>            Reporter: Martin Choma
>            Priority: Major
>         Attachments: SpecialNamesTestCase.ldif
>
>
> I have upgraded our EAP testsuite to version ApacheDS 2.0.0.AM26 from 2.0.0.AM25 and multi valued users or roles stopped to be returning succesfully. By multivalue user/role I Mean
> {code}
> dn: ou=Sales+uid=jdukeMultiValued,ou=People,${dnSuffix}
> objectclass: top
> objectclass: person
> objectClass: inetOrgPerson
> uid: jdukeMultiValued
> cn: Java Duke
> sn: Duke
> ou: Sales
> userPassword: Password1
> dn: ou=Sales+cn=jdukeMultiValued,ou=Roles,${dnSuffix}
> objectClass: top
> objectClass: groupOfNames
> cn: jdukeMultiValued
> ou: Sales
> description: the MultiValue group
> member: ou=Sales+uid=jdukeMultiValued,ou=People,${dnSuffix}
> {code}
> In log I can see
> {code}
> 18:39:41,261 DEBUG [org.jboss.eapqe.krbldap.servers.ldap.LdapServer] (main) Adding entry: ou=Sales+uid=jdukeMultiValued,ou=People,o=SpecialNamesTestCase5924a5f7,o=primary,dc=jboss,dc=org
> 18:39:41,261 DEBUG [org.apache.mina.filter.codec.ProtocolCodecFilter] (NioProcessor-3) Processing a MESSAGE_RECEIVED for session 11
> 18:39:41,261 DEBUG [org.apache.mina.core.filterchain.IoFilterEvent] (pool-9-thread-1) Firing a MESSAGE_RECEIVED event for session 11
> 18:39:41,284 DEBUG [org.apache.mina.core.filterchain.IoFilterEvent] (pool-9-thread-1) Event MESSAGE_RECEIVED has been fired for session 11
> 18:39:41,284 DEBUG [org.apache.mina.filter.codec.ProtocolCodecFilter] (NioProcessor-18) Processing a MESSAGE_RECEIVED for session 12
> ...
> 18:39:45,254 ERROR [org.apache.directory.server.core.authn.AbstractAuthenticator] (pool-9-thread-1) ERR_6 Authentication error : Attempt to lookup non-existant entry: ou=Sales+uid=jdukeMultiValued,ou=People,o=SpecialNamesTestCase5924a5f7,o=primary,dc=jboss,dc=org
> {code}
> Comparing changes https://github.com/apache/directory-server/compare/2.0.0.AM25...2.0.0.AM26 , I can't spot anything which could be related 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org