From e8b5f1992ca9660665428b4ac851dc05a31a40e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?p=CC=BB=CC=BB=CC=A5r=CC=A5=CC=BB=CC=A5o=CC=BBj=CD=9B=CC=A4?= =?UTF-8?q?ec=CD=94t=CC=9Edp?= Date: Wed, 16 Nov 2022 18:47:32 -0800 Subject: [PATCH 1/2] Fix/Update database path Database path has changed in primary repo. --- docs/containerization.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/containerization.html b/docs/containerization.html index a00930f..b0f4e51 100644 --- a/docs/containerization.html +++ b/docs/containerization.html @@ -18,7 +18,7 @@ -p 636:3894 \ -p 5555:5555 \ glauth/glauth -

sqlite

If you are using sqlite, please follow these instructions to avoid losing your data!

You sqlite database must be made permanent. It can either be stored on the host, on in a dedicated volume (more difficult)

You database will be clobbered if you do not specify a configuration file. Unless…

Method #1: configuration file + database file on host

Retrieve a base database file from https://github.com/glauth/glauth/raw/master/v2/scripts/docker/gl.db

docker run -d \
+

sqlite

If you are using sqlite, please follow these instructions to avoid losing your data!

You sqlite database must be made permanent. It can either be stored on the host, on in a dedicated volume (more difficult)

You database will be clobbered if you do not specify a configuration file. Unless…

Method #1: configuration file + database file on host

Retrieve a base database file from https://github.com/glauth/glauth/raw/master/v2/docker/assets/gl.db

docker run -d \
   -v <path>/config.cfg:/app/config/config.cfg \
   -v <path>/gl.db:/app/config/gl.db \
   glauth/glauth
@@ -30,4 +30,4 @@
   -v <path>/cert.pem:/app/config/cert.pem \
   -v <path>/key.pem:/app/config/key.pem \
   glauth/glauth
-
Copyright 2021
\ No newline at end of file +
Copyright 2021
From 32ff4193fd2b72b0f355ebfe01d70db6cc6f3c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?p=CC=BB=CC=BB=CC=A5r=CC=A5=CC=BB=CC=A5o=CC=BBj=CD=9B=CC=A4?= =?UTF-8?q?ec=CD=94t=CC=9Edp?= Date: Wed, 16 Nov 2022 18:58:17 -0800 Subject: [PATCH 2/2] Update sample-simple.conf location Fix broken sample-simple location. --- docs/quickstart.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.html b/docs/quickstart.html index b2b0017..769fdb4 100644 --- a/docs/quickstart.html +++ b/docs/quickstart.html @@ -8,7 +8,7 @@ var ctx = elements[i].getContext('2d'); myChartJs[i] = new Chart(ctx,JSON.parse(elements[i].innerHTML)); } - });

Quick Start

These steps offer a great way to try out GLAuth in a non-production environment. Be warned that you should take the extra steps to setup SSL (TLS) for production use!

  1. Download a precompiled binary from the releases page.
  2. Download the example config file.
  3. Start the GLAuth server, referencing the path to the desired config file with -c ./glauth64 -c sample-simple.cfg
  4. Test with traditional LDAP tools

For example:

ldapsearch -LLL -H ldap://localhost:3893 \
+  });

Quick Start

These steps offer a great way to try out GLAuth in a non-production environment. Be warned that you should take the extra steps to setup SSL (TLS) for production use!

  1. Download a precompiled binary from the releases page.
  2. Download the example config file.
  3. Start the GLAuth server, referencing the path to the desired config file with -c ./glauth64 -c sample-simple.cfg
  4. Test with traditional LDAP tools

For example:

ldapsearch -LLL -H ldap://localhost:3893 \
    -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret \
    -x -bdc=glauth,dc=com cn=hackers
-
Copyright 2021
\ No newline at end of file +
Copyright 2021