Hi,
I could use some help.
I can't seem to get python-ldap to connect to an
LDAP server (SVR) uinsg TLS (or SSL).
I running Windows XP with Python 2.2.3 and
Python-ldap for Windows (binary distribution).
l = ldap.open(svr)
l.start_tls_s()
l.simple_bind_s(dn,pwd)
I get the following error messages:
Traceback (most recent call last):
File "C:/Documents and Settings/tlwolfe/Desktop/Dir Code
EXamples/2a.py", line 85, in ?
status,errmsg = AuthenticateUser(server,userdn,password,debug)
File "C:/Documents and Settings/tlwolfe/Desktop/Dir Code
EXamples/2a.py", line 36, in AuthenticateUser
l.start_tls_s()
File "C:\Python22\lib\site-packages\ldap\ldapobject.py", line 444, in
start_tls_s
self._ldap_call(self._l.start_tls_s,*args,**kwargs)
AttributeError: start_tls_s
Can someone tell me what is going on?
Is there a later version for windows that work?
I appreciate the help.
Tom Wolfe
|