下载此文档

访问smb 共享的问题.doc


文档分类:IT计算机 | 页数:约3页 举报非法文档有奖
1/3
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/3 下载此文档
文档列表 文档介绍
访问smb 共享的问题
smbclient //ns/xx -U username
显示
Domain=[WORKGROUP] OS=[Unix] Server=[Samba ]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
tree connect failed: ESS_DENIED
只要在/etc/samba/[global]字段里面加入
client lanman auth = yes
这时既可以用 smbclient连接,也可以用mount挂载,还可以通过gnome里面的“连接到服务器“来连接
一个简单的samba配制
/etc/samba/
[global]
workgroup=WORKGROUP
server string=linux
security=share
client lanman auth=yes
[share]
comment=samba share
#共享的路径
path=/media/software/share
public=yes
writeable=no
另外一个:
    [global]
    workgroup=WORKGROUP
    netbios name=TestGroup
    server string=TestGroup
    log file = /var/log/samba/log.%m
    max log size = 50
    security=share
    client lanman auth = yes
    lanman auth = yes
 
    [Fedora_Samba]
    comment = This is the linux server of testgroup!
    path = /home/samba  //共享文件夹的地址
    public = yes
    writable = yes
    writelist=@
    brows
eable=yes
    guest ok=yes
    create mask = 0777
:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
security = SHARE
client lanman auth = Yes
log file = /var/log/samba/log.%m
max log size = 50
printcap name = /etc/printcap
[homes]
[printers]
comment = All Printers
path = /var/spoo

访问smb 共享的问题 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数3
  • 收藏数0 收藏
  • 顶次数0
  • 上传人170486494
  • 文件大小27 KB
  • 时间2018-07-24