Skip to content

DartmouthHackerClub/dnd_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnd-ldap

Uses python-ldap

Introduction:

This project uses Dartmouth's ldap directory to look people up. The lookup function takes a query string and a list of string attributes.

To see an example, follow the setup instructions and then run the test script:

$ python ldaptest.py

Setup

Assuming you already have Python and pip installed, go ahead and install virtualenv if you haven't already:

$ sudo pip install virtualenv

Now, create a new virtualenv (this provides an isolated environment for the app to run in):

$ virtualenv dnd-ldap
$ cd dnd-ldap
$ source bin/activate

The virtualenv is now set up. You can clone this repository inside the virtualenv:

$ git clone https://github.com/DartmouthHackerClub/dnd-ldap.git

I've included a requirements.txt file, which, coupled with pip and virtualenv, provides an automatic method for installing all necessary dependencies:

$ cd dnd-ldap
$ pip install -r requirements.txt

ToDos:

  • some implementations of openssl have trouble with tls, let me know whats going on and how to fix it, mine works perfectly!

About

Uses dnd_ldap and flask to make a nice web interface for searching the dnd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages