Guest User

Untitled

a guest
Nov 17th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <Location /check_mk>
  2. AuthType basic
  3. AuthName "CHECKMK IMplementaion"
  4. AuthBasicProvider ldap file
  5. AuthUserFile "/etc/nagios/htpasswd"
  6.  
  7. # uncomment this to fallback to htpasswd auth in case of ldap problem
  8. #AuthzLDAPAuthoritative off
  9. #Require user nagiosadmin
  10.  
  11. AuthLDAPURL ldap://ldap/ou=People,dc=example,dc=com
  12. AuthLDAPBindDN "cn=Readonly,dc=example,dc=com"
  13. AuthLDAPBindPassword "rylbEkpoinUIAis7"
  14.  
  15. # allow any user
  16. #Require valid-user
  17. # or allow by user/group
  18. Require ldap-group cn=operations,ou=Group,dc=example,dc=com
  19. Require ldap-group cn=engineering,ou=Group,dc=example,dc=com
  20. </Location>
Add Comment
Please, Sign In to add comment