Skip to content

📂 Lightweight layer on top of python-ldap for Paris Diderot University’s LDAP server

License

Notifications You must be signed in to change notification settings

bfontaine/p7ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p7ldap

p7ldap is a very lightweight layer on top of python-ldap to search on Paris Diderot University’s LDAP server.

This is only a proof of concept for now.

Install

Requirements:

  • Python 2.7

The library can’t be installed for now, you can clone the repo and play with it if you want.

git clone https://github.com/IP7/p7ldap.git
cd p7ldap
pip install -r requirements.txt

Usage

Simple search:

from p7ldap import connection,formatting

con = connection.Connection()
formatting.print_search_results(con.search('yun'))

This should print something like (I changed the email address):

1 result found:

  Name: Jean-Baptiste Yunes
  Email: bar@foo.univ-paris-diderot.fr

About

📂 Lightweight layer on top of python-ldap for Paris Diderot University’s LDAP server

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages