[Bug 1955851] Re: DEP8 authenticated smb test failure
Andreas Hasenack
1955851 at bugs.launchpad.net
Tue Dec 28 14:10:36 UTC 2021
This definitely also affects the samba package:
$ sudo bash debian/tests/smbclient-authenticated-share-list
+ set -e
+ . debian/tests/util
+ username=smbtest2116
+ password=2116
+ add_user smbtest2116 2116
+ local username=smbtest2116
+ local password=2116
+ echo 'Creating a local and samba user called smbtest2116'
Creating a local and samba user called smbtest2116
+ useradd -m smbtest2116
+ echo 'Setting samba password for the smbtest2116 user'
Setting samba password for the smbtest2116 user
+ smbpasswd -s -a smbtest2116
+ echo '2116\n2116'
Unable to get new password.
** Also affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Changed in: samba (Ubuntu)
Status: New => In Progress
** Changed in: samba (Ubuntu)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1955851
Title:
DEP8 authenticated smb test failure
Status in autofs package in Ubuntu:
In Progress
Status in samba package in Ubuntu:
In Progress
Bug description:
The DEP8 authenticated cifs test is currently failing. The reason is
an incorrect (but that seemed to work previously) smb user creation:
echo "${password}\n${password}" | smbpasswd -s -a ${username}
This is missing an "-e" at least, so that \n is correctly interpreted:
echo -e "${password}\n${password}" | smbpasswd -s -a ${username}
I'm at a loss to explain why only s390x was/is affected. In fact, I
reproduced the test failure in a plain amd64 VM.
I also don't understand why in the failed s390x logs the smb user was
created, apparently:
Setting samba password for the smbtest2765 user
+ echo Setting samba password for the smbtest2765 user
+ smbpasswd -s -a smbtest2765
+ echo 2765\n2765
Added user smbtest2765.
When I reproduced it in both a s390x vm, and amd64, I got:
+ echo 'Setting samba password for the smbtest24990 user'
Setting samba password for the smbtest24990 user
+ smbpasswd -s -a smbtest24990
+ echo '24990\n24990'
Unable to get new password.
Anyway, the bug seems obvious, and also affects the samba DEP8 tests
(which, also for unknown reasons, haven't failed (yet?)).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1955851/+subscriptions
More information about the foundations-bugs
mailing list