ThomasNichols
05-31-2003, 06:34 PM
Good Day,
I'm having some problems getting a Win XP Pro machine ("cal") to see a Samba server on a Mandrake 9.0 box ("gan"). Samba version is 2.2.7.
gan - 10.0.0.27 - Linux Mandrake 9.0
cal - 10.0.0.15 - Win XP Pro
On gan, running
smbclient -L gan
browses the shares fine -- see below. However, from the Win XP Pro box I cannot even browse the workgroup name in My Network Places -- from "net view \\gan" I get
"Nich is not accessible. You might not have permission to use this network resource." (Nich is workgroup name).
cal can ping gan (and vice versa) and ssh to it without problems.
I have tried every smb.conf config I can think of, ranging from empty to copies of previous configs that worked fine (earlier versions of Mandrake, with WinNT and Win2000). Current settings given below.
I've worked through DIAGNOSIS.txt, and also the troubleshooting chapters in "Teach Yourself Samba in 24 Hours" -- and I'm completely stumped:
- OK to step 6, nmblookup -d 2 `*' -- at which point I get
added interface ip=10.0.0.27 bcast=10.0.0.255 nmask=255.255.255.0
querying * on 10.0.0.255
name_query failed to find name *
Step 7, "Connecting to a Share Locally" with smbclient, works fine - see listing below.
Step 8 gives error 53, "The network path was not found."
- "gan" is in the Windows HOSTS file - i.e c:\windows\system32\drivers\etc\hosts on cal. I've read reports that this prevents the workgroup being used, but with or without it net view \\gan returns error 53.
- I've tried with "gan" in LMHOSTS rather than HOSTS on cal - same directory - and also with it in both. Reloaded LMHOSTS with nbtstat - R between edits.
- I've tried both with and without the "remote announce..." and "nt acl support = no" options in smb.conf
- Internet Connection Firewall is not enabled
... and whatever I try, I get System Error 53.
From the docs it seems that "interfaces" may be the parameter I need -- I've read the man pages, tried
interfaces = eth0 10.10.10.15/24 10.10.10.15/255.255.255.0
but that just causes nmbd startup to break.
Please can anyone suggest an appropriate course of action / set of documentation I can use to resolve this problem? Any suggestions would be very welcome.
Thanks for your attention,
Thomas.
==== smbclient tests OK ====
#smbclient -L ganymede -U thomasn
added interface ip=10.10.10.27 bcast=10.10.10.255 nmask=255.255.255.0
Password: *** WinXP password, as recorded with smbpasswd -a ***
Domain=[NICH] OS=[Unix] Server=[Samba 2.2.7]
Sharename Type Comment
--------- ---- -------
homes Disk
tmp Disk temporary files
IPC$ IPC IPC Service (Samba 2.2.7)
ADMIN$ Disk IPC Service (Samba 2.2.7)
thomasn Disk Home directory of thomasn
Server Comment
--------- -------
GAN Samba 2.2.7
Workgroup Master
--------- -------
NICH GAN
==== current smb.conf ====
[global]
netbios name = gan
workgroup = NICH
security = user
log file = /var/log/samba/log.%m
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[homes]
guest ok = yes
read only = no
[tmp]
comment = temporary files
path = /tmp
read only = no
nt acl support = no
--------------------------------
I'm having some problems getting a Win XP Pro machine ("cal") to see a Samba server on a Mandrake 9.0 box ("gan"). Samba version is 2.2.7.
gan - 10.0.0.27 - Linux Mandrake 9.0
cal - 10.0.0.15 - Win XP Pro
On gan, running
smbclient -L gan
browses the shares fine -- see below. However, from the Win XP Pro box I cannot even browse the workgroup name in My Network Places -- from "net view \\gan" I get
"Nich is not accessible. You might not have permission to use this network resource." (Nich is workgroup name).
cal can ping gan (and vice versa) and ssh to it without problems.
I have tried every smb.conf config I can think of, ranging from empty to copies of previous configs that worked fine (earlier versions of Mandrake, with WinNT and Win2000). Current settings given below.
I've worked through DIAGNOSIS.txt, and also the troubleshooting chapters in "Teach Yourself Samba in 24 Hours" -- and I'm completely stumped:
- OK to step 6, nmblookup -d 2 `*' -- at which point I get
added interface ip=10.0.0.27 bcast=10.0.0.255 nmask=255.255.255.0
querying * on 10.0.0.255
name_query failed to find name *
Step 7, "Connecting to a Share Locally" with smbclient, works fine - see listing below.
Step 8 gives error 53, "The network path was not found."
- "gan" is in the Windows HOSTS file - i.e c:\windows\system32\drivers\etc\hosts on cal. I've read reports that this prevents the workgroup being used, but with or without it net view \\gan returns error 53.
- I've tried with "gan" in LMHOSTS rather than HOSTS on cal - same directory - and also with it in both. Reloaded LMHOSTS with nbtstat - R between edits.
- I've tried both with and without the "remote announce..." and "nt acl support = no" options in smb.conf
- Internet Connection Firewall is not enabled
... and whatever I try, I get System Error 53.
From the docs it seems that "interfaces" may be the parameter I need -- I've read the man pages, tried
interfaces = eth0 10.10.10.15/24 10.10.10.15/255.255.255.0
but that just causes nmbd startup to break.
Please can anyone suggest an appropriate course of action / set of documentation I can use to resolve this problem? Any suggestions would be very welcome.
Thanks for your attention,
Thomas.
==== smbclient tests OK ====
#smbclient -L ganymede -U thomasn
added interface ip=10.10.10.27 bcast=10.10.10.255 nmask=255.255.255.0
Password: *** WinXP password, as recorded with smbpasswd -a ***
Domain=[NICH] OS=[Unix] Server=[Samba 2.2.7]
Sharename Type Comment
--------- ---- -------
homes Disk
tmp Disk temporary files
IPC$ IPC IPC Service (Samba 2.2.7)
ADMIN$ Disk IPC Service (Samba 2.2.7)
thomasn Disk Home directory of thomasn
Server Comment
--------- -------
GAN Samba 2.2.7
Workgroup Master
--------- -------
NICH GAN
==== current smb.conf ====
[global]
netbios name = gan
workgroup = NICH
security = user
log file = /var/log/samba/log.%m
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[homes]
guest ok = yes
read only = no
[tmp]
comment = temporary files
path = /tmp
read only = no
nt acl support = no
--------------------------------