hi sven
thank you for your reply - easier than i tought... :-) it works like a charm!
if anybody cares - here is my working setting (Active directory)
/etc/apache2/conf-available/thruk.conf
<Location /thruk/>
Options ExecCGI FollowSymLinks
AuthName "Thruk Monitoring"
AuthType Basic
#leagacy file authentication first, then ldap
AuthBasicProvider file ldap
#legacy file (or set it to /dev/null
AuthUserFile /etc/thruk/htpasswd
#ldap
# Using this to bind
AuthLDAPBindDN "CN=thruk-ldap,OU=serviceaccounts,OU=bla,DC=site,DC=org,DC=com"
AuthLDAPBindPassword "xxx"
AuthLDAPURL "ldap://
site.org.com/OU=bla,DC=site,DC=org,DC=com?sAMAccountName?sub?(objectClass=*)"
require valid-user
</Location>