SAMBA
Features:
1. Provides Windows features (file & print) on Linux | Unix
/etc/samba/smb.conf - primary config file
Clients:
1. findsmb - finds SMB hosts on the network
2. smbtree - equivalent to Network Neighborhood/My Network Places (prints workgroups, hosts, and shares)
3. smbget - similar to 'wget', in that, it will download files from the remote share
•smbget -u dean smb://linuxcbtwin1/mtemp/20070524_SAN_Allocations.ods
4. smbclient - interactive (FTP-like_ utility to connect to shares - permits
uploads/downloads from shares
•smbclient -U dean //linuxcbtwin1/mtemp
•mget file* - downloads file(s)
•mput file* - uploads file(s)
5. smbtar - backs-up smb shares to a TAR archive
•smbtar -s linuxcbtwin1 -x mtemp -u dean -t backup1.tar
Samba Server:
/etc/samba/smb.conf - primary config file
SWAT manages /etc/samba/smb.conf
Samba Server Modes:
1. User
•One Samba-defined user is required per Linux user
•Authentication of users is handled by Samba server
2. Server/Domain (PDC/BDC)
•Authentication is handled by the Windows NT/2K/2K3/2K8 server
•Still requires a local Samba-defined user accounts database
3. ADS - Active Directory
•Authentication is handled by Active Directory
•When used with Winbind, locally-defined Samba users are NOT required
Note: Ultimately, users must authenticate to the local Linux file system
Task:
1. Install SWAT
•yum -y install samba-swat
•nano /etc/xinetd.d/swat - set 'disable = no'
•service xinetd restart
•netstat -ntl | grep 901
/etc/samba/smbpasswd maps Windows users to /etc/passwd
2. Install rdesktop and connect to Windows XP to test connectivity to Samba
•yum -y install rdesktop
No comments:
Post a Comment