[Samba] smb over ssh still valid?

gregory mott gmott at ntlworld.com
Tue Oct 29 23:12:00 GMT 2002


is smb over ssh still valid?  i eagerly tried it as specified in the
unofficial samba howto <http://hr.uoregon.edu/davidrl/samba.html>, but
no go.  net view responds "System error 53 has occurred.  The network
path was not found."

ssh (putty, with port 139 forwarded to localhost:139) did successfully
connect from a win2k machine accross the internet to my redhat 7.2
(samba-2.2.1a-4) machine.  the redhat box is serving as gateway/firewall
to/from the internet, and happily serving a network of win2k smb/tcp
clients.  i also ran through
<http://hr.uoregon.edu/davidrl/DIAGNOSIS.TXT>, it's all good.

i would love to hear that it's still supposed to work..  is it?  should
any version of win2k be expected to work/not work?  other things to
check..?

/etc/samba/smb.conf:
[global]
   server string= %h/%L
   security= user
   encrypt passwords = yes
   null passwords = true
   unix password sync = Yes
  #smb passwd file = /v/etc/smbpasswd
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
   log file = /var/log/samba/%m.log
   max log size = 0
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dos filetimes = True
   time server = True
   name resolve order = wins bcast host lmhosts
   writeable=yes

#map DOS archive attribute to UNIX owner execute bit
#map DOS system  attribute to UNIX group execute bit
#map DOS hidden  attribute to UNIX world execute bit
   map archive = yes
   map system = yes
   map hidden = yes
#create files and directories with group write permission unless otherwise specified below
   create mask = 0775
   directory mask = 0775
#allow user to change any of their file or directory permission bits
   security mask = 0777
   directory security mask = 0777
#disconnect inactive sessions after 5 minutes
   deadtime= 5

   workgroup= pomco
   wins support = yes

[root]
   path= /
   valid users= @admin
   browseable=no

[cd]
   path= /au/cd
   writeable=no
   public=yes
   browseable=no

[fl]
   path= /au/fl
   public=yes
   browseable=no

[b]
   path= /b/h
   browseable=no

[private]
   comment = %U's Private Folder
   path= %H/private

[public]
   comment = Public Folders
   path= /samba/public

[proj]
   comment = Project Folders
   path= /samba/proj

[temp]
   comment= Temporary space (erased after 10 days)
   path= /v/temp
   public=yes

[util]
   comment = Utilities
   path= /samba/util

[winins]
   comment = Utilities
   path= /u/winins




More information about the samba mailing list