Skip to navigation
How to simply test a active directory authentication
13.07.15
how to simply test a active directory authentication from ldap3 import Server, Connection, SIMPLE, SYNC, ASYNC, SUBTREE, ALL s = Server('SERVER.com',port = 389) try: c = Connection(s, auto_bind = True, client_strategy = SYNC, user='FOO', password='PASSWORD', authentication=SIMPLE, check_names=True) print('true') except: print('false') http://ldap3.readthedocs.org/index.html
http://ldap3.readthedocs.org/index.html
Reply
Anonymous
Information Epoch 1740265019
Don't do anything the computer can do for you.
Home
Notebook
Contact us