1 |
jpp |
1.1 |
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 |
2 |
|
|
--- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-08 12:03:27.238000000 -0400 |
3 |
|
|
+++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-08 12:07:34.584000000 -0400 |
4 |
|
|
@@ -75,4 +75,9 @@ |
5 |
|
|
mkdir -p /var/www/.cache/samba |
6 |
|
|
chown www:shared /var/www/.cache/samba |
7 |
|
|
fi |
8 |
|
|
+if [ ! -d /home/e-smith/.cache/samba ]; then |
9 |
|
|
+ mkdir -p /home/e-smith/.cache/samba |
10 |
|
|
+ chown www:admin /home/e-smith/.cache/samba |
11 |
|
|
+fi |
12 |
|
|
+ |
13 |
|
|
|
14 |
|
|
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 |
15 |
|
|
--- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2022-07-08 12:03:27.223000000 -0400 |
16 |
|
|
+++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2022-07-08 12:05:27.385000000 -0400 |
17 |
|
|
@@ -148,6 +148,8 @@ |
18 |
|
|
OCC "ldap:set-config s01 ldapExpertUUIDGroupAttr cn"; |
19 |
|
|
OCC "ldap:set-config s01 ldapExpertUUIDUserAttr uid"; |
20 |
|
|
OCC "ldap:set-config s01 ldapExpertUsernameAttr uid"; |
21 |
|
|
+ # test new config to make it available, and sync user/groups |
22 |
|
|
+ OCC "ldap:test-config s01"; |
23 |
|
|
|
24 |
|
|
# set ibays shares |
25 |
|
|
foreach ( @ibays) { |