[Root @ Lang packages] # rpm-Qa | grep samba
Samba-winbind-3.2.4-0.22.fc10.i386
Samba-common-3.2.4-0.22.fc10.i386
Samba-client-3.2.4-0.22.fc10.i386
[Root @ Lang packages] # rpm-Qa | grep SMB
Libsmbios-2.0.1-2.fc10.1.i386
Libsmbclient-3.2.4-0.22.fc10.i386
Gvfs-smb-1.0.2-3.fc10.i386
Pam_smb-1.1.7-9.fc10.i386
Smbios-utils-2.0.1-2.fc10.1.i386
[Root @ Lang packages] # service SMB start
SMB: unrecognized service
[Root @ Lang packages] # service Samba status
Samba: unrecognized service
The above indicates that the samba client has been installed on your machine, and there is no server. Load your CD,
[Root @ Lang packages] # ls samba *.*
Samba-3.2.4-0.22.fc10.i386.rpm samba-client-3.2.4-0.22.fc10.i386.rpm samba-common-3.2.4-0.22.fc10.i386.rpm samba-winbind-3.2.4-0.22.fc10.i386.rpm
Samba-3.2.4-0.22.fc10.i386.rpm is what we currently lack, so to install it, sometimes, it will prompt:
Error: Missing dependency: Perl (convert: ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
Then you need:
[Root @ Lang packages] # rpm-IVH perl-Convert-ASN1-0.21-3.fc9.noarch.rpm
Preparing... ######################################## ### [100%]
1: perl-Convert-ASN1 ####################################### #### [100%]
[Root @ Lang packages] # ls samba *.*
Samba-3.2.4-0.22.fc10.i386.rpm samba-client-3.2.4-0.22.fc10.i386.rpm samba-common-3.2.4-0.22.fc10.i386.rpm samba-winbind-3.2.4-0.22.fc10.i386.rpm
[Root @ Lang packages] # rpm-IVH samba-3.2.4-0.22.fc10.i386.rpm
Preparing... ######################################## ### [100%]
1: samba ####################################### #### [100%]
[Root @ Lang packages] # service Samba status
Samba: unrecognized service
[Root @ Lang packages] # service SMB status
Smbd is stopped
[Root @ Lang packages] # service SMB start
Starting SMB services: [OK]
The installation is successful.