[linux-cifs-client] mounting win98se share with cifs

Jeff Layton jlayton at redhat.com
Tue Sep 25 13:15:01 GMT 2007


On Tue, 25 Sep 2007 08:47:19 -0400
Jeff Layton <jlayton at redhat.com> wrote:

> I just set up a win98se qemu image and have been trying to get CIFS to
> mount a share from it to test lanman auth. smbclient is able to access
> it without issue, but with CIFS I'm seeing this in the packet traces:
> 
> 1190723740.539143 172.16.1.129 -> 172.16.1.102 NBSS Session request, to *SMBSERVER<20> from FOOBARBAZ<00>
> 1190723740.559099 172.16.1.102 -> 172.16.1.129 NBSS Negative session response, Called name not present
> 1190724070.995050 172.16.1.129 -> 172.16.1.102 SMB Negotiate Protocol Request
> 1190724071.114931 172.16.1.129 -> 172.16.1.102 TCP 32791 > netbios-ssn [RST, ACK] Seq=155 Ack=7 Win=3840 Len=0
> 
> I'm presuming that win98se isn't recognizing "*SMBSERVER". Is there
> an option I can use to override the server's netbiosname in the
> session request? I would think that it would use the hostname part
> of the unc string (//hostname/path), but it doesn't seem to.
> 
> CIFS version is 1.48a with a few extra patches.
> 

Doh! Should have looked at the sources before posting :-)

"servernetbiosname=hostname" worked...

I wonder whether it would be worthwhile to have the client try the
server portion of the unc string as the servernetbiosname?
 
-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list