Libsmbclient question

2003-02-15 Thread Michael Grube
This is kind of a trivial question for a technical mailing list, but
with libsmbclient, how do you connect to a computer by IP address,
rather than by smb/nmb name?
Thanks,
Mike Grube






Re: Libsmbclient question

2003-02-15 Thread Richard Sharpe
On Sat, 15 Feb 2003, Michael Grube wrote:

 This is kind of a trivial question for a technical mailing list, but
 with libsmbclient, how do you connect to a computer by IP address,
 rather than by smb/nmb name?

Well, reading the code would pay a healthy dividend, but in anycase:

Try smb://a.b.c.d/share/...

Now to see if someone's spam filter trips up on a word or two :-)

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




Re: Libsmbclient question

2003-02-15 Thread Michael Grube
I read the code, but it didn't occur to me that I could use an address
instead of a name. Sorry for the waste :-).
Mike Grube

On Sat, 2003-02-15 at 21:33, Richard Sharpe wrote:
 On Sat, 15 Feb 2003, Michael Grube wrote:
 
  This is kind of a trivial question for a technical mailing list, but
  with libsmbclient, how do you connect to a computer by IP address,
  rather than by smb/nmb name?
 
 Well, reading the code would pay a healthy dividend, but in anycase:
 
 Try smb://a.b.c.d/share/...
 
 Now to see if someone's spam filter trips up on a word or two :-)
 
 Regards
 -
 Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
 sharpe[at]ethereal.com, http://www.richardsharpe.com