User Profile

Collapse

Profile Sidebar

Collapse
sallas
sallas
Last Activity: Jul 23 '07, 06:38 AM
Joined: Mar 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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...
    See more | Go to post

    Leave a comment:


  • sallas
    started a topic ldap.set_option(ldap.OPT_X_TLS_CACERTFILE...) error

    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")
    ...
    See more | Go to post

  • sallas
    started a topic LDAPS via Python?

    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)
    ...
    See more | Go to post
No activity results to display
Show More
Working...