A couple of nights ago, I emailed in regardto not being able to open SWAT.
I have fixed that now (I reinstalled the inetd rpm). Now I am stuck at the
stage where you recommend we run smbclient.
This is exactly what I type, and what I get back in return
#smbclient -U% -L localhost
added interface ip=144.132.195.129 bcast=144.132.207.255
nmask=255.255.240.0
added interface ip=192.168.0.21 bcast=192.168.0.255 nmask=255.255.255.0
read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to LOCALHOST failed (code 0)
read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
session request to *SMBSERVER failed (code 0)
First question is - why is it detecting my external ip address? I do not
want samba to have anything to do with that. I have made sure that there
is no reference to this IP in any of the samba conf files.
Second, this is what I get in the log file when I run the above commmand
(it is pretty long, I do appologise):
[2000/10/15 08:28:02, 2] param/loadparm.c:do_section(2481)
Processing section "[test]"
[2000/10/15 08:28:02, 2] lib/interface.c:add_interface(83)
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
[2000/10/15 08:28:02, 2] lib/interface.c:add_interface(83)
added interface ip=192.168.0.21 bcast=192.168.0.255 nmask=255.255.255.0
[2000/10/15 08:28:02, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[2000/10/15 08:28:02, 2] smbd/server.c:main(746)
Changed root to /
[2000/10/15 08:28:02, 0] lib/util_sock.c:open_socket_in(824)
Get_Hostbyname: Unknown host server
[2000/10/15 08:28:02, 0] smbd/oplock.c:open_oplock_ipc(93)
open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was No such file or directory
[2000/10/15 08:28:02, 1] smbd/server.c:main(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2000/10/15 08:28:02, 2] param/loadparm.c:do_section(2481)
Processing section "[test]"
[2000/10/15 08:28:02, 2] lib/interface.c:add_interface(83)
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
[2000/10/15 08:28:02, 2] lib/interface.c:add_interface(83)
added interface ip=192.168.0.21 bcast=192.168.0.255 nmask=255.255.255.0
[2000/10/15 08:28:02, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[2000/10/15 08:28:02, 2] smbd/server.c:main(746)
Changed root to /
[2000/10/15 08:28:02, 0] lib/util_sock.c:open_socket_in(824)
Get_Hostbyname: Unknown host server
[2000/10/15 08:28:02, 0] smbd/oplock.c:open_oplock_ipc(93)
open_oplock_ipc: Failed to get local UDP socket for address 100007f.
Error was No such file or directory
I hope that if you can help, then the info that I have provided will make
it easier to work out what is going on.
Oh, and I have nmbd and snbd (the daemons) being run using the lines that
you recommended putting inside inetd.conf. (they are no where else, not
in rc.local, or init.d/smb)
Thanks for taking out the time to read this lengthy plea for help.
Matthew Duncan