By using the Server Message Block protocol and installing Samba on UNIX, Unix can communicate with other Windows computers and simulate Unix machines as Windows machines.
Samba has two Daemon Processes: smbd and nmbd.Program,
The role of the smbd process is to process the incoming SMB software package and negotiate with Linux for resources using the software package. The nmbd process enables other hosts (or workstations) to browse Linux servers.
Graphic management interface:
/Etc/services:
SWAT 901/tcp
SWAT 901/udp
/Etc/inetd. conf:
SWAT stream tcp nowait.400 root/usr/local/samba/bin/Swat SWAT
Manage through http: // ip: 901 and enter the root account
/Usr/local/samba/bin/testparm test the configured Program
When adding a user, the Account must exist on the system. Samba will be added to/usr/local/samba/private/smbpasswd, change the password, and smbpasswd Samba username.
The configuration file is as follows: (/usr/local/samba/lib/smb. conf)
# Samba config file created using SWAT
# Date: 11:53:48
# Global Parameters
[Global]
Client code pages = 936
Workgroup = workgroup // set a Working Group
NetBIOS name = TRANS // set the machine name displayed on the network neighbor
Server String = house of Donald
Secrity = user // user authentication method
Encrypt passwords = Yes
Password level = 3
Log File =/var/log/samba/log. % m
Deadtime = 10
Invalid users = root
[Project]
Comment = super-ftpd Project
Path =/opt/super-ftpd Project
Admin users = chdonald // Administrator
Write list = chdonald, test //
[Public]
Comment = super-ftpd
Path =/opt/super-ftpd/Public
Guest account =
Valid users = chdonald, test
Admin users = chdonald
Write list = chdonald
[Other]
Comment = others
Path =/opt/Other
Admin users = chdonald
Write list = Test, test
(End)