2009/8/5 Michael Ströder <mich...@stroeder.com>: > Waldemar Osuch wrote: >> I have made a couple attempts to support SASL in the Win32 builds. >> One user even reported a success using it but it never worked for me. >> I will give it one more go but I can not make any promises. > > I tried to bind with SASL DIGEST-MD5 to MS AD W2K3SP2 and to OpenLDAP 2.4.x > but that did not work: > > AUTH_UNKNOWN: {'info': 'SASL(-4): no mechanism available: Unable to find a > callback: 2', 'desc': 'Unknown authentication method'} > > Hmm, are the SASL mechs modules available at all? > That is the error I am getting too. My understanding of how it is supposed to work is that _ldap.pyd calls into libsasl.dll first (this part works) but then libsasl.dll has to find and load the requested auth mechanism. Unfortunately I did not find a way of telling libsasl where the auth plugin dlls are located. Dropping them into the same directory and hoping it will find them does not seem to work.
------------------------------------------------------------------------------ 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 _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev