Simple Samba Configuration

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.