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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user