[CentOS] Forget SMB password immediately

Wed Nov 23 18:50:34 UTC 2011
John R Pierce <pierce at hogranch.com>

On 11/23/11 3:11 AM, Guitart Francesc wrote:
> here I connect through SMB port 445

why in dogs name are you using SMB, a Microsoft Windows protocol, for 
Unix to NAS file sharing?   Unix systems should use NFS for file 
sharing.   netbios is a tangled mess of poorly planned protocols with 
extensions on the extensions, and warts on the warts (ports 137/138/139 
were old NetBIOS, using NetBIOS-over-TCP aka NBT as the transport, while 
port 445 is the newer native CIFS protocol introduced around Windows2000 
time).

with NFS, you'd mount the backup directory somewhere, like /nfsbackups 
just once at bootup time and each user would have their own directory in 
it, /nfsbackusp/fred (or whatever) and only have read/write access to 
that directory, managed via standard unix style chmod, chown ...



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast