Re: SASL GSSAPI under Win32

2009-08-06 Thread Jeroen Michiel
I also had that same error trying digest-md5. I still find it strange that with gssapi a SUCCESS exception is raised: it smells like a bug, or like a mismatch of libraries somehow. The strange thing is that the version I use is supposed to be statically linked to the necessary libs, so that you

Connection to AD on windows

2009-08-05 Thread Jeroen Michiel
Hi, I'm trying to get python-ldap working on a windows machine to authenticate users against an Active Directory server. However, I'm getting the weirdest things... This is what I'm trying: import ldap, ldap.sasl conn = ldap.initialize('ldap://blabla') conn.set_option(ldap.OPT_PROTOCOL_VERSI