Skip to content

Simple web UI to manage AD users and groups (and Go playground)

Notifications You must be signed in to change notification settings

electroma/go-ad-man

Repository files navigation

GO-AD-MAN: Simple web UI for AD user management

Simple web UI to manage users in AD. Used as a lightweight replacement to Windows box.

Together with samba-ad-dc and adtool provides Active Directory environment good enough to cover many integration testing cases.

Installation

Bare: BASE_DN="CN=Users,DC=domain,DC=local" DC_URL="dc-test-host" ./go-ad-man

Minikube: helm install ./k8s/go-ad-man/ -n ad-man -f ./k8s/vars_local.yml

EC2: helm install ./k8s/go-ad-man/ -n ad-man -f ./k8s/vars_ec2.yml

Note: Please review var-file before deploying GO-AD-MAN to your k8s cluster.

Docker-based build (useful on non-Linux hosts)

  1. Build image docker build -t builditdigital/go-ad-man-builder build

  2. Run build in builder container docker run --rm -ti -v $GOPATH/src:/go/src -w /go/src/github.com/electroma/go-ad-man builditdigital/go-ad-man-builder bash -c 'go get -v && make build'

  3. Build Docker image make package or make push

Testing

  1. Deploy test setup with embedded ad-dc helm install ./k8s/go-ad-man/ -n ad-man-test -f ./k8s/vars_test.yml --set service.hostName=[put ingress hostname here or leave blank if not needed] --set image.tag=[the image you’ve just built]

  2. Execute test pack URL=[your ingress url] npm run test

  3. Do cleanup helm delete --purge ad-man-test

About

Simple web UI to manage AD users and groups (and Go playground)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published