Issue 6051 - JLDAP SASL issue
Summary: JLDAP SASL issue
Status: UNCONFIRMED
Alias: None
Product: JLDAP
Classification: Unclassified
Component: JLDAP (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 08:49 UTC by hendrik.saly@gmx.de
Modified: 2020-03-19 05:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hendrik.saly@gmx.de 2009-04-10 08:49:24 UTC
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/novell/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/java/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/transport/ldap/sasl/ClientFactory.java

If neccessary i can provide a test suite for this.

Thanks
Hendrik
Comment 1 Howard Chu 2009-04-10 19:24:38 UTC
moved from Incoming to Contrib
Comment 2 Rastogi Arpit 2009-04-22 11:28:05 UTC
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 ?  
  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 .
 
regards and thanks 
Arpit 

>>> <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/novell/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/java/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/transport/ldap/sasl/ClientFactory.java

If neccessary i can provide a test suite for this.

Thanks
Hendrik