Functional Verification Test for lsb-samba
Install & Setup
- Download the lsb-samba application package that corresponds
to the LSB version and processor architecture for which certification
is being sought from the
Download Page.
-
Install package on system. Example command line:
rpm -ivh lsb-samba-3.0.28a-1.lsb4.i486.rpm
NOTE: Application MUST be installed without use of --nodeps option,
the dependency checks are part of the test.
- Expected result: application should be installed to
/opt/lsb/appbat
/etc/opt/lsb/appbat
/var/opt/lsb/appbat
-
Create a test user for the FVT. Run the command:
useradd -m smbuser
-
Use the passwd command to set the password for smbuser
to smb4lsb
-
Populate the /home/smbuser directory. Run the command:
cp /opt/lsb/appbat/man/man1/* /home/smbuser
-
Create the file /etc/opt/lsb/appbat/smb.conf
with the following contents:
[global]
workgroup = WORKGROUP
interfaces = eth0
[homes]
guest ok = no
read only = no
NOTE: The smb.conf file assumes eth0 is the network interface available on
the test system. If a different interface is being used, such as eth1, then
it should be used on the interfaces line.
-
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
-
Run the command: grep "^nobody" /etc/passwd
- Expected result: Output shows user "nobody" already exists. If it
is not present on the system, run the command: "useradd nobody"
to create the nobody user.
-
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.
-
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
Functional Verification Test (FVT)
Results
Cleanup
- Stop the test smbd and nmdb daemons.
Use ps and kill for this.
- If the test system's Samba SMB/CIFS server (smbd) and
NetBIOS name server (nmbd) were stopped prior to running
the test, re-enable them now.
Reporting Test Results
Include the results of testing this application in the Conformance Statement
submitted to the LSB Certification Authority when seeking LSB Runtime
Environment Certification.
Note this is not a submittable form, instead you affirm on the
certification form that you have followed these steps.
|