[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6051) JLDAP SASL issue



--=__Part654DCF55.1__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

hi Hendrik,
   From Novell I am the one responsible for Jldap . Our product eDirectory =
does not support CRAM authentication. So this functionality is missing .
   I do not know how to test it ? Can we test it against openldap server ? =
=20
  You were talking about some test suite in the bug . What is that test =
suite ? Please if I can get that test suite I can test it .
=20
regards and thanks=20
Arpit=20

>>> <hendrik.saly@gmx.de> 4/10/2009 2:19 PM >>>
Full_Name: Hendrik Saly
Version: JLDAP 4.3
OS: Linux 2.6, Sun JDK 1.5
URL: http://svn.muleforge.org/mule-transport-ldap/trunk/src/main/java/com/n=
ovell/ldap/SaslLDAPConnection.java
Submission from: (NULL) (78.43.136.21)


While trying to use SASL with JLDAP i encounter a potential minor bug in
$OpenLDAP: pkg/jldap/com/novell/ldap/LDAPConnection.java,v 1.154 2006/02/09=

08:43:45 sunilk Exp $

Seems the bind method on line 1730 fails to release the bind semaphore =
properly
under some circumstances. I tried to use more than the wit JLDAP provided =
SASL
mechanisms DIGESTMD5 and EXTERNAL by wrapping the novell sasl client with =
a Java
1.5 sasl client. All works very well but CRAM login for example fails. I =
have a
workaround   http://svn.muleforge.org/mule-transport-ldap/trunk/src/main/ja=
va/com/novell/ldap/SaslLDAPConnection.java
but i thinks there are some problems with the bind semaphore.

The wrapping code is here
http://svn.muleforge.org/mule-transport-ldap/trunk/src/main/java/org/mule/t=
ransport/ldap/sasl/ClientFactory.java

If neccessary i can provide a test suite for this.

Thanks
Hendrik

--=__Part654DCF55.1__=
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-15=
">
<META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>hi Hendrik,</DIV>
<DIV>&nbsp;&nbsp; From Novell I am the one responsible for Jldap . Our =
product eDirectory does not support CRAM authentication. So this functional=
ity is missing .</DIV>
<DIV>&nbsp;&nbsp; I do not know how to test it ?&nbsp;Can we test it =
against openldap server ? &nbsp;</DIV>
<DIV>&nbsp; You were talking about some test suite in the bug . What is =
that test suite ? Please if I can get that test suite I can test it =
.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards and thanks </DIV>
<DIV>Arpit <BR><BR>&gt;&gt;&gt; &lt;hendrik.saly@gmx.de&gt; 4/10/2009 2:19 =
PM &gt;&gt;&gt;<BR>Full_Name: Hendrik Saly<BR>Version: JLDAP 4.3<BR>OS: =
Linux 2.6, Sun JDK 1.5<BR>URL: <A href=3D"http://svn.muleforge.org/mule-tra=
nsport-ldap/trunk/src/main/java/com/novell/ldap/SaslLDAPConnection.java">ht=
tp://svn.muleforge.org/mule-transport-ldap/trunk/src/main/java/com/novell/l=
dap/SaslLDAPConnection.java</A><BR>Submission from: (NULL) (78.43.136.21)<B=
R><BR><BR>While trying to use SASL with JLDAP i encounter a potential =
minor bug in<BR>$OpenLDAP: pkg/jldap/com/novell/ldap/LDAPConnection.java,v =
1.154 2006/02/09<BR>08:43:45 sunilk Exp $<BR><BR>Seems the bind method on =
line 1730 fails to release the bind semaphore properly<BR>under some =
circumstances. I tried to use more than the wit JLDAP provided SASL<BR>mech=
anisms DIGESTMD5 and EXTERNAL by wrapping the novell sasl client with a =
Java<BR>1.5 sasl client. All works very well but CRAM login for example =
fails. I have a<BR>workaround&nbsp;&nbsp; <A href=3D"http://svn.muleforge.o=
rg/mule-transport-ldap/trunk/src/main/java/com/novell/ldap/SaslLDAPConnecti=
on.java">http://svn.muleforge.org/mule-transport-ldap/trunk/src/main/java/c=
om/novell/ldap/SaslLDAPConnection.java</A><BR>but i thinks there are some =
problems with the bind semaphore.<BR><BR>The wrapping code is here<BR><A =
href=3D"http://svn.muleforge.org/mule-transport-ldap/trunk/src/main/java/or=
g/mule/transport/ldap/sasl/ClientFactory.java">http://svn.muleforge.org/mul=
e-transport-ldap/trunk/src/main/java/org/mule/transport/ldap/sasl/ClientFac=
tory.java</A><BR><BR>If neccessary i can provide a test suite for =
this.<BR><BR>Thanks<BR>Hendrik<BR></DIV></BODY></HTML>

--=__Part654DCF55.1__=--