[Bug 1748267] Re: smbclient-share-access dep8 test should create the user it needs
Andreas Hasenack
andreas at canonical.com
Fri Feb 9 13:51:41 UTC 2018
Tests adapted, and working in debian. Salsa MP: https://salsa.debian.org
/samba-team/samba/merge_requests/1
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1748267
Title:
smbclient-share-access dep8 test should create the user it needs
Status in samba package in Ubuntu:
In Progress
Bug description:
The d/t/smbclient-share-access DEP8 test currently assumes there is an ubuntu posix user present on the system. This works for ubuntu, but won't work elsewhere, like in Debian for example:
(...)
Setting password for the ubuntu user
+ + echo secret\nsecret
smbpasswd -s -a ubuntu
Failed to add entry for user ubuntu.
...
cannot create /home/ubuntu/data: Directory nonexistent
+ base64
+ chown ubuntu:ubuntu /home/ubuntu/data
chown: invalid user: ‘ubuntu:ubuntu’
+ cd /home/ubuntu
/tmp/autopkgtest.mxWhuu/tree/debian/tests/smbclient-share-access: 22: cd: can't cd to /home/ubuntu
...
and so on
Fixing this will allow us to submit these new tests to debian and
reduce our delta.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1748267/+subscriptions
More information about the foundations-bugs
mailing list