From owner-freebsd-questions Sun Oct 3 5: 8:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (Postfix) with SMTP id 25AFE14CFC for ; Sun, 3 Oct 1999 05:08:25 -0700 (PDT) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 32207 invoked from network); 3 Oct 1999 12:08:24 -0000 Received: from unknown (HELO mayfly.force9.net) (195.166.128.28) by cask.force9.net with SMTP; 3 Oct 1999 12:08:24 -0000 Received: (qmail 11796 invoked from network); 3 Oct 1999 12:08:23 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.102.182) by mayfly.plus.net.uk with SMTP; 3 Oct 1999 12:08:23 -0000 Message-ID: <37F74720.DC43066F@sinclairassoc.force9.co.uk> Date: Sun, 03 Oct 1999 13:08:00 +0100 From: Richard Morte Organization: Sinclair Associates X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en-GB, en MIME-Version: 1.0 To: Joe@FreeBSD.ORG, \@FreeBSD.ORG, "Marcus\" Clarke "@FreeBSD.ORG Cc: "Jonathan E. Lyons" , FreeBSD-questions@FreeBSD.ORG Subject: Re: SAMBA passwords/Encryption References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Thanks for your help with SAMBA. I now have it up and running and am delighted with the way it works. Yes, initially configuring SAMBA passwords by hand is a bit tedious and keeping them in sync with /etc/passwds is OK provided there are not too many users. For me the ../sysutils/webmin tool is overkill, but for larger systems is probably ideal. Incidentally I was looking for a way to mount the Windows shares on the FreeBSD box and couldn't find smbmount. Having read the archives I installed Sharity-light from the 3rd CD-ROM (version 3.2-RELEASE) and it works *very* well indeed. Curiously shlight allows me to type in *any* password known to the Windows 98 machine and connect, irrespective of user name. I guess NT is less forgiving, but don't have NT box to test this out. I have two further questions about smbclient and sharity light, posted under separate threads because neither are to do with passwords. Thanks again for helping to get the passwords sorted Ric Joe \"Marcus\" Clarke wrote: > > /usr/ports/sysutils/webmin offers a web-based administration tool. Users > edited with this tool will also have their Samba stuff modified. It's > GUI, and adds web bloat, but the tool is pretty cool. > > Joe Clarke > > On Fri, 1 Oct 1999, Jonathan E. Lyons wrote: > > > > > Just out of curiosity, is there a way to use samba with encrypted passwords > > without having to create new users with the smbpasswd utility? I'd like my > > users to use the same username and password defined in the master password > > files... > > > > Thanks!... > > > > > > > > >If you're using WinNT SP3 or higher (or 98), then you need to make sure > > >you're using encrypted passwords in samba. > > > > > >The line to add to the global section of your samba config is: > > > > > >encrypt passwords = Yes > > > > > >Then, you add accounts via the smbpasswd utility. The samba password file > > >resides in /usr/local/private/smbpasswd. > > > > > >Joe Clarke > > > > > >On Fri, 1 Oct 1999, Richard Morte wrote: > > > > > >> Hi, > > >> > > >> I have SAMBA configured for FReeBSD and a number of Win machines. I can > > >see > > >> all the UNIX shares from the Win boxes. Those that have no restrictions > > >> applied in smb.conf (eg the /tmp share) will allow file transfer to and > > >from > > >> these directories; but Windows will not allow access to those directories > > >> that have restrictions (eg to /home/ric) and require a password. > > >> > > >> Windows returns the message: The password is incorrect. Try again. > > >> > > >> Is this a problem at the Windows end (something to do with profiles???) or > > >> is it that Samba needs to be configured to lookup passwords? At the moment > > >> valid usernames and passwords have been created only for UNIX logons (i.e. > > >> /etc passwds). > > >> > > > > Jonathan E. Lyons > > parrothd@midwest.net Nucleus Consulting > > ICQ # 14226912 www.nucleusconsulting.com > > Cell # 773-251-1967 A+, MCSE, CCNA, FreeBSD! > > Pager # 7732511967@mobile.att.net > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message