What's wrong with Samba? Let's take a look, online, etc.

Source: Internet
Author: User
What's wrong with Samba? Let's take a look at it. Let's take a look at online-Linux general technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by crossbitter at, January 15 ,.

/Etc/samba/smb. conf

[Global]
Workgroup = birdhouse
Netbios name = birdhome
Server string = Bird's testing SAMBA Server

Security = user
Encrypt passwords = yes
Smb passwd file =/etc/samba/smbpasswd

Hosts allow = 192.168.1 127.
Log file =/var/log/samba/% m. log
Max log size = 0
Socket options = TCP_NODELAY SO_RCVBUF = 8912 SO_SNDBUF = 8912
Interfaces = 192.168.1.2
Dns proxy = no


[Homes]
Comment = Home Directories
Browseable = no
Writeable = yes
Valid users = % S
Create mode = 0664
Directory mode = 0775

[Public]
Comment = Public Stuff
Path =/home/public
Public = yes
Writable = yes

[Root @ localhost ~] # Smbclient-L 192.168.1.2
Password:
Grouping SMB: Server stopped responding
Tree connect failed: Call returned zero bytes (EOF)

/Var/log/messages
Sep 10 14:19:23 localhost nmbd [13288]:
Sep 10 14:19:23 localhost nmbd [13288]: Samba name server BIRDHOME is now a local master browser for workgroup BIRDHOUSE on subnet 192.168.1.2
Sep 10 14:19:23 localhost nmbd [13288]:
Sep 10 14:19:23 localhost nmbd [13288]: *****
Sep 10 14:24:41 localhost smbd [13602]: [14:24:41, 0] lib/access. c: check_access (327)
Sep 10 14:24:41 localhost smbd [13602]: Denied connection from (192.168.1.253)
Related Article

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.