|
|
下面是我的smb.conf配置文件
怎么老是出现找不到网络路径
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2007-05-16
[global]
workgroup = office
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
[office]
path = /home/xingzhengbu
browseable = yes
guest ok = yes
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = Yes
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
是不是我的配置有问题? windows工作组是office
我用smbclient -L 192.168.0.2 出现以下信息:
linux-273d:~/Desktop # smbclient -L 192.168.0.2
Password:
Domain=[LINUX-273D] OS=[Unix] Server=[Samba 3.0.24-2.23-1296-SUSE-CODE10]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.0.24-2.23-1296-SUSE-CODE10)
print$ Disk Printer Drivers
groups Disk All groups
users Disk All users
profiles Disk Network Profiles Service
homes Disk Home Directories
office Disk
LaserJet-1022 Printer LaserJet-1022
Domain=[LINUX-273D] OS=[Unix] Server=[Samba 3.0.24-2.23-1296-SUSE-CODE10]
Server Comment
--------- -------
Workgroup Master
--------- -------
OFFICE LINUX-273D
请问是什么问题导致windows无法访问我的linux共享资源? 谢谢!!! |
|