blob: 5827794d72cad84147670b6ed92aa3a0f710b1f1 (
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-group cn=foo,ou=security,ou=groups,dc=example,dc=net
|