Is there a method or way that will allow one to automagically mount samba shares requiring a password w/o using a plain text password? Even if I have to store the plaintext password in a file, is there at least a way to keep plain text passwords going over the network (IPSec perhaps)? === Al
On Tue, 2006-08-29 at 14:39 -0700, Al Sparks wrote:> Is there a method or way that will allow one to automagically mount > samba shares requiring a password w/o using a plain text password? > > Even if I have to store the plaintext password in a file, is there at > least a way to keep plain text passwords going over the network > (IPSec perhaps)?---- not sure to what you are referring...by default, Samba, uses a hashed password and doesn't transmit a plain text password to a Windows / smbfs or cifs server. Craig
New to samba, didn't know that. I'll rtfm from here. Thanks. === Al ----- Original Message ---- From: Craig White <craigwhite at azapple.com> To: CentOS mailing list <centos at centos.org> Sent: Tuesday, August 29, 2006 2:17:07 PM Subject: Re: [CentOS] smbmount On Tue, 2006-08-29 at 14:39 -0700, Al Sparks wrote:> Is there a method or way that will allow one to automagically mount > samba shares requiring a password w/o using a plain text password? > > Even if I have to store the plaintext password in a file, is there at > least a way to keep plain text passwords going over the network > (IPSec perhaps)?---- not sure to what you are referring...by default, Samba, uses a hashed password and doesn't transmit a plain text password to a Windows / smbfs or cifs server. Craig _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
Absolutely. The web page is a bit out of date but http://uranus.it.swin.edu.au/~jn/linux/smbfs/ When you log in, the password is stored in memory (as plain text), but samba uses a hash (md4?) on the wire. You need to install http://uranus.it.swin.edu.au/~jn/linux/smbfs/cifsmount-0.6-4.el4.i386.rpm and http://uranus.it.swin.edu.au/~jn/linux/smbfs/smbpwman-0.6-5.el4.i386.rpm and to configure /etc/pam.d/system-auth /etc/auto.master and /etc/smbautomount.conf I am happy to provide help to set it up. RHEL4 cifs driver has a bug with listing directories. The web page (above) also has instructions on how to build a working replacement driver. John. Al Sparks wrote:> Is there a method or way that will allow one to automagically mount > samba shares requiring a password w/o using a plain text password? > > Even if I have to store the plaintext password in a file, is there at > least a way to keep plain text passwords going over the network > (IPSec perhaps)? > === Al > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >-- John Newbigin Computer Systems Officer Faculty of Information and Communication Technologies Swinburne University of Technology Melbourne, Australia http://www.ict.swin.edu.au/staff/jnewbigin