[linux-cifs-client] Re: SMB support still missing?

Shirish S Pargaonkar shirishp at us.ibm.com
Fri Feb 9 05:32:33 GMT 2007







Jan Engelhardt <jengelh at linux01.gwdg.de> wrote on 02/08/2007 08:18:46 PM:

>
> On Feb 8 2007 18:58, Christopher R. Hertel wrote:
> >Shirish S Pargaonkar wrote:
> >>
> >> So
> >> 1) try tcp  connection on  445,
> >>     then if it works send SMB negprot
> >> 2) else try tcp connection on port 139
> >>     then if it works send nbss request to *SMBSERVER or to the name
> >> specified on servernetbiosname
> >>     (cifs really should do an ASTAT command and list the valid names
and
> >> find one if that approach fails but we don't have code for this yet)
> >
> >This is all correct, and also note that W/9x systems do not support the
> >"*SMBSERVER" name.
> >
> >On the other hand, the name was resolved somehow.  The typical
work-arounds
> >to not knowning the NBT name of the server are:
> >1) Use the name you just resolved (in this case, "CL0").
> >2) Send a Node Status Query and look for the first unique <20> name.
>
> I'd just do this:
>
>  (1) try 445/tcp
>  (2) try 139/tcp
>  (3) try 139/tcp with uppercase hostname (mount //hostname/share) as
>      default servernetbiosname
>
>
>
> Jan
> --
> ft: http://freshmeat.net/p/chaostables/

Regarding (3), I guess someone might state IP address instead of hostname
on the mount command.

Regards,

Shirish
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list