← Back to team overview

enterprise-support team mailing list archive

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

 

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/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
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


Follow ups