Travis, try these test as well:
At the sambe server find out which processes smbd and nmbd are running,
i.e. ps ax | grep [ns]mbd
Use the two base daemons numbers, in my case processes 1815 and 1817 to
test if the server is listening i.e.:
# netstat -apn | grep 181[57]
Here is what my samba server returns:
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1817/smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1817/smbd
udp 0 0 192.168.0.3:137 0.0.0.0:* 1815/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 1815/nmbd
udp 0 0 192.168.0.3:138 0.0.0.0:* 1815/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 1815/nmbd
unix 2 [ ] DGRAM 3524 1817/smbd
unix 2 [ ] DGRAM 3520 1815/nmbd
Last but not leat, a simple telnet test on the samba server:
$ echo "hello" | telnet localhost 139
If you see the last lines:
*Connected* to localhost. Escape character is '^]'.
*Connection* *closed* by foreigh host.
then smbd is functioning properly.
However, if you see
*Connection* *refused*
then smbd is not working as it should.
Have you re-started samba? # /etc/init.d/samba restart
HTH, Hendrik Schaink
--
Hendrik M. Schaink
Chief Consultant
"Integrated Business Solutions & Dependable Service"
InfoVision Consulting
Calgary, Alberta, Canada
Phone: (403) 239-0099
"The Vision: We are the partners of choice for companies and
organizations that share our commitment to creating a world
that is truly wise, courageous, prosperous, innovative,
inclusive, sustainable and humane." --Ruben Nelson
GPG Fingerprint: 1371 0927 8C3C 831F A838 C312 68BC F5DB 010D F3D7
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying