Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 08:45:09 +0100
From:      Bernhard Fischer <bernhard.fischer@fh-stpoelten.ac.at>
To:        freebsd-questions@freebsd.org
Cc:        Robert Fitzpatrick <robert@webtent.com>
Subject:   Re: Accessing samba shares without password prompts
Message-ID:  <200511230845.15292.bernhard.fischer@fh-stpoelten.ac.at>
In-Reply-To: <1132624011.3289.2.camel@felipa.webtent.org>
References:  <1132624011.3289.2.camel@felipa.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tuesday 22 November 2005 02:36, Robert Fitzpatrick wrote:
> Can someone point me to info on how to access shares on the netowrk
> without having to provide the password. I am logged in to my FreeBSD 6.0
> workstation with the user name and password equal to that of a user on
> the other samba servers and Windows.

I'm not sure if it also applies to FreeBSD but under Linux  you can specify 
the following mount options in /etc/fstab to a samba share:
credentials=/etc/samba/credentials

It points to a file (/etc/samba/credentials) which contains username and 
password in the format

username = someuser
password = somepass

The file should only be readable by root.

Regards,
bh

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBDhB4L3zuWPWIClGgRAmlAAJ9r6RdzVUOqHmtk0IL2IbJryrrOGQCaAvLO
UUxkBwYvFNrTpgo69KuWQEs=
=H94i
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511230845.15292.bernhard.fischer>