1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

test: fix TestSMBKerberos password expiring errors

ERROR(runtime): uncaught exception - kinit for rclone@RCLONE.LOCAL failed (Password has expired)
This commit is contained in:
Nick Craig-Wood
2025-07-03 19:30:26 +01:00
parent c51878f9a9
commit a97425d9cb

View File

@@ -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]