1 / 3
文档名称:

访问smb 共享的问题.doc

格式:doc   大小:27KB   页数:3页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

访问smb 共享的问题.doc

上传人:170486494 2018/7/24 文件大小:27 KB

下载得到文件列表

访问smb 共享的问题.doc

文档介绍

文档介绍:访问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