# /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