LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   wierd Samba issue (https://www.linuxquestions.org/questions/linux-networking-3/wierd-samba-issue-27571/)

artman62 08-09-2002 12:10 PM

wierd Samba issue
 
Hey,

I am having a strange occurance with Samba.
I have two directories shared on my linux box called download
and public.

[download]
path = /home/download
valid users = name name
public = no
writeable = yes
printable = yes
create mask = 0765

[public]
path = /home/samba-public
guest ok = yes
writable = yes

Here is the problem: Everything was working fine 3 days ago.
In the mean time I have been trying to set up this system as an ftp server. I have firewall set to medium.
2 days ago I suddenly couldn't write to either directory from any windows boxes. I could read okay but not write.

Now, the download directory shows up in network neighborhood on all my windows boxes as a printer icon!
The public directory shows up just fine. I have no printers set up in my smb.conf file.

I am guessing there is something wrong with my smbpasswd file. I made it from my passwd file and manually deleted all the users I didn't want in text editor. I did this because I had all the system passwords like qmail, root, halt dameon, etc in my resulting smbpasswd file. I tried re-adding just the users I wanted with smbpasswd but it didn't help.
I understand that samba uses ports 137-139. Are they are being blocked? If that were the case I would think I couldn't access [public].

johntmills 08-09-2002 02:49 PM

I'm not sure on this, but you should start eliminating possibilities. If you have firestarter
as your firewall software, pull open its gui and try to do you transfers in the background.
It will show you those packets getting rejected in real-time, and allow you to accept them
in the future. If you don't see anything, then you can eliminate networking as an issue.
If it isn't networking/firewall, you need to look hard at the permissions on those directories.
Other than that you would have a 100% samba issue, which should be easier to track
down.

- John

artman62 08-13-2002 07:59 PM

There's got to be something wierd with that share. I made two new shares and can access them fine also. Maybe I'll just delete it and make a new one.

thanks


All times are GMT -5. The time now is 05:42 AM.