[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
Processing section "[global]"
added interface ip= bcast= nmask=
not adding duplicate interface
added interface ip= bcast= nmask=
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 at port 445
error connecting to (Connection refused)
Connecting to 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,

More information about the samba mailing list