由 vion800 在 07-02-2003 16:24 发表:
smba的小问题请教
我已经做了个smab,步骤跟这里发表的大同小异.不过我把security=share修改为security=root.这样我的samba就只能是我的root.这次成功了
第二次,我把security=share修改为security=user.发觉有点问题,就是有人登陆我的samba共享时候,当要求输入用户名密码时,他按了取消.结果可以登陆.权限是完全控制.我就不明白.
高手们可以不可以讲讲关于security的问题吗?
由 sfatsdu 在 07-02-2003 19:56 发表:
security=root?
找遍文档也没有这个写法,你是怎么做的?
我看到的是:
security=share/user/server/domain
nObODy
由 vion800 在 07-02-2003 20:57 发表:
我以前是真的这么做的,结果所有的共享都只能是root用户才可以访问.root用户拥有绝对的访问权.
其他用户(我的意思是说输入的用户是一般的user)都看不见共享,他们只能访问他们自己的home.
由 sfatsdu 在 07-02-2003 21:13 发表:
man smb.conf仔细看看
security=*的写法,
http://us1.samba.org/samba/docs/man...5.html#SECURITY
Security
This option affects how clients respond to Samba and is one of the most important settings in the smb.conf file.
The option sets the "security mode bit" in replies to protocol negotiations with smbd(8) to turn share level security on or off. Clients decide based on this bit whether (and how) to transfer user and password information to the server.
The default is security = user, as this is the most common setting needed when talking to Windows 98 and Windows NT.
The alternatives are security = share, security = server or security = domain .
nObODy
由 sfatsdu 在 07-02-2003 21:14 发表:
<p