From 92b5b3f45b1a7141a3513427a8716891ee342500 Mon Sep 17 00:00:00 2001 From: Jean-Francois GUILLAUME Date: Tue, 24 Jun 2025 07:14:43 +0000 Subject: [PATCH] updating authentik-outpost-ldap service --- glicid/services/authentication.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/glicid/services/authentication.scm b/glicid/services/authentication.scm index 26adb57..8075d32 100644 --- a/glicid/services/authentication.scm +++ b/glicid/services/authentication.scm @@ -135,8 +135,8 @@ (string-append "AUTHENTIK_LISTEN__LDAP" authentik_listen_ldap) (string-append "AUTHENTIK_LISTEN__LDAPS" authentik_listen_ldaps) (string-append "AUTHENTIK_LISTEN__METRICS" authentik_listen_metrics)) - #:user "authentik-outpost-ldap" - #:group "authentik-outpost-ldap")) + #:user "authentik-outpost" + #:group "authentik-outpost")) (stop #~(make-kill-destructor))))))) (define privileged-authentik-outpost-ldap @@ -148,6 +148,14 @@ (define %authentik-outpost-activation #~(begin (chmod "/var/lib/authentik-outpost" #o0770) + (touch "/var/log/authentik-outpost-ldap.log") + (touch "/var/log/authentik-outpost-proxy.log") + (touch "/var/log/authentik-outpost-rac.log") + (touch "/var/log/authentik-outpost-radius.log") + (chown "/var/log/authentik-outpost-ldap.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost"))) + (chown "/var/log/authentik-outpost-proxy.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost"))) + (chown "/var/log/authentik-outpost-rac.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost"))) + (chown "/var/log/authentik-outpost-radius.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost"))) #t )) (define privileged-authentik-outpost-ldap-service-type