Thanks Bartonc, I may have to set up a Test machine so as to trial with the 'old' library versions to prove this is the issue.
Yes, it would be best to keep all software libraries up to date. Unfortunately I'm not the UNIX programmer/owner of this server (am doing their job of modifying scripts to connect to my MS Active Directory) and have been informed that there have been no system upgrades as they cause issues with other applications...
User Profile
Collapse
-
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE...) error
Hi,
I have a simple LDAPS script:
...Code:#!/usr/bin/python2.3 import sys import ldap if __name__ == '__main__': ldap.set_option(ldap.OPT_DEBUG_LEVEL,255) ldapmodule_trace_level = 1 ldapmodule_trace_file = sys.stdout ldap.set_option(ldap.OPT_X_TLS_ALLOW,1) ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, "/etc/ssl/certs/f64d9715.0") -
LDAPS via Python?
I am trying to connect to a Active Directory on a Windows server from either a Debian machine or a Windows XP machine using Python. So far I can connect using the following:
...Code:import sys import ldap def main(): who = "me" pwd = "shhhh" try: l = ldap.initialize('ldap://myServer.com') l.simple_bind_s(who, cred)
No activity results to display
Show More
Leave a comment: