[lkml]   [1996]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectBug in fs/smbfs/proc.c

I don't know if this is the right list for this, but:

There seems to be a minor bug in fs/smbfs/proc.c, around line 1742,
in kernel version 2.0.4. The line reads:

if (server->protocol > PROTOCOL_LANMAN1) {

I believe it should be:

if (server->protocol >= PROTOCOL_LANMAN1) {

Anyway, this fixed the problem with smbmount that I was having.
Configuration: Linux running 2.0.4, same subnet as a few Windows NT 3.51
boxes. Protocol requested by the NT box for mounting an NT share is
PROTOCOL_LANMAN1; unless the above change is made _no username is ever
transmitted to the NT box_, thus no authentication can occur & the NT box
refuses to export the share volume.

If this is correct, can someone insert this minor change into the next
kernel revision? If not, can someone tell me why and what `real' fix
I need to do in order to mount NT shares with this setup?

Bob Glamm | "You can't do a `goto' to a block
Email: | that has been optimized away.
URL: | Darn."
Home: (612)623-9437 Work: (612)626-8981 | - from the perltrap(1) manpage

 \ /
  Last update: 2005-03-22 13:37    [W:0.020 / U:23.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site