- 论坛徽章:
- 0
|
本帖最后由 ByCore 于 2013-11-28 17:03 编辑
我在linux服务器上配置了samba共享服务,配置文件如下:
[global]
wins support = no
[Ateam-7c]
comment = Ateam-7c's File
directory mode = 0777
create mode = 0777
path = /root/Ateam-7c
available = yes
browseable = yes
public = no
writable = yes
read list = Ateam-7c
write list = Ateam-7c
hide dot files = yes
valid users = Ateam-7c
force group = Ateam-7c
用户信息:
debian:~# cat /etc/passwd |grep Ateam-7c
Ateam-7c:x:1094:1108::/home/Ateam-7c:/bin/sh
用户组信息:
debian:~# cat /etc/group | grep Ateam-7c
qagroup:x:1024:test2,qa4,qa3,qa2,qa1,iqc2,iqc,root,qa9,qa5,wwjuan,ee9,Ateam-7c
Ateam-7c:x:1108:
samba用户信息:
debian:~# pdbedit -L Ateam-7c
Ateam-7c:1094:
/home/Ateam-7c 目录信息:
debian:~# ls -al /root/ | grep Ateam-7c
drwxrwxr-x 17 root Ateam-7c 4096 Nov 26 17:00 Ateam-7c
我使用smbclient -U Ateam-7c //127.0.0.1/Ateam-7c 可以访问
如图:
但是我用win7访问时弹出密码认证框,但是输入用户名:Ateam-7c 密码:samba.com后 却访问不了如图:
拒绝访问!
请各位朋友帮帮忙,找了好久都没有找到解决方法,我试过用XP系统可以访问!有些Win7的可以!
|
|