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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 25 Jan 2003, Dezider Gora wrote:> 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)Samba 2.2 does not service port 445 by default (Samba 3.0 will). Just ignore the error. rpcclient falls back and reconnects on port 139. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+NZKdIR7qMdg1EfYRApOuAKDSWH886dtsVjU1spkV9vrSHZ6W9gCg0ow1 LpyD+oYx8uM18rJgyobq0FY=o/B/ -----END PGP SIGNATURE-----
Seemingly Similar Threads
- Why do I see share "NOBODY" in list of shares on the server?
- Panic on boot on Sun Blade 6270
- Where did I go wrong with this Samba configuration?
- Multi instant samba does not work on samba 4.10.4
- RSAT Print Management won't show shared printers under the "Printers" section