After setting up a Samba service on Linux, you can't access the shared directory on WinDOS. troubleshooting

Source: Internet
Author: User

today, when building samba services under Linux, there are a few problems, after many attempts, finally successfully resolved
problem: Build Samba service on Linux and compile vim/etc/samba/smb.conf after completion;
1> When testing access to a shared directory on WinDOS, the error is as follows

650) this.width=650; "id=" Aimg_ni7ta "class=" Zoom "src=" http://users//Administrator//Desktop "border=" 0 "style=" Color:rgb (68,68,68); Font-family:tahoma, ' Microsoft Yahei ', Simsun;font-size:14px;line-height:21px;white-space: Normal;background-color:rgb (255,255,255); "/>
2> input on browser: File://192.168.1.103/sanshi, same error after access
650) this.width=650; "id=" aimg_ts28l "class=" Zoom "src=" http://users//Administrator//Desktop "border=" 0 "style=" Color:rgb (68,68,68); Font-family:tahoma, ' Microsoft Yahei ', Simsun;font-size:14px;line-height:21px;white-space: Normal;background-color:rgb (255,255,255); "/>
3> access on Linux, the following tips
[email protected] ~]# smbclient//192.168.1.103/sanshi
warning:the security=share option is deprecated
Enter Root ' s password:
Domain=[workgroup] Os=[unix] Server=[samba 3.6.23-24.el6_7]
Server not using the user level security and no password supplied.
SMB: \> ls
nt_status_access_denied Listing \*


Workaround: According to the error prompt: Nt_status_access_denied listing \*, look at the firewall status SELinux, with Getenforce view, if you open enforcing, use Setenforce 0 off
[email protected] ~]# Getenforce
Enforcing
[email protected] ~]# Setenforce 0
[email protected] ~]# smbclient//192.168.1.103/sanshi
warning:the security=share option is deprecated
Enter Root ' s password:
Domain=[workgroup] Os=[unix] Server=[samba 3.6.23-24.el6_7]
Server not using the user level security and no password supplied.
SMB: \> ls
  . D 0 Sat Jan 12:19:43
  .. D 0 Sat Jan 12:34:09
Test D 0 Sat Jan 12:19:43
1.txt 1385 Sat Jan 12:19:16

35829 blocks of size 524288.23377 Blocks available
SMB: \> exit

This article is from the "Do not forget beginner's mind party always" blog, please be sure to keep this source http://sanshilinux.blog.51cto.com/10452146/1738023

After setting up a Samba service on Linux, you can't access the shared directory on WinDOS. troubleshooting

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.