> I've tried to zero in on the problem with LDAP (against AD). I can connect
> to the AD server just fine, but the login.Bind fails. I'm thinking that
> there's an incomplete conversion to Unicode. I see that you do a lot of
> work to construct a suitable string for the send string call (
> Fsock.SendString(BuildPacket(s));). I'd like to supply a literal string
> just to test the code but I don't understand quite what is required. IOW,
> I could compare what your code creates versus what is expected. This is
> the last barrier to my fully moving to Delphi 2009.

LDAP having all data in UTF-8 code. It can be stored in ANSIstring , as 
currect code expecting, but you must generate UTF-8 encoding inside 
ANSIstring without D2009 implicit conversion. Best for this is to use 
synachar unit and their conversion routines. It can produce UTF-8 encoded 
string inside ansistring and pass it into ldapsend properties.

--
Lukas Gebauer.

E-mail: [email protected]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP 
Library



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to