File: apache2-authbasic-ldap-group.conf

package info (click to toggle)
ttyd 1.7.7-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,080 kB
  • sloc: ansic: 17,751; sh: 184; javascript: 160; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
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