访问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转载请标明出处.