Samba server amd64 testcast fails step 28. net usersidlist could not get the user/id list

Bug #1572745 reported by warren
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba
Fix Released
Unknown
samba (Ubuntu)
New
Low
Unassigned

Bug Description

Install (Samba server) in Ubuntu Server amd64 in Xenial Daily
Ubuntu Server 16.04 Xenial Final ISO 20160420
Samba Version 4.3.8-Ubuntu
Step number 28. Verify your userId is defined:
net usersidlist
has to return a line similar to UBUNTU\'your userId'. Other lines will also be shown.

The result from net usersidlist:
Could not get the users/sid list

I found this web page:
https://<email address hidden>/msg1412705.html

$ sudo net usersidlist -d2
added interface bond0 ip=X.X.X.X bcast=X.X.X.255 netmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Could not malloc sid array
Could not get the user/sid list
return code = -1

Using the above command the same results are in Ubuntu 16.04 samba server

Tags: iso-testing

Related branches

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1572745

tags: added: iso-testing
Revision history for this message
warren (wkclemmons) wrote : Re: [Bug 1572745] Re: Samba server amd64 testcast fails step 28. net usersidlist could not get the user/id list

https://<email address hidden>/msg1412705.html

On 04/20/2016 05:13 PM, Ubuntu QA Website wrote:
> This bug has been reported on the Ubuntu ISO testing tracker.
>
> A list of all reports related to this bug can be found here:
> http://iso.qa.ubuntu.com/qatracker/reports/bugs/1572745
>
> ** Tags added: iso-testing
>

Changed in samba:
status: Unknown → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Indeed, I only got that to work after I joined a domain. Interestingly it then also lists the local users.

I don't quite remember if winbind would list the local users in the standalone server case. I'll try another samba version.

affects: samba4 (Ubuntu) → samba (Ubuntu)
Changed in samba (Ubuntu):
importance: Undecided → Low
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

With precise's samba 3.6.x I could get it to work. Any other 4.5 or older that I tried didn't work.

The test case this bug is based on I think is very old and step 28 should be removed. I can't see why winbind would be used in such a case where you are not a member of a domain, but feel free to enlighten me :)

If we want to quickly check winbind, here are some alternatives that we could use:

ubuntu@trusty-samba-usersidlist:~$ wbinfo -p
Ping to winbindd succeeded

ubuntu@trusty-samba-usersidlist:~$ wbinfo --all-domains
BUILTIN
TRUSTY-SAMBA-USERSIDLIST
ubuntu@trusty-samba-usersidlist:~$

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I think we should be ok with the new test case.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.