[prev in list] [next in list] [prev in thread] [next in thread]
List: python-ldap-dev
Subject: Python-ldap SSL/TLS problem
From: Thomas Wolfe <Thomas.L.Wolfe () jpl ! nasa ! gov>
Date: 2005-08-08 20:15:19
Message-ID: 42F7BD57.6040809 () jpl ! nasa ! gov
[Download RAW message or body]
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
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic