directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2161) Server drops connection with incorrect OID in search request
Date Mon, 20 Mar 2017 19:39:41 GMT

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

Emmanuel Lecharny commented on DIRSERVER-2161:
----------------------------------------------

Hmmm... How can it be wrong ? I mean, you try to do a search using an invalid DN, do you expect
to get anything but an exception ?

> Server drops connection with incorrect OID in search request
> ------------------------------------------------------------
>
>                 Key: DIRSERVER-2161
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2161
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M22
>         Environment: Microsoft Windows 7 Professional SP1 eng
>            Reporter: Gavrylenko Taras
>
> STR:
> 1 Bind ApacheDS server
> 2 Open QuickSearch dialog
> 3 Type in SearchBase filed : dc=example,d=com (with incorrect OID, for example d=)
> 4 Perform QuickSearch request
> Server error log:
> [16:59:40] ERROR [org.apache.directory.api.ldap.model.name.Dn] - ERR_04268_OID_NOT_FOUND
OID 'd' not found in oid to schema name map!
> [16:59:40] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected exception
forcing session to close: sending disconnect notice to client.
> org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: ERR_04268_OID_NOT_FOUND
OID 'd' not found in oid to schema name map!
> at org.apache.directory.api.ldap.model.name.Dn.atavOidToName(Dn.java:1084)
> at org.apache.directory.api.ldap.model.name.Dn.rdnOidToName(Dn.java:1162)
> at org.apache.directory.api.ldap.model.name.Rdn.apply(Rdn.java:481)
> at org.apache.directory.api.ldap.model.name.Dn.apply(Dn.java:1222)
> at org.apache.directory.api.ldap.model.name.Dn.apply(Dn.java:1301)
> at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handleWithReferrals(SearchRequestHandler.java:1228)
> at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handle(SearchRequestHandler.java:212)
> at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handle(SearchRequestHandler.java:92)
> at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
> at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
> at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:221)
> at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:216)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:854)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
> at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
> at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
> at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
> at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:475)
> at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:429)
> at java.lang.Thread.run(Unknown Source) 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message