Click to See Complete Forum and Search --> : Samba v. windows problems
Newbie Dave
09-22-2002, 06:54 PM
ok. I've gotten to the point where i can browse the windows networks with linneighborhood, and my xp box can ping my linux box and vise versa; i still cannot browse my linux box from my xp network neighborhood. Xp sees the workgroup that my linux box is in, but when i try to access the workgroup it wont work. when i change the smbconf so that the linux box is in the same wg as my xp, it sees the linux comp but cannot access it. can anyone help? this is my smb.conf
[global]
workgroup = mshome
server string = Daves Samba Server
comment = Linux Server
hosts allow = 134.129.
encrypt passwords = no
password level = 0
preferred master = yes
security = share
os level = 0
null passwords = no
dead time = 0
domain master = auto
guest account = ftp
log file = /var/log/samba/log.%m
[public]
available = yes
path = /home/share
public = yes
guest only = no
writable = yes
browseable = yes
only user = no
Dutch Mafia-boy.
09-22-2002, 08:47 PM
did you create samba users and passwords ??
ie)# adduser john
# passwd john
# smbpasswd john
RAGEAngel9
09-22-2002, 09:54 PM
I'll partially hijack this topic because my question sort of fits. If I wanted to have guest access to my samba shares would I just create a user guest and then create a blank password, or is there another way of doign it?
Newbie Dave
09-22-2002, 10:06 PM
no, i didnt create passwords, i wanted it to be open to anyone, so i put security on 'share' instead of user? is this my problem?
I am having the same problem it seems: trying to network a new linux computer to a MS network, Linux can talk to MS but not the other way around: I can see the Linux computer from MS Network Neighborhood but cannot access it??? Keen for any advice.
hanzerik
09-23-2002, 09:42 AM
Try this:
mkdir /share
chmod 777 /share -R
[global]
netbios name = Dave
workgroup = mshome #exactlly the same as in windows
server string = Daves Samba Server
comment = Linux Server
hosts allow = 134.129.
security = share
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8760 SO_SNDBUF=8760
dns proxy = no
[public]
path = /share
public = yes
guest only = yes
writable = yes
printable = no
then restart smb:
/etc/rc.d/init.d/smb stop
/etc/rc.d/init.d/smd start
testparm
Newbie Dave
09-23-2002, 06:24 PM
it didnt to anything. on LinNeighborhood, i can see a group of comps that are completely different than what i can see from my xp box. this is wierd
hanzerik,
you are a champion! Thank you very much. Now all I have to do is try and understand what I just did.
Ta,
Rob:)
hanzerik
09-23-2002, 11:09 PM
Originally posted by Newbie Dave
it didnt to anything. on LinNeighborhood, i can see a group of comps that are completely different than what i can see from my xp box. this is wierd
Make sure the workgroup name is exactly the same as it is in windows, case the same also.
Drop the host allow = and see what happens.
And you never said you were using LinNeighborhood, I thought you were trying to connect from a windows machine?
oh BTW: DONT USE THIS TYPE OF CONFIG ON A COMPUTER NOT PROTECTED BY A FIREWALL. IT IS OPEN TO EVERYONE.
Newbie Dave:
What you did was create a shared drive for your windows computers :)
the /shared folder is a public share, no password required, read/write/execute for any user.