aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-10 20:52:20 +0000
committerMichael Scherer <misc@mageia.org>2010-12-10 20:52:20 +0000
commit83cdfb8b963f94747de85ce558898ff5a5cac3e0 (patch)
tree3e07b53dc1517a83c6589837135f1b35986cde51 /modules
parent98f9b03aa036bb5cb4b58c9bfeebe98f2f3dafa1 (diff)
downloadpuppet-83cdfb8b963f94747de85ce558898ff5a5cac3e0.tar
puppet-83cdfb8b963f94747de85ce558898ff5a5cac3e0.tar.gz
puppet-83cdfb8b963f94747de85ce558898ff5a5cac3e0.tar.bz2
puppet-83cdfb8b963f94747de85ce558898ff5a5cac3e0.tar.xz
puppet-83cdfb8b963f94747de85ce558898ff5a5cac3e0.zip
- add template that I forgot to commit
Diffstat (limited to 'modules')
-rw-r--r--modules/sympa/templates/ldap_group.incl18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/sympa/templates/ldap_group.incl b/modules/sympa/templates/ldap_group.incl
new file mode 100644
index 00000000..66b4129a
--- /dev/null
+++ b/modules/sympa/templates/ldap_group.incl
@@ -0,0 +1,18 @@
+include_ldap_2level_query
+ host ldap.<%= domain %>
+ port 389
+ user cn=alamut-sympa,ou=System Accounts,<%= dc_suffix %>
+ passwd <%= ldap_passwd %>
+
+ suffix1 ou=Groups,<%= dc_suffix %>
+ scope1 one
+ filter1 (&(objectClass=groupOfUniqueNames)(cn=<%= name %>))
+ attrs1 uniquemember
+ select1 all
+
+ suffix2 [attrs1]
+ scope2 base
+ filter2 (objectClass=inetOrgPerson)
+ attrs2 mail
+ select2 first
+