Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eryajf/ldapctl
OpenLDAP Controller
https://github.com/eryajf/ldapctl
eryajf go-ldap ldap
Last synced: 19 days ago
JSON representation
OpenLDAP Controller
- Host: GitHub
- URL: https://github.com/eryajf/ldapctl
- Owner: eryajf
- License: apache-2.0
- Created: 2022-05-01T15:26:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T01:31:57.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T09:09:57.317Z (about 1 month ago)
- Topics: eryajf, go-ldap, ldap
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**ldapctl** is a openLDAP CLI based on [ldap](https://github.com/go-ldap/ldap) library. 🚀
It only takes two steps to start the ldapctl experience:
1. use docs/start-ldap-eryajf.sh script Start a openLDAP instance locally through docker。
2. Run the make build compilation project, and then you can test it.。If you want to manage your ldap, you can directly modify the configuration information in public/public.go, then compile the project and put it into use.
At present, it provides simple management of users and groups, which is mainly used to learn ldap library. There may be some deficiencies. Welcome to communicate.
- user
- add: add user
- changeuserpwd: update user uid
- checkuser: Check whether the user password is correct
- delete: delete user by uid
- get: get user by uid
- getall: list all users
- update: update user
- updateuserdn: update user uid- group
- add: add group
- adduser: add user to group
- delete: delete group
- get: get group menbers
- getall: list all groups
- removeuser: remove user to group
- update: update groupIf you have other functions you want to add, please submit them in issue.