diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-08 21:51:38.033000000 -0400 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-08 21:53:30.887000000 -0400 @@ -156,7 +156,7 @@ if (scalar(@matching_keys) == 0) { #if none create if ($storage eq "smb") { - $id = OCCr "files_external:create -c share=$key -c host=localhost 'ibays/$key' smb password::sessioncredentials --output json"; + $id = OCCr "files_external:create -c share=$key -c host=localhost 'ibays/$key' smb password::logincredentials --output json"; } else { $id = OCCr "files_external:create -c datadir=/home/e-smith/files/ibays/$key 'ibays/$key' local null::null --output json"; } @@ -215,7 +215,7 @@ # if none create if (scalar(@matching_keys) == 0) { #if none create - $id = OCCr "files_external:create -c share=$key -c host=localhost '$key' smb password::sessioncredentials --output json"; + $id = OCCr "files_external:create -c share=$key -c host=localhost '$key' smb password::logincredentials --output json"; OCC "files_external:applicable --add-user $user $id"; push @idOK,$id; print "created home dir for $key $user\n";