Floppyman
09-07-2003, 04:34 PM
Hi all,
I'm trying to get my Samba server back up and running. I had it all working before, but now for some reason it won't. I saved my working smb.conf file from last time and just used this time as well. One weird thing is that neither the smbpasswd or smbclient commands will not work. I get bash: command not found error.
Also the samba server is hooked into a router now and gets an IP of the form 192.168.1.x The windows client is hooked into the router as well and gets an IP of the same form. The router acts a DHCP server and has the IP 192.168.1.50. Now when I try to connect to the shares on the Samba server from the win2k machine I get the "network path not found error".
I have added lines to my rc.local to start the service:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
but I'm not quite sure whether it is being started correctly or at all. In the nmbd.log and smbd.log files there are entries that talk about a response packet being received with no matching record. However when using the netstat command, smbd appears to be listening.
Any ideas what it could possibly be? Like I mentioned, this worked before with the smb.conf file I'm currently using. Do I need to open any ports on the router? Might I be forgetting something on the windows client? Thanks in Advance.
I'm trying to get my Samba server back up and running. I had it all working before, but now for some reason it won't. I saved my working smb.conf file from last time and just used this time as well. One weird thing is that neither the smbpasswd or smbclient commands will not work. I get bash: command not found error.
Also the samba server is hooked into a router now and gets an IP of the form 192.168.1.x The windows client is hooked into the router as well and gets an IP of the same form. The router acts a DHCP server and has the IP 192.168.1.50. Now when I try to connect to the shares on the Samba server from the win2k machine I get the "network path not found error".
I have added lines to my rc.local to start the service:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
but I'm not quite sure whether it is being started correctly or at all. In the nmbd.log and smbd.log files there are entries that talk about a response packet being received with no matching record. However when using the netstat command, smbd appears to be listening.
Any ideas what it could possibly be? Like I mentioned, this worked before with the smb.conf file I'm currently using. Do I need to open any ports on the router? Might I be forgetting something on the windows client? Thanks in Advance.