A Simple LDAP Server
- Pluggable backend
- LDAP
- YAML
- Pluggable Auth
- Simple (hash based - sha256,md5,bcrypt)
- PAM
task build
- Backend
- yaml
- Auth
- pam
- App Config
- yaml
- ini
server: ldap
backend: yaml
servers:
ldap:
Bind: "localhost:8389"
backends:
yaml:
Path: db.yml
BaseDN: "dc=example,dc=com"
auths:
pam:
Service: go389
settings:
sa:
dn: cn=sa
bindAttr: sa
user:
dn: cn=users
objectclass: user
bindAttr: mail
searchAttr: mail
group:
dn: cn=groups
objectclass: group
bindAttr: cn
searchAttr: name
alias:
cn: name
serviceAccounts:
sa1:
auths:
- "bcrypt:$2a$10$dsfdsfdsf.dsfdsfdsfsfdf"
users:
[email protected]:
attrs:
name: test
groups:
- admin
alias:
uid: name
auths:
- "sha256:asdfgewy45645645645"