Created
July 3, 2017 06:01
-
-
Save morteza-mori/20cef77c878ad1241bfad1068df6562c to your computer and use it in GitHub Desktop.
ldap tshout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#check connectivity in linux server and ldap | |
python | |
import ldap | |
ldap.initialize("ldap://192.168.100.2:389") | |
x = ldap.initialize("ldap://192.168.100.2:389") | |
x.bind_s("USERNAME", "PASSWORD") | |
after return error check error in website | |
http://wiki.servicenow.com/index.php?title=LDAP_Error_Codes#gsc.tab=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment