Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- host all all 10.0.0.0/8 ldap ldapserver=10.10.10.10 ldapport=389 ldaptls=0 ldapprefix="uid=DOMAIN" ldapsuffix="ou=All Users,dc=ad,dc=example,dc=com"
- tls_configuration = None
- use_ssl = False
- server = Server('ldaps://10.10.10.10:389', use_ssl, tls_configuration)
- bind_user='DOMAINmyname'
- bind_password='mypassword'
- conn = Connection(server, bind_user, bind_password)
- conn.bind()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement