[SATLUG] Accessing windows share from Suse10.2
Emon
emon at nerdshack.com
Sat Feb 10 03:03:12 CST 2007
Hello everyone
I have 2 machines on a (Home) LAN; one linux(192.168.0.1) & the other
Win-XP(192.168.0.2); connected via hub.
I just set up samba on my Suse10.2 KDE Desktop box (I pasted the
contents of /etc/samba/smb.conf below)
I can access Linux shares from the XP box, but cant access XP shares
from the SuSE box (well... not easily to be precise)
The first machine is named 'magicbox' & the second machine 'magicbox-2'
and they belong to the workgroup 'LANLINK'.
>From KDE desktop I click Network Browsing > SMB Shares > Lanlink >
magicbox-2; but I an error message
Could not connect to host for smb://magicbox-2/
So I tried typing into the location bar myself
smb://192.168.0.2/
and I could see (& access) all the shared directories on the XP box
Can anybody please explain what is going on??
Thanks
Emon
# 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: 2006-11-27
[global]
workgroup = LANLINK
netbios name = magicbox
interfaces = 127.0.0.1 192.168.0.1 eth0
host allow = 127.0.0.1 192.168.0.0/24
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192
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 = No
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65
preferred master = Yes
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin/false %m$
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
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
[share]
comment = For All
path = /mnt/hd/MAGICSTORE/share
read only = No
inherit acls = Yes
guest ok = Yes
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
More information about the SATLUG
mailing list