Skip to content
Web Interface to manage Users in OpenLDAP
Go HTML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keys
public
.gitignore
.goreleaser.yml
LDAPHandler.go
LICENSE
README.md
build_deploy.sh
config.conf.sample
routes.go
server.go
structs.go
userManager.service
userManagerAPI.yaml
util.go

README.md

Go Report Card

UserManager

Web Interface to manage Users in OpenLDAP.

Installation

# configure the application to the specific setup
cp config.conf.sample config.conf
vi config.conf

# generate key pairs, if necessary
# RSA key for JWT auth
openssl genrsa -out keys/jwt.key 4096
openssl rsa -in keys/jwt.key -pubout -out keys/jwt.pub
# self signed TLS cert
openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout keys/tls.key -out keys/tls.crt

Run as service

systemd

vi userManager.service #Change Installation Path
sudo cp userManager.service /etc/systemd/system/
sudo systemctl enable userManager
sudo systemctl start userManager

development

git clone git@github.com:fs-geofs/UserManager.git
cd UserManager
cp config.conf.sample config.conf
go get .
go run *.go
go fmt

To run queries against the local API with a self signed TLS cert:

curl --cacert keys/tls.pub https://localhost:8443/api/login

license

see LICENSE

You can’t perform that action at this time.