diff --git a/README.md b/README.md index cebbd27..2356496 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ A working [LibreSchool][] installation is required. ## Notes ## -At the moment, if you run ```showmount -e [server ip] ``` on the client, you end up with an error. That's because we're ditching NFSv2 and NFSv3 in favour of NFSv4 (this will give us Kerberos integration in future) and all unneeded ports are closed. +At the moment, if you run ```showmount -e [server ip]``` on the client, you end up with an error. That's because we're ditching NFSv2 and NFSv3 in favour of NFSv4 (this will give us Kerberos integration in future) and all unneeded ports are closed. ## TODO / ideas ## @@ -29,6 +29,7 @@ At the moment, if you run ```showmount -e [server ip] ``` on the client, you end - ubuntu 14:04: OK - ubuntu 16:04: OK - ubuntu 18:04: OK +- xubuntu 18:04: OK - zorin 12: OK - zorin 15: OK diff --git a/libreschool-nfs.spec b/libreschool-nfs.spec index 6c611cc..20ba823 100644 --- a/libreschool-nfs.spec +++ b/libreschool-nfs.spec @@ -1,6 +1,6 @@ Summary: LibreSchool NFS home profiles configuration Name: libreschool-nfs -Version: 1.0 +Version: 1.0.2 Release: 1.ns7 License: GPL BuildArch: noarch @@ -68,5 +68,11 @@ if [ "$1" = 0 ]; then fi %changelog +* Sat Mar 7 2020 Paolo Asperti - 1.0.2-1.ns7 +- Some fixes + +* Mon May 6 2019 Paolo Asperti - 1.0.1-1.ns7 +- updated drone and ansible support + * Sun Apr 28 2019 Paolo Asperti - 1.0-1.ns7 - First release for NethServer 7 diff --git a/root/etc/ansible/roles/nfs-client/tasks/main.yml b/root/etc/ansible/roles/nfs-client/tasks/main.yml index bac5769..fad159e 100644 --- a/root/etc/ansible/roles/nfs-client/tasks/main.yml +++ b/root/etc/ansible/roles/nfs-client/tasks/main.yml @@ -132,6 +132,7 @@ value: "{{ lookup('file', '/var/lib/nethserver/secrets/ldapservice') }}" vtype: password +########################## libnss-ldapd - name: Configure libnss for ldap debconf: name: libnss-ldapd diff --git a/root/usr/share/libreschool-nfs/patch.ldif b/root/usr/share/libreschool-nfs/patch.ldif index a0938dc..ff0f5d2 100644 --- a/root/usr/share/libreschool-nfs/patch.ldif +++ b/root/usr/share/libreschool-nfs/patch.ldif @@ -1,7 +1,6 @@ dn: olcDatabase={2}hdb,cn=config changetype: modify -replace: olcAccess -olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by * none -- add: olcAccess -olcAccess: {1}to dn.subtree="ou=People,dc=directory,dc=nh" attrs=userPassword,shadowLastChange by self write by anonymous auth by * none +olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=domain admins,ou=Groups,dc=directory,dc=nh" write by dn="cn=libuser,dc=directory,dc=nh" write by anonymous auth by self write by * none +olcAccess: {1}to dn.base="" by * read +olcAccess: {2}to * by dn="cn=domain admins,ou=Groups,dc=directory,dc=nh" write by dn="cn=domain admins,ou=Groups,dc=directory,dc=nh" write by * read