Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.06 KB

AD-Chart

AD-Chart is an LDAP parser and formatter written in Python 2. It is used to pull information from a company AD server and use this to build a hierarchy tree.

Requirements

The application was built in Python 2 and also requires the following packages:

Usage

Create a file called creds.dat in the AD-Chart folder and put your LDAP auth credentials in it. Example:

("cn=readonlyuser,ou=this,ou=that,dc=example,dc=com", "readonlyuserpassword")

You can then execute either

python main.py --json

OR

python main.py --goog

--json will create a json file under AD-Chart/res/json with all the information needed to generate a tree using the D3js method, while using --goog will generate a Google charts API compatable index.html.

Using the --goog flag is not recommended at this stage.

Credits