From 0409e98822a933e551cbbbfa6ac9542cc24f3be6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 19 Jul 2022 13:32:38 +0200 Subject: Updating. Signed-off-by: Daniel Baumann --- debian/local/examples/apache2-authbasic-ldap-user.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/local/examples/apache2-authbasic-ldap-user.conf (limited to 'debian/local/examples/apache2-authbasic-ldap-user.conf') diff --git a/debian/local/examples/apache2-authbasic-ldap-user.conf b/debian/local/examples/apache2-authbasic-ldap-user.conf new file mode 100644 index 0000000..5af7327 --- /dev/null +++ b/debian/local/examples/apache2-authbasic-ldap-user.conf @@ -0,0 +1,16 @@ +# /etc/ttyd/apache2-auth.conf + +AuthName "ttyd" +AuthBasicProvider ldap +AuthType basic + +AuthLDAPURL "ldaps://ldap.example.net:636/dc=example,dc=net?uid?sub" +AuthLDAPBindDN cn=read-only,ou=srv-account,dc=example,dc=net +AuthLDAPBindPassword "examplePassword" + +AuthLDAPRemoteUserAttribute uid +AuthLDAPRemoteUserIsDN off +AuthLDAPGroupAttribute memberUid +AuthLDAPGroupAttributeIsDN off + +Require ldap-user foo bar baz -- cgit v1.2.3