It works now!!  Nice job and thanks for the quick response Lukas!  

-----Original Message-----
From: Lukas Gebauer [mailto:[email protected]] 
Sent: Thursday, October 15, 2009 9:45 AM
To: Ararat Synapse
Subject: Re: [Synalist] LDAPSend SASL bind issue

> I am having some issues with the BindSasl function.   I have not been
> able to successfully do the DIGEST-MD5 type bind to our iSeries AS400
> server.   To see what was going on, I started Wireshark to look the
> conversation.   

Well, I have a repaired version, what working with W2003 AD here:

Use "ASNObject('', ASN1_OCTSTR)" instead of "ASNObject('', 
ASN1_NULL)" on both places in BindSasl.

Second problem is inside "if FResultCode = 14 then" part. Find here 
this two lines:

  + ASNObject(ASNObject('DIGEST-MD5', ASN1_OCTSTR), $A3)
  + ASNObject(LdapSasl(t), ASN1_OCTSTR);

and replace it by lines:

   + ASNObject(ASNObject('DIGEST-MD5', ASN1_OCTSTR)
      + ASNObject(LdapSasl(t), ASN1_OCTSTR), $A3);

Working it now? 



-- 
Lukas Gebauer.

E-mail: [email protected]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


------------------------------------------------------------------------
------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and
stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to