A totally small-time LDAP administration tool for your home network
351
A totally small-time LDAP administration tool for your home network
ldapinator is a web-based administration tool for small LDAP installations. Think OpenLDAP running on a Linux machine in your basement. It's not for big enterprisey stuff.
The GitHub Repository has a more detailed description and some lovely screenshots, but here are the basics...
The easiest way is using Docker Compose. But first, you need to create a config.ini file.
[connect]
hostURL = ldap://192.168.0.100:389
useTLS = no ; not implemented yet
[bind]
readOnlyDN = "cn=search,dc=home"
readOnlyPassword = redacted
readWriteDN = "cn=Manager,dc=home"
readWritePassword = redacted
[structure]
baseDN = "dc=home"
groupDN = "ou=Groups,dc=home"
userDN = "ou=People,dc=home"
[api]
;port = 3268
;useTLS = no ; uncomment if you don't have TLS certificates
allowAnonymousRead = yes ; yes or no
allowAnonymousModify = yes ; yes or no
allowUserPasswordChange = yes ; yes or no
token = S0m3R4nd0mStr!ng
You'll need to reference config.ini in your Docker Compose file. Just bind mount the directory it's in to /app/config inside the container.
services:
ldapinator:
build: .
image: ldapinator
container_name: ldapinator
hostname: ldapinator
restart: unless-stopped
ports:
- "3268:3268"
- "3269:3269"
volumes:
- ./config:/app/config
3268 is the default unencrypted port. 3269 is TLS encrypted.
If you want encrypted communications, you'll need a server.cert and matching server.key available in the container's /app/config. It's the same bind-mounted directory where you put config.ini.
Now, do docker-compose up -d and point your web browser to http://your.host:3268 for unencrypted or http://your.host:3269 for TLS encrypted.
Content type
Image
Digest
sha256:0e37e7a76…
Size
54.4 MB
Last updated
about 2 years ago
docker pull davescodemusings/ldapinator