Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

test: fix TestSMBKerberos password expiring errors

Nick Craig-Wooda97425d9cbee
diff --git a/fstest/testserver/init.d/TestSMBKerberos b/fstest/testserver/init.d/TestSMBKerberos
index ddf0d87b3..78a03868a 100755
--- a/fstest/testserver/init.d/TestSMBKerberos
+++ b/fstest/testserver/init.d/TestSMBKerberos
@@ -34,6 +34,7 @@ RUN rm -rf /etc/samba/smb.conf /var/lib/samba \
--dns-backend=SAMBA_INTERNAL \
--host-name=localhost \
&& samba-tool user add --random-password $USER \
+ && samba-tool user setexpiry $USER --noexpiry \
&& mkdir -m 777 /share /rclone \
&& cat <<EOS >> /etc/samba/smb.conf
[public]