From 3245be02ea8ae886879a809f1b36b0e24893cc12 Mon Sep 17 00:00:00 2001 From: Andrea Cimbalo Date: Fri, 9 Mar 2018 19:27:38 +0100 Subject: [PATCH] add hostObject from libpam-ldap --- roles/ldap/tasks/main.yaml | 1 + roles/ldap/templates/default_tree.ldif.j2 | 1 + roles/ldap/templates/slapd.conf.j2 | 1 + 3 files changed, 3 insertions(+) diff --git a/roles/ldap/tasks/main.yaml b/roles/ldap/tasks/main.yaml index a7f0cb9..30a484e 100644 --- a/roles/ldap/tasks/main.yaml +++ b/roles/ldap/tasks/main.yaml @@ -74,6 +74,7 @@ - slapd - ldap-utils - phamm-ldap + - libpam-ldap - sudo - name: upload slapd config template: diff --git a/roles/ldap/templates/default_tree.ldif.j2 b/roles/ldap/templates/default_tree.ldif.j2 index 665dcb1..5836e7c 100644 --- a/roles/ldap/templates/default_tree.ldif.j2 +++ b/roles/ldap/templates/default_tree.ldif.j2 @@ -119,6 +119,7 @@ objectclass: inetOrgPerson objectclass: VirtualMailAccount objectclass: posixAccount objectclass: shadowAccount +objectclass: hostObject othertransport: phamm: quota: 1024000 shadowlastchange: 14281 diff --git a/roles/ldap/templates/slapd.conf.j2 b/roles/ldap/templates/slapd.conf.j2 index d42c116..e4b56b3 100644 --- a/roles/ldap/templates/slapd.conf.j2 +++ b/roles/ldap/templates/slapd.conf.j2 @@ -3,6 +3,7 @@ include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /etc/ldap/schema/phamm.schema +include /usr/share/doc/libpam-ldap/ldapns.schema modulepath /usr/lib/ldap moduleload memberof.la