libsmbclient and IP numbers

Richard Sharpe sharpe at ns.aus.com
Fri Nov 16 04:55:01 GMT 2001


Tom Jansen wrote:

> Hi,
> 
> 
>>>>>smbc_opendir("smb://<insert IP here>/); it fails! Is this not supported?
>>>>>
>>>>It works perfectly here 
>>>>
> This is not true. My wrong. read on please.
> 
> 
>>My guess is that the IP will work against a Samba box, but not against
>>NT.  Can you verify.  With NT, you need a name for the NetBIOS session
>>request.  smbd doesn't actually require this.

Hmmm, well, Jerry is right, but libsmbclient uses the underlying cli_xxx routines, and they fall back to *SMBSERVER if they get a called name not present response~


-- 
Richard Sharpe, rsharpe at ns.aus.com, LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba





More information about the samba-technical mailing list