This project demonstrates how to integrate LDAP (Lightweight Directory Access Protocol) with Python 3.
-
Create a virtual environment: virtualenv -p python venv
-
Activate the virtual environment: source venv/bin/activate
-
Install the project requirements: pip install -r requirements.txt
-
Create a
.env
file similar to the.env.example
provided and add your LDAP credentials. -
Set the
ACCESS_GROUP
andPERMISSION_ACCESS_GROUP
in the.env
file to configure the desired access groups.
Run the following command to start the server: python server.py
Contributions are welcome! If you would like to contribute to this project, please follow these guidelines:
-
Fork the repository and clone it locally.
-
Create a new branch for your feature or bug fix.
-
Make your changes, ensuring that your code follows the project's style guide.
-
Write tests to cover any new functionality or changes.
-
Commit your changes and push your branch to your forked repository.
-
Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License.
Enjoy using LDAP integration with Python! If you have any questions or feedback, please don't hesitate to reach out.