]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
make nagios more happy
authorMartin Zobel-Helas <zobel@debian.org>
Mon, 23 Apr 2012 16:17:28 +0000 (18:17 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Mon, 23 Apr 2012 16:17:28 +0000 (18:17 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/dacs/files/per-host/nono.debian.org/dacs.conf

index 5f9c86eff6430d3960b9a9fe289b1dff4e8d7d51..599842db74ef85168f0ca5fc3e43dcc7ccba5cb7 100644 (file)
@@ -6,9 +6,24 @@
    EVAL ${Conf::JURISDICTION_AUTHSERVER}="sso.debian.org"
    LOG_LEVEL "notice"
  </Default>
- <Jurisdiction uri="nono">
+ <Jurisdiction uri="206.12.19.123">
    JURISDICTION_NAME "DEBIAN"
    ADMIN_IDENTITY "DEBIAN:zobel"
+   <Auth id="guest-apache-htpasswd">
+     URL "https://sso.debian.org/cgi-bin/dacs/local_apache_authenticate"
+     STYLE "pass"
+     CONTROL "sufficient"
+     OPTION "AUTH_FILE=/etc/apache2/dsa-guest-web-passwords"
+     OPTION "AUTH_MODULE=mod_auth"
+   </Auth>
+
+   <Auth id="debian-apache-htpasswd">
+     URL "https://sso.debian.org/cgi-bin/dacs/local_apache_authenticate"
+     STYLE "pass"
+     CONTROL "required"
+     OPTION "AUTH_FILE=/var/lib/misc/thishost/web-passwords"
+     OPTION "AUTH_MODULE=mod_auth"
+   </Auth>
  </Jurisdiction>
  <Jurisdiction uri="*.debian.org">
    JURISDICTION_NAME "DEBIAN"
      OPTION "AUTH_FILE=/var/lib/misc/thishost/web-passwords"
      OPTION "AUTH_MODULE=mod_auth"
    </Auth>
-
-<!--
-   <Auth id="ldap">
-     URL "https://sso.debian.org/cgi-bin/dacs/local_ldap_authenticate"
-     STYLE "password"
-     CONTROL "required"
-     LDAP_BIND_METHOD "direct"
-     LDAP_USERNAME_URL* '"ldap://127.0.0.1/uid=" \
-        . encode(url, ${Args::USERNAME}) . ",ou=users,dc=debian,dc=org"'
-     LDAP_USERNAME_EXPR* '"${LDAP::uid}"'
-     LDAP_ROLES_SELECTOR* '"${LDAP::attrname}" eq "supplementaryGid" \
-       ? strtr(ldap(rdn_attrvalue, \
-           ldap(dn_index, "${LDAP::attrvalue}", 1)), " ", "_") \
-       : 0'
-   </Auth>
- -->
  </Jurisdiction>
 </Configuration>