Skip to content

Code example on how to connect an search a ldap server from python

Notifications You must be signed in to change notification settings

categulario/ldap_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ldap connection from python

An example of how one can connect to a LDAP directory server and validate someone's credentials.

Run yourself

  • git clone https://github.com/categulario/ldap_test.git && cd ldap_test
  • cp settings.py settings_local.py && nano settings_local.py
  • virtualenv -p /usr/bin/python3 .env
  • export LDAP_SETTINGS=$(pwd)/settings_local.py
  • source .env/bin/activate
  • pip install -r requirements.txt
  • python ldaplap.py

About

Code example on how to connect an search a ldap server from python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages