diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-19 11:32:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-19 11:32:38 +0000 |
commit | 0409e98822a933e551cbbbfa6ac9542cc24f3be6 (patch) | |
tree | 097218ff5e3cc0be95fa098f9f6a7b7e8f083e2f /debian/local/examples/apache2-authbasic-ldap-user.conf | |
parent | Adding TODO file. (diff) | |
download | ttyd-0409e98822a933e551cbbbfa6ac9542cc24f3be6.tar.xz ttyd-0409e98822a933e551cbbbfa6ac9542cc24f3be6.zip |
Updating.tmp-apache2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/examples/apache2-authbasic-ldap-user.conf')
-rw-r--r-- | debian/local/examples/apache2-authbasic-ldap-user.conf | 16 |
1 files changed, 16 insertions, 0 deletions
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 |