I have a need for Windows users to access a Samba share but I don't want to do it via straight Samba. I want to tunnel through ssh. I have a working ssh session from XP to Ubuntu and can tunnel a remote desktop through it. I can also tunnel the Samba share but when I enter the net use command in XP it fails on bad username or password. The same username/password work when I don't tunnel through ssh. I suspect it has something to do with the ssh encryption. My question is what log to check to help figure it out? syslog, auth and samba logs have bupkus.
Ok maybe the tunnel is not working. I don't see any connection attempts being logged.
Ok maybe the tunnel is not working. I don't see any connection attempts being logged.


The HOW-TO includes instructions on using the loopback adapter for the tunnel but I was getting a bind error on port 139 when I tried to establish the tunnel. I disabled NetBIOS over TCP/IP for the loopback, the tunnel worked and the sharing works.
Comment