support for LDAPv2 queries
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > support for LDAPv2 queries




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    support for LDAPv2 queries  
niroshan hewakoparage


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 12:11 PM

Hi,
Is it possible to configure ApacheDS to support LDAPv2 queries? At the momen
t i am getting the following exception with LDAPv2 queries, LDAPV3 woreks fi
le.

If configuration is not possible is there a way to achive this? I only need 
to accept the LDAPv2 queries and direct it to a custom partition which will 
process the query with another LDAP server.(Custom partition acts like a LDA
P proxy ).

[11:32:42,027] ERROR [org.apache.directory.shared.ldap.codec.bind.Bi
ndRequestGrammar] - The version 2 is invalid : it must be 3
[11:32:42,029] ERROR [org.apache.directory.server.ldap.LdapProtocolP
rovider$LdapProtocolHandler] - [/10.6.13.70:50029] EXCEPTION:
org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.directory.
shared.ldap.message.MessageException: decoder failture: Ldap Version 2 is no
t supported (Hexdump: 04 26 63 6E 3D 72 6F 6F 74 2C 64 63 3D 70 6F 63 6B 65 
74 6E 65 74 2C 64 63 3D 74
65 6C 73 74 72 61 2C 64 63 3D 6E 65 74 80 09 63 34 6D 33 6C 65 75 63 68)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protocol
CodecFilter.java:68)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRecei
ved(AbstractIoFilterChain.java:494)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstract
IoFilterChain.java:52)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageR
eceived(AbstractIoFilterChain.java:761)
at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.jav
a:665)
at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFi
lter.java:421)
at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:
376)
Caused by: org.apache.directory.shared.ldap.message.MessageException: decode
r failture: Ldap Version 2 is not supported
at org.apache.directory.shared.ldap.message.MessageDecoder.decode(MessageDec
oder.java:210)
at org.apache.mina.filter.codec.asn1.Asn1CodecDecoder.decode(Asn1CodecDecode
r.java:37)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protocol
CodecFilter.java:56)
.. 6 more

Kind Regards
Niroshan









[ Post a follow-up to this message ]



    Re: support for LDAPv2 queries  
Emmanuel Lecharny


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 12:11 PM

Hi Niroshan,

sorry, currently, there are no plan to support LdapV2 in ADS. I don't
think we will ever support it either... (for many reasons, summarized
here : http://www.rfc-archive.org/getrfc.php?rfc=3D3494).

Don't know. May be we may change our mind 

Sorry about that.
Emmanuel

On 6/6/06, niroshan hewakoparage <niroshanhewa-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrot
e:
> Hi,
>     Is it possible to configure ApacheDS to support LDAPv2 queries? At th=
e moment i am getting the following exception with LDAPv2 queries, LDAPV3 w=
oreks file.
>
>    If configuration is not possible is there a way to achive this? I only=
need to accept the LDAPv2 queries and direct it to a custom partition whic=
h will process the query with another LDAP server.(Custom partition acts li=
ke a LDAP proxy ).
>
>    [11:32:42,027] ERROR [org.apache.directory.shared.ldap.codec.bind.Bind=

RequestGrammar] - The version 2 is invalid : it must be 3
>  [11:32:42,029] ERROR [org.apache.directory.server.ldap.LdapProtocolProvi=

der$LdapProtocolHandler] - [/10.6.13.70:50029] EXCEPTION:
>  org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.direct=
ory.shared.ldap.message.MessageException: decoder failture: Ldap Version 2 =
is not supported (Hexdump: 04 26 63 6E 3D 72 6F 6F 74 2C 64 63 3D 70 6F 63 =
6B 65 74 6E 65 74 2C 64 63 3D 74 65 6C 73 74 72 61 2C 64 63 3D 6E 65 74 80 =
09 63 34 6D 33 6C 65 75 63 68)
>      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(=
ProtocolCodecFilter.java:68)
>      at org.apache.mina.common.support.AbstractIoFilterChain.callNextMess=
ageReceived(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(ThreadPoolFi=
lter.java:665)
>      at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(Thre=
adPoolFilter.java:421)
>      at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilt=
er.java:376)
>  Caused by: org.apache.directory.shared.ldap.message.MessageException: de=
coder failture: Ldap Version 2 is not supported
>      at org.apache.directory.shared.ldap.message.MessageDecoder.decode(Me=
ssageDecoder.java:210)
>      at org.apache.mina.filter.codec.asn1.Asn1CodecDecoder.decode(Asn1Cod=
ecDecoder.java:37)
>      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(=
ProtocolCodecFilter.java:56)
>      ... 6 more
>
>  Kind Regards
>  Niroshan
>
>
>
>


--=20
Cordialement,
Emmanuel L=E9charny






[ Post a follow-up to this message ]



    Re: support for LDAPv2 queries  
Alex Karasulu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 12:11 PM

niroshan hewakoparage wrote:

>Hi,
>    Is it possible to configure ApacheDS to support LDAPv2 queries? At the 
moment i am getting the following exception with LDAPv2 queries, LDAPV3 wore
ks file.
>
>   If configuration is not possible is there a way to achive this? I only n
eed to accept the LDAPv2 queries and direct it to a custom partition which w
ill process the query with another LDAP server.(Custom partition acts like a
 LDAP proxy ).
>
>   [11:32:42,027] ERROR [org.apache.directory.shared.ldap.codec.bin
d.BindRequestGrammar] - The version 2 is invalid : it must be 3
> [11:32:42,029] ERROR [org.apache.directory.server.ldap.LdapProtoco
lProvider$LdapProtocolHandler] - [/10.6.13.70:50029] EXCEPTION:
> org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.directory.shared
.ldap.message.MessageException: decoder failture: Ldap Version 2 is not supported (H
exdump: 04 26 63 6E 3D 72 6F 6F 74 2C 64 63 3D 70 6F 63 6B 65 74 6E 65 74 2C 64 63 3
D 7
4 65 6C 73 74 72 61 2C 64 63 3D 6E 65 74 80 09 63 34 6D 33 6C 65 75 63 68)
>     at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Pr
otocolCodecFilter.java:68)
>     at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessag
eReceived(AbstractIoFilterChain.java:494)
>     at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Ab
stractIoFilterChain.java:52)
>     at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.me
ssageReceived(AbstractIoFilterChain.java:761)
>     at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilt
er.java:665)
>     at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(Thread
PoolFilter.java:421)
>     at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter
.java:376)
> Caused by: org.apache.directory.shared.ldap.message.MessageException: deco
der failture: Ldap Version 2 is not supported
>     at org.apache.directory.shared.ldap.message.MessageDecoder.decode(Mess
ageDecoder.java:210)
>     at org.apache.mina.filter.codec.asn1.Asn1CodecDecoder.decode(Asn1Codec
Decoder.java:37)
>     at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Pr
otocolCodecFilter.java:56)
>     ... 6 more
>
>

Yeah sorry as Emmanuel stated we do not support LDAPv2 specific filters.

Alex







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register