My fork of the DeuxFleurs.fr Guichet application for LDAP-based User Mangement.
This is pretty much becoming a full rewrite.
Features include self-service account management in an LDAP database. I pair it with Nix Mailserver such that each account has an attached email address.
Future ambitions have to do with Group management.
Used on lesgrandsvoisins.com.
Alex Auvolat
dc9b2bc458
TODO: - check for other wrong uses of GetAttributeValue(s) - refactor is_admin check |
||
---|---|---|
static/css | ||
templates | ||
.gitignore | ||
admin.go | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
guichet.hcl.example | ||
main.go | ||
Makefile | ||
profile.go | ||
README.md | ||
ssha.go |
À écrire.
Exemple de config.json pour Deuxfleurs:
{
"http_bind_addr": ":9991",
"ldap_server_addr": "ldap://bottin2.service.2.cluster.deuxfleurs.fr:389",
"base_dn": "dc=deuxfleurs,dc=fr",
"user_base_dn": "ou=users,dc=deuxfleurs,dc=fr",
"user_name_attr": "cn",
"group_base_dn": "ou=groups,dc=deuxfleurs,dc=fr",
"group_name_attr": "cn",
"admin_account": "cn=admin,dc=deuxfleurs,dc=fr",
"group_can_admin": "cn=admin,ou=groups,dc=deuxfleurs,dc=fr",
"group_can_invite": "cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr"
}
docker run --net host -v $PWD/config.json:/config.json -i lxpz/guichet_amd64:latest