net usersidlist on a newly-installed samba server crashes with SIGSEGV

Bug #656527 reported by C de-Avillez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba
Confirmed
Medium
samba (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: samba

ISO testing, testing i386 server image -- Samba test. When I run 'net usersidlist' I get this output:

CHECKBOX\nobody
 S-1-5-21-2266484315-1315366848-732043401-501
 S-1-1-0
 S-1-5-2
 S-1-5-11

 (NULL SID)
Segmentation fault (core dumped)

Will add in the apport-collected data in a few

Revision history for this message
C de-Avillez (hggdh2) wrote :

Sigh. It seems I will have to reboot to get the report here :-(

tags: added: iso-testing
Revision history for this message
James Page (james-page) wrote :

This should have been picked up by the automated ISO testing; I've reviewed the test script and this test is missing (all others are present).

Revision history for this message
James Page (james-page) wrote :

Confirmed as a bug on against i386 server image using a VM

Changed in samba (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release Candidate i386 (20101005)
NmbdLog:

Package: samba 2:3.5.4~dfsg-1ubuntu8
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic-pae 2.6.35.4
SambaServerRegression: Yes
SmbConfInclude: Yes
SmbLog:

Tags: maverick
Uname: Linux 2.6.35-22-generic-pae i686
UserGroups:

WindowsFailedConnect: Yes

tags: added: apport-collected
Revision history for this message
James Page (james-page) wrote : Dependencies.txt

apport information

Revision history for this message
James Page (james-page) wrote : SMBConf.txt

apport information

Revision history for this message
James Page (james-page) wrote : SambaInstalledVersions.txt

apport information

Revision history for this message
James Page (james-page) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

I don't reproduce it on amd64.

Revision history for this message
Chuck Short (zulcss) wrote :

I was able to reproduce this on i386.

chuck

Revision history for this message
James Page (james-page) wrote :

I don't get a segmentation fault on amd64; however the SID list returned only includes \nobody and not the one user account defined on the system (which is what is documented in the test case).

jamespage@maverick-amd64-smb:~$ net usersidlist
MAVERICK-AMD64-SMB\nobody
 S-1-5-21-2220227714-2457251725-4248854820-501
 S-1-1-0
 S-1-5-2
 S-1-5-11

wbinfo -u returns nobody + jamespage:

jamespage@maverick-amd64-smb:~$ wbinfo -u
MAVERICK-AMD64-SMB\nobody
MAVERICK-AMD64-SMB\jamespage

Is this some sort of fix to stop username enumeration? It almost looks intentional.

Revision history for this message
Thierry Carrez (ttx) wrote :

On amd64: the list only mentions UBUNTU\nobody.

Changed in samba:
status: Unknown → Confirmed
Changed in samba:
importance: Unknown → Medium
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.