From 4a8edd3ebd0d2e29cb93209c1253e9aad6d8a144 Mon Sep 17 00:00:00 2001 From: yo Date: Sat, 12 Nov 2022 14:05:14 +0100 Subject: [PATCH] Update readme --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 703d64b..c464a96 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,20 @@ glapi -config glapi.env ## Configuration file ``` -LISTEN="127.0.0.1:8080" +LISTEN="0.0.0.0:8080" LDAP_HOST="ldap://ldap.example.org" LDAP_BASE_DN="dc=example,dc=org" -LDAP_USER="cn=yo,dc=example,dc=org" -LDAP_PASS='here_is_the_password' + +# This account search for valid user provided by authenticating client. +# Then glapi bind with client provided credentials to operate LDAP. +# Thus this account only needs bind privilege, and read access to users organizational unit +LDAP_USER="cn=ldapreaduser,dc=example,dc=org" +LDAP_PASS='here_lies_the_password' + +# Https support +HTTPS=true +SSL_CERTIFICATE=/etc/ssl/certs/server.pem +SSL_PRIVATE_KEY=/etc/ssl/private/server.key ``` ## Querying API