Bug 164476

Summary: unable to conform to lsb-samba
Product: Red Hat Enterprise Linux 4 Reporter: Lawrence Lim <llim>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jfeeney, qa-i18n-list, tools-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-02 15:18:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 145007    

Description Lawrence Lim 2005-07-28 05:05:32 UTC
Description of problem:
Tested RHEL4's samba against lsb-samba and noticed a few errors. Please see the
steps to reproduce for more details.

Version-Release number of selected component (if applicable):
samba-3.0.10-1.4E

How reproducible:
Always


Steps to Reproduce:
1. Download the lsb-samba application package that corresponds to the LSB
version and processor architecture for which certification is being sought from
the FTP site or via HTTP.

2. Install package on system. Example command line:

rpm -ivh lsb-samba-3.0.11-1.lsb3.i486.rpm

      NOTE: Application MUST be installed without use of --nodeps option
      - Expected result: application should be installed to

/opt/lsb/appbat
/etc/opt/lsb/appbat
/var/opt/lsb/appbat

3. Create a test user for the FVT. Run the command: useradd -m smbuser
4. Use the passwd command to set the password for smbuser to smb4lsb
5. Populate the /home/smbuser directory. Run the command: cp
/opt/lsb/appbat/man/man1/* /home/smbuser
6. Create the file /etc/opt/lsb/appbat/smb.conf with the following contents:

[global]
        workgroup = WORKGROUP

[homes]
        guest ok = no
        read only = no

7. If it does not already exist, create the file /etc/pam.d/samba with the
following contents:

#%PAM-1.0
auth       required     pam_unix.so
account    required     pam_unix.so

8. If the Samba SMB/CIFS server (smbd) and NetBIOS name server (nmbd) are
already running on the system under test, they should be stopped so that they
don't interfere with the running of the test.
9. If the TMPDIR environment variable is set to some value, it should be cleared
to avoid problems with some of the tests. To clear the TMPDIR environment
variable, run the command: unset TMPDIR

10. /opt/lsb/appbat/sbin/smbd -D
11. /opt/lsb/appbat/sbin/nmbd -D
12. /opt/lsb/appbat/bin/smbclient -L localhost -U smbuser
13. /opt/lsb/appbat/bin/smbclient //localhost/smbuser -U smbuser

Actual results:
Unable to start samba SMB/CIFS server as daemon
Unable to start samba NetBIOS name server as daemon
Unable to list all the items being shared by the system
Unable to list all the files in the /home/smbuser directory

Expected results:
All functions performing properly.

Additional info:
Please download the lsb-samba-3.0.11 from the following URL:
http://www.linuxbase.org/download/#app-battery

Comment 4 Lawrence Lim 2005-08-02 15:18:16 UTC
Think this is more of LSB test suite bug than samba bug.

http://bugs.linuxbase.org/show_bug.cgi?id=1058

Closing now.