draghi does ldap and ldaps
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 25 Jul 2010 21:58:12 +0000 (23:58 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 25 Jul 2010 21:58:12 +0000 (23:58 +0200)
modules/ferm/manifests/per-host.pp

index 09230af..ce45466 100644 (file)
@@ -93,6 +93,16 @@ class ferm::per-host {
                     description     => "Allow finger access",
                     rule            => "&SERVICE(tcp, 79)"
            }
+            @ferm::rule { "dsa-ldap":
+                    domain          => "(ip ip6)",
+                    description     => "Allow ldap access",
+                    rule            => "&SERVICE(tcp, 389)"
+           }
+            @ferm::rule { "dsa-ldaps":
+                    domain          => "(ip ip6)",
+                    description     => "Allow ldaps access",
+                    rule            => "&SERVICE(tcp, 636)"
+           }
         }
     }
 }