This is a copt of the Guichet project by lesdesuxfleurs.fr
Go to file
Alex Auvolat dc9b2bc458 Fix several group membership issue
TODO:
- check for other wrong uses of GetAttributeValue(s)
- refactor is_admin check
2020-02-11 20:10:47 +01:00
static/css Implement logout 2020-02-09 16:46:26 +01:00
templates Containerize 2020-02-10 15:26:02 +01:00
.gitignore Containerize 2020-02-10 15:26:02 +01:00
admin.go Fix several group membership issue 2020-02-11 20:10:47 +01:00
Dockerfile Containerize 2020-02-10 15:26:02 +01:00
go.mod LDAP modification form 2020-02-09 22:06:33 +01:00
go.sum LDAP modification form 2020-02-09 22:06:33 +01:00
guichet.hcl.example Add nomad hcl example 2020-02-10 17:44:53 +01:00
main.go Fix several group membership issue 2020-02-11 20:10:47 +01:00
Makefile Containerize 2020-02-10 15:26:02 +01:00
profile.go Better tools for initial setup 2020-02-10 15:26:02 +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