Samba can be used to allow connection between Linux and Windows.Manely use for printer sharing,directory sharing and many useful feature.
/etc/RC.d/init.d/sabma (start,stop,reastrt) use for active samba service.
For samba configuratiuon use this file /etc/smb.conf
change those workgroup = WORKGROUPNAME
server string = MACHINE DESCRIPTION
In this file we configure setting for printer sharing and Directory sharing.
/etc/smb/smb.conf or /etc/samba/smb.conf.
System-wide configuration files are usually found in /etc. Personalized configuration files are stored in the user's home directory, in files and subdirectories preceded by a "." in their name.
Samba server is used fo sharing file and folder and directories over the network ,whether sharing between windows to Linux or vice versa,same case with the ftp but 1)ftp can provide anonymous access to the clients,that means,there is no need to have users account on ftp server 2)files first need to be downloaded from windows or Linux before viewing it,in case of samba we can direct share files. 3)in case of samba there is need of samba clients on samba server for accessing files.
Samba Server is the Linux implementation of SMB, or Server Message Block. It is utilized for network sharing of files and printers.
nano and vi (vim) are common ones. As root # nano /etc/samba/smb.conf As a user $ sudo nano /etc/samba/smb.conf
To create a Samba server in Red Hat Enterprise Linux 5, first, install the Samba package using the command yum install samba samba-client samba-common. Next, configure the Samba configuration file located at /etc/samba/smb.conf by defining the shared directories and access permissions. After editing the configuration, start the Samba services with service smb start and service nmb start, and ensure they are set to start on boot using chkconfig smb on and chkconfig nmb on. Finally, set up user access with smbpasswd -a username for any user you want to grant access to the Samba shares.
Global configuration files are usually found in /etc/ssh/.
Unix files can be easily transferred to windows via a network connection either by using FTP or by using Samba. Samba allows a Unix file system to be mounted/shared on a Windows system to look like a windows directory.
In .ini file ini stands for Initialize or Initialization.It is also known as Initialize/Initialization/Configuration file .
If you want to share files with other linux computer use NFS. If you want to share files with windows computer use SAMBA.
With NFS and/or Samba.
The samba software package implements the netbios protocol which is used by Microsoft Windows Lan Manager under TCP/IP to share files. Samba is open software and available free for non-windows platforms such as linux, unix and OpenVMS. Properly configuring samba makes Unix folders appear as shared folders on a Windows system.