免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: ccvc0327
打印 上一主题 下一主题

samba共享下,WINDOWS已经看文件夹,但没有权限是怎么回事? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-12-10 20:05 |只看该作者
1.在smbuser中看看root是否和win下的用户绑定;
2.在smb.conf中看看Allow IP地址段,是否包含你的ip;再在里面看看你共享的文件夹是否给用户了read的权限!
3.smb的路径前面是否把“;username map = /etc/samba/smbusers”前面的“;”去掉了!
4.是否把用户已经添加到samba的用户中了,smbpasswd -a  ****

论坛徽章:
0
12 [报告]
发表于 2007-12-10 21:08 |只看该作者
文件权限问题
没有给用户相应权限

论坛徽章:
0
13 [报告]
发表于 2007-12-11 11:46 |只看该作者
把你的SMB.CONF貼出來看看吧```

论坛徽章:
0
14 [报告]
发表于 2007-12-17 16:20 |只看该作者
把你共享的文件夹设置一个权限
比如770

论坛徽章:
0
15 [报告]
发表于 2007-12-27 14:46 |只看该作者
修改共享文件夹的权限属性

chmod  doc 604

论坛徽章:
0
16 [报告]
发表于 2007-12-27 18:16 |只看该作者
有可能是权限的问题,不过看见那个错误的提示,好像楼主应该是用多个用户跟你的samba服务器建立连接了,windows默认用的就是你第一次输入的用户名和密码,你注销一下xp 再连接一下你的samba看看

论坛徽章:
0
17 [报告]
发表于 2008-05-20 11:03 |只看该作者
你有没有把本地用户加入到samba中啊?

比如本地用户叫yamu:
smbpasswd -a yamu
再加个密码就行了,基本上和linux添加用户一样,登录共享的时候输入刚才添加的用户名和密码就应该能进去了。
要是还不行那可能是你smb.conf的配置不对……

论坛徽章:
0
18 [报告]
发表于 2008-06-02 23:05 |只看该作者

我也遇到这个问题

解决方法:在登陆的时候,重新选择用户登陆。

论坛徽章:
0
19 [报告]
发表于 2008-06-03 00:21 |只看该作者
原帖由 cyllls 于 2007-12-10 20:05 发表
1.在smbuser中看看root是否和win下的用户绑定;
2.在smb.conf中看看Allow IP地址段,是否包含你的ip;再在里面看看你共享的文件夹是否给用户了read的权限!
3.smb的路径前面是否把“;username map = /etc/sa ...

这个回答看起来最顺眼。

论坛徽章:
0
20 [报告]
发表于 2016-07-09 22:07 |只看该作者
[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700
[home]
   comment = Root Directories
   browseable = yes
   writeable = yes
   path = /home
   valid users = smb

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP