LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Samba is driving me mad!! The network path was not found (https://www.linuxquestions.org/questions/linux-general-1/samba-is-driving-me-mad-the-network-path-was-not-found-492372/)

solom200163 10-14-2006 10:45 AM

Samba is driving me mad!! The network path was not found
 
Hi guys

I am sure this is not a new thread. But I have looked everywhere and tried every way I could for the last 2 weeks, with no success.
My problem is that I can access my Samba box, I can see my shares on the windows XP box but when I double click on the shared directory I need to access I get this message "\\server\directory_name is not accessible. You might not have permission to use this network resource. Contact the admin of this server. The network path was not found"
Here is my configuration:
Samba Server: Standalone server for samba running FC-5. Samba version is 3.0.23
Clients: Windows XP
Network: 192.168.1.xxx/255.255.255.0 wired and wireless

Here is my samba.conf

[global]
workgroup = workgroup
security = user
browsable = yes
server string = Samba Server
hosts allow = 192.168.1. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log level = 3
log file = /var/log/samba/%m.log
max log size = 50000
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
encrypt passwords = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
local master = yes
domain master = auto
preferred master = auto
username map = /etc/samba/smbusers
guest ok = yes
guest account = owner
dns proxy = no
wins support = yes

[homes]
comment = Home Directories
browseable = yes
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

[MyHome]
path = /home/owner
writeable = yes
browseable = yes
user = owner

I have tried both option security = share or user. No difference.

I used same username on both machines, i tried to use the root password.. no difference

My iptables are set to have ports 137-139 as well as 445 opened.

I can ping the samba box from xp. When I telnet (telnet 139) I get a black screen without any response??

I have tried to change the permissions to the shared directories in every possible way withouut any success :(

I would appreciate any help in this problem as I am about to give samba up.
Thanks

Savet 10-14-2006 03:08 PM

Are your users added to samba as well as your linux box?

sorry if you have already done this, but you'll need to run:

smbpasswd -a <username>

solom200163 10-14-2006 03:55 PM

thanks Savet

Yes, I had all linux users added to Samba.

solom200163 10-15-2006 01:34 PM

I think I know where the problem lies. I have partitioned the hard drive to 3 partitions. (boot , home, data). Samba sees the root directory "/" as well as any other directory except /home or /data.
Any suggestions in how to get Samba to see these partitions?
Thanks

ntubski 10-15-2006 06:20 PM

Samba shouldn't be aware of the partitions at all.

Can you open shares from the server computer?

solom200163 10-16-2006 04:10 PM

Thanks ntubski
I thought so too. I hit my head against the wall try to find what is wrong with the partitions. I changed the permissions in every possible way. Last night, I removed all partitions and reformatted the hard drive usin th ewhole space as one partition... Walla,, the problem is solved. Now, i cam access all the directories, I cann see all the shares and no problem whatsoever. :)
I still do not understand!!! I had partitioned my harddrive using Druid and all my partitions where on the extended space.
Any suggestions


All times are GMT -5. The time now is 02:55 AM.