diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf --- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-08 12:03:27.238000000 -0400 +++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-08 12:07:34.584000000 -0400 @@ -75,4 +75,9 @@ mkdir -p /var/www/.cache/samba chown www:shared /var/www/.cache/samba fi +if [ ! -d /home/e-smith/.cache/samba ]; then + mkdir -p /home/e-smith/.cache/samba + chown www:admin /home/e-smith/.cache/samba +fi + diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-occ-conf --- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2022-07-08 12:03:27.223000000 -0400 +++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2022-07-08 12:05:27.385000000 -0400 @@ -148,6 +148,8 @@ OCC "ldap:set-config s01 ldapExpertUUIDGroupAttr cn"; OCC "ldap:set-config s01 ldapExpertUUIDUserAttr uid"; OCC "ldap:set-config s01 ldapExpertUsernameAttr uid"; + # test new config to make it available, and sync user/groups + OCC "ldap:test-config s01"; # set ibays shares foreach ( @ibays) {