Skip to content

d/t/smb-mount: fix setting the password of the smb test user

We were getting errors in Ubuntu sometimes when setting the password for the test user, and this fixed it. These tests don't run in Debian because they require a VM, but it would be nice if we could sync on them anyway.

https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1955851 is the Ubuntu bug about it.

The error in the test logs was like this:

+ smbpasswd -s -a smbtest2116
+ echo '2116\n2116'
Unable to get new password.

Merge request reports

Loading