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