On Wed, Apr 15, 2009 at 12:01:45AM -0500, Nicholas Perez wrote: > Package: linux-image-2.6.29-1-686 > Version: 2.6.29-2 > Severity: normal > > > When passing the port option to mount.cifs (so that I may redirect my > mount to use the SSH tunnel for example), it is ignored. The option is > properly parsed, but it has no effect what so ever in the code. See the > following for my little bit of research into this: > > First setup netcat to listen locally for the CIFS connection: > nicho...@eeepc:~$ sudo netcat -l -p 445 > > Then attempt a mount with the port option set completely differently: > nicho...@eeepc:~$ sudo mount -t cifs -o port=65100 //localhost/external > /home/nicholas/test --verbose > parsing options: rw,port=65100 > Password: > > mount.cifs kernel mount options > unc=//localhost\external,user=root,pass=,ver=1,rw,port=65100 > mount error(112): Host is down > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) > > See the output from netcat: > MBr??????+LM1.2X002LANMAN2.1NT LM 0.12POSIX 2 > > > As you can see, the connection happened to the default port of 445 > rather than the 65100 port that was specified. If I supply an IP address > the same thing happens.
Sorry for the late response. This was fixed in 2.6.31, which will be uploaded soon. Cheers, Moritz -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org