LDAP apache
Материал из noname.com.ua
Версия от 16:41, 22 июля 2016; Sirmax (обсуждение | вклад)
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)> AuthType Basic AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users AuthGroupFile /etc/nagios3/htpasswd.groups AuthBasicProvider file ldap # AuthLDAPURL ldap://127.0.0.1:10389/dc=mirantis,dc=net AuthLDAPURL ldap://ldap:389/dc=mirantis,dc=net AuthLDAPMaxSubGroupDepth 1 AuthLDAPBindAuthoritative off AuthLDAPGroupAttribute member AuthLDAPGroupAttributeIsDN on # require valid-user require group nagios require ldap-group cn=internal-cloud-support,ou=groups,O=mirantis require ldap-group cn=it-cloud-ops,ou=groups,O=mirantis require ldap-group cn=managed-services-all, ou=groups, o=mirantis require ldap-attribute memberOf=CN=internal-cloud-support,OU=groups,O=mirantis,DC=mirantis,DC=net require ldap-attribute memberOf=CN=it-cloud-ops,OU=groups,O=mirantis,DC=mirantis,DC=net require ldap-attribute memberOf=CN=managed-services-all,OU=groups,O=mirantis,DC=mirantis,DC=net </DirectoryMatch>