[s390x] DEP8 authenticated smb test failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
samba (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
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}
This is missing an "-e" at least, so that \n is correctly interpreted:
echo -e "${password}
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?)).
Related branches
- Bryce Harrington (community): Approve
- Canonical Server: Pending requested
-
Diff: 28 lines (+8/-1)2 files modifieddebian/changelog (+7/-0)
debian/tests/util (+1/-1)
- Utkarsh Gupta (community): Approve
- Canonical Server: Pending requested
-
Diff: 87 lines (+43/-2)5 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/fix-loop-under-run-in-cache_get_offset_parent.patch (+30/-0)
debian/patches/series (+1/-0)
debian/tests/smb-mount (+1/-1)
summary: |
- DEP8 authenticatied smb test failure + DEP8 authenticated smb test failure |
tags: | added: server-todo |
This definitely also affects the samba package: tests/smbclient -authenticated- share-list smbtest2116 smbtest2116
$ sudo bash debian/
+ set -e
+ . debian/tests/util
+ username=
+ password=2116
+ add_user smbtest2116 2116
+ local username=
+ 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.