[Samba] Connection refused - port 445

Dezider Gora gora at wittmann.sk
Sat Jan 25 12:48:00 GMT 2003


I'm getting strange error when running rpcclient on localhost.

rpcclient PRINTSERVER -A auth -d 3 -c "enumprinters"

here's result:
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=10.223.11.1 bcast=10.223.11.255 nmask=255.255.252.0
not adding duplicate interface 10.223.11.1
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name PRINTSERVER<0x20>
resolve_hosts: Attempting host lookup for name PRINTSERVER<0x20>
Connecting to host=PRINTSERVER share=IPC$
Connecting to 10.223.11.1 at port 445
error connecting to 10.223.11.1:445 (Connection refused)
Connecting to 10.223.11.1 at port 139
lsa_io_sec_qos: length c does not match size 8
cmd = enumdrivers

However, I get the result correctly. If I run it without debugging
parameter I get no error messsage.
Can anybody tell me why? Or what should I check?
I have 445/tcp, 445/udp in my /etc/services.
Samba is running, seems to be ok.

thank in advance,
    Dezider.




More information about the samba mailing list