summaryrefslogtreecommitdiffstats
path: root/debian/examples/apache2-authbasic-ldap-user.conf
blob: 5af732783f332ab310df91d6e3e5ca067a7bfdac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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