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.
Find a file
2020-02-14 22:25:49 +01:00
static/css Implement logout 2020-02-09 16:46:26 +01:00
templates Fix code generation form template 2020-02-14 22:25:49 +01:00
.gitignore Containerize 2020-02-10 15:26:02 +01:00
admin.go Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
Dockerfile Containerize 2020-02-10 15:26:02 +01:00
go.mod Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
go.sum Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
guichet.hcl.example Update Docker image 2020-02-12 17:40:15 +01:00
invite.go Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
main.go Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
Makefile Mechanism to create new account 2020-02-14 19:11:16 +01:00
profile.go Disable email modification in user profile 2020-02-11 23:24:53 +01:00
README.md Containerize 2020-02-10 15:26:02 +01:00
ssha.go Password change 2020-02-09 17:45:22 +01:00

À é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