I run rpcclient without specifying an IP address and I get the following error: # /products/samba/bin/rpcclient //localhost -U novosirj Password: cli_full_connection: failed to connect to //LOCALHOST<20> (0.0.0.0) Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL ...the machine knows what localhost is otherwise: # telnet localhost Trying... Connected to localhost.umdnj.edu. Escape character is '^]'. Local flow control on Telnet TERMINAL-SPEED option ON UMDNJ Academic Computing Services - NEW_NJMSA ...anyone have any insights? ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
> I run rpcclient without specifying an IP address and I get the > following error: > > # /products/samba/bin/rpcclient //localhost -U novosirj > Password: > > cli_full_connection: failed to connect to //LOCALHOST<20> (0.0.0.0) > Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL > > ...the machine knows what localhost is otherwise: > > ...anyone have any insights?(Speculating wildly like I usually do) I'd say that is because smbd/nmbd don't register the name localhost at all. When you say telnet localhost you're asking dns to look it up, which usually responds properly via /etc/hosts or possibly your dns server ( I think ours responds 127.0.0.1 if you ask who localhost is). When you ask for //localhost you're asking for the netbios host at localhost, which no one has claimed. Try without the // or with //<servername> and see if that works out better for you. Sorry if my usage of nmbd/netbios is bad. -- -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
Any information from those in the know on this? There seems to be a problem with hostnames and RPC. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Mon, 13 Dec 2004, Ryan Novosielski wrote:> I run rpcclient without specifying an IP address and I get the following > error: > > # /products/samba/bin/rpcclient //localhost -U novosirj > Password: > > cli_full_connection: failed to connect to //LOCALHOST<20> (0.0.0.0) > Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL > > ...the machine knows what localhost is otherwise: > > # telnet localhost > Trying... > Connected to localhost.umdnj.edu. > Escape character is '^]'. > Local flow control on > Telnet TERMINAL-SPEED option ON > > UMDNJ Academic Computing Services - NEW_NJMSA > > ...anyone have any insights? > > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III > |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >