Click to See Complete Forum and Search --> : 50/50 Samba - why?


redhatnoobie
01-08-2003, 07:18 PM
Long time listener, first time poster.

I've got XP Home and RH 8 boxes running via DHCP with a Linksys router.

Configured smb.conf (below) with webmin and text editor.

Mounted 'my documents' from the XP box to my /test/mnt directory on the linux box. However when I browse, sometimes it works and sometimes it doesn't - anyone know why? RH8 just locks up and I can't unmount or anything - must reboot. Any ideas??

Thanks in advance!!!
gp

PS - I disabled the firewall in webmin - does that mean it's disabled??

smb.conf:
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
; load printers = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
null passwords = yes
encrypt passwords = yes
; wins support = true
netbios name = redhatbox
server string = Look Out
; printing = lprng
; unix password sync = Yes
workgroup = MSHOME
; printcap name = /etc/printcap
security = user
max log size = 0

oplock = True
level2 oplocks = true
fake oplocks = yes
share modes = off
read prediction = yes

[home]
writable = yes
path = /home
comment = Home Directories
public = yes
guest ok = yes

[test]
path = /test
public = yes
only guest = yes
writable = yes
comment = test

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

redhatnoobie
01-08-2003, 08:55 PM
I removed some of my smb.conf paramaters after running testparm - but still same problem - browsing from XP -> RH = OK. Browsing from RH -> XP = iffy.

On the XP machine - there is an option under TCP/IP -> advanced to enable Netbios over TCP/IP - should that be checked?? Right now it's the default - 'let the DHCP set it and if it doesn't then enable netbios' or something like that. Should that work?

Newer smb.conf:
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
; load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
null passwords = yes
encrypt passwords = yes
; wins support = true
netbios name = redhatbox
server string = Look Out
; printing = lprng
; unix password sync = Yes
workgroup = MSHOME
; printcap name = /etc/printcap
security = user
max log size = 0

[home]
writable = yes
path = /home
comment = Home Directories
public = yes
guest ok = yes

[test]
writable = yes
path = /test
comment = test
public = yes
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

pcghost
01-10-2003, 12:58 PM
Is your XP running on an NTFS partition? If so have you added NTFS support to your installation of Reh Hat? If no, search LNO for Mdwatts (user) and click on the link in his sig, a precompiled NTFS module for RH8. Other than that, is it XP pro or homely? The only way Samba will work with XP Homely is as a workgroup, ie. Security = Share

redhatnoobie
01-10-2003, 01:04 PM
Thank you! It's XP home w/ntfs, so I'll look into the RH support for that. I've also got samba set to user level security, so I'll try and change that as well. I'll let you know how it goes....