[Bug 1748267] [NEW] smbclient-share-access dep8 test should create the user it needs

Andreas Hasenack andreas at canonical.com
Thu Feb 8 19:05:04 UTC 2018


Public bug reported:

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.

** Affects: samba (Ubuntu)
     Importance: Low
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1748267/+subscriptions



More information about the Ubuntu-server-bugs mailing list