Guichet is configured using a simple JSON config file which is a dictionnary whose keys
are described below. An example is provided in a further section.
### HTTP listen address
-`http_bind_addr`: which IP and port to bind on for the HTTP web interface. Guichet does not support HTTPS, use a reverse proxy for that.
### LDAP server configuration
-`ldap_server_addr`: the address of the LDAP server to use
-`ldap_tls` (boolean): whether to attempt STARTTLS on the LDAP connection
-`base_dn`: the base LDAP object under which we are allowed to view and modify objects
### User and group configuration
-`user_base_dn`: the base LDAP object that contains user accounts
-`user_name_attr`: the search attribute for user identifiers (usually `uid` or `cn`)
-`group_base_dn` and `group_name_attr`: same for groups
### Administration configuration
-`admin_account`: DN of an LDAP account that has administrative privilege. If such an account is set, the admin can log in by entering the full DN in the login form.
-`group_can_admin`: DN of a LDAP group whose members are given administrative privilege
### Invitation configuration
Guichet supports a mechanism where users can send invitations by email to other users.
The ability to send such invitations can be configured to be restricted to a certain group of users.
Invitation codes are created as temporary LDAP objects in a special folder.
-`group_can_invite`: the LDAP DN of a group whose members are allowed to send invitations to new users
-`invitation_base_dn`: the LDAP folder in which invitation codes are stored
-`invitation_name_attr`: just use `cn`
-`invited_mail_format`: automatically set the invited user's email to this string, where `{}` is replaced by the created username (ex: `{}@deuxfleurs.fr`)