From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 18:21:38 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D8616A41F for ; Wed, 23 Nov 2005 18:21:38 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DD3243D64 for ; Wed, 23 Nov 2005 18:21:23 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from [192.168.10.8] (82.53.156.61) by vsmtp2.tin.it (7.2.060.1) (authenticated as vdemart1@tin.it) id 43836179000A7075 for freebsd-questions@freebsd.org; Wed, 23 Nov 2005 19:21:22 +0100 From: vittorio To: freebsd-questions@freebsd.org Date: Wed, 23 Nov 2005 19:20:39 +0000 User-Agent: KMail/1.8.3 References: <1132624011.3289.2.camel@felipa.webtent.org> In-Reply-To: <1132624011.3289.2.camel@felipa.webtent.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511231920.39999.vdemart1@tin.it> Subject: Re: Accessing samba shares without password prompts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 18:21:38 -0000 Use /etc/nsmb.conf. Here it is a simple procedure (it works flawlessly for me!) supposing that = the=20 windows user is called 'myuser', the password 'pass' and the windows=20 share //winserver/data: As root and once and for all: 1) On your freebsd box create a user called 'myuser' with adduser etc..; 2) issue "smbpasswd myuser", when prompted for the password type pass; 3) edit the /etc/nsmb.conf file adding these few lines:=20 ############################### # First, define a workgroup. [default] workgroup=3DMyworkgroup [WINSERVER] addr=3Dwinserver.yourdomain # or IP address [WINSERVER:MYUSER] password=3Dpass ############################## 4) restart samba '/usr/local/etc/rc.d/samba.sh restart' 5) issue,e.g.: mount_smbfs -I winserver //myuser@winserver/data /home/myuser/smb Ciao Vittorio Alle 01:36, marted=EC 22 novembre 2005, Robert Fitzpatrick ha scritto: > 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. > > -- > Robert > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"