Date: Sat, 02 Oct 1999 02:15:03 -0700 From: Frankie Li <notme@lvdi.net> To: "Jonathan E. Lyons" <parrothd@midwest.net> Cc: Richard Morte <richard@sinclairassoc.force9.co.uk>, FreeBSD-questions@freebsd.org Subject: Re: SAMBA passwords/Encryption Message-ID: <37F5CD17.DDF20615@lvdi.net> References: <Pine.OSF.4.10.9910011201210.21410-100000@jaguar.ir.miami.edu> <3.0.5.32.19991001152458.00970650@midwest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I believe that you can find this file called "mkmbpasswd.sh" from the samba site. However, you have to populate the password file yourself. After doing so, I believe that you can sync the password file with the /etc/master.passwd. What I did was to create the "stub" smbpasswd file by mksmbpasswd.sh, then use smbpasswd -s (silent mode which also reads from standard input/output) to change the user's password to those of the /etc/master.passwd. However, I have all the username and password typed into a text file though... I personally don't consider that as very secure, but as a high school student, I lacked the knowledge to decrypt master.passwd's encryption. :) Hope that I answered your question and fulfilled your curiosity! Frankie "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37F5CD17.DDF20615>