https://github.com/applicativesystem/go-ldap
streaming ldap servers using golang
https://github.com/applicativesystem/go-ldap
devops-platform devops-tools golang-package high-performance-computing ldap-authentication ldap-client ldap-library
Last synced: 11 months ago
JSON representation
streaming ldap servers using golang
- Host: GitHub
- URL: https://github.com/applicativesystem/go-ldap
- Owner: applicativesystem
- License: mit
- Created: 2024-09-23T11:28:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T18:01:00.000Z (over 1 year ago)
- Last Synced: 2024-12-16T02:12:08.809Z (about 1 year ago)
- Topics: devops-platform, devops-tools, golang-package, high-performance-computing, ldap-authentication, ldap-client, ldap-library
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# golang-ldap
- configures and runs LDAP servers
- writes and also allows for the update of the LDFI
- assign the password to the user using the DN(distingushed name to authenticate in the server)
```
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go -h
System wide installation and maintainence of the the LDAP for the high performance computing system
Usage:
command [command]
Available Commands:
add
completion Generate the autocompletion script for the specified shell
help Help about any command
ldap
ldif
modify
pass
Flags:
-h, --help help for command
Use "command [command] --help" for more information about a command.
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go add -h
add the user to the LDAP
Usage:
command add [flags]
Flags:
-U, --adduserdn string name dn authentication (default "user distinguished name to authenaticate")
-h, --help help for add
-W, --passwdUser string password token (default "password for the user uid")
-e, --userldif string ldif file (default "path to the new ldif file")
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go ldap -h
install the system wide ldap installtion
Usage:
command ldap installation [flags]
Flags:
-h, --help help for ldap
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go ldif -h
install and created the new user using the ldif files
Usage:
command ldif [flags]
Flags:
-u, --dnentryuser string entry point for the username (default "specify the dn entry for the user")
-h, --help help for ldif
-l, --pathldif string user ldif file (default "path to the ldif file for the new user")
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go modify -h
modify and add the modified ldif file
Usage:
command modify [flags]
Flags:
-h, --help help for modify
-d, --modifydn string authenatication ldap server (default "modify distinuished name authentication")
-m, --modifyuser string modified ldif file (default "path to the modified user ldif file")
-e, --userldif string ldif file (default "path to the new ldif file")
gauavsablok@gauravsablok ~/Desktop/codecreatede/golang/golang-ldap ±main⚡ » \
go run main.go pass -h
password enable for the LDAP system for the new user
Usage:
command pass [flags]
Flags:
-e, --dnentry string distinguished name to authenticate the server (default "specify the dn entry")
-h, --help help for pass
-p, --pass string password for the user group (default "password that you want to give")
-u, --username-entry string username-entry (default "username entry defined for the grop")
```
Gaurav Sablok