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