Encrypted passwords really necessary for PDC ?
Andrew Perrin - Demography
aperrin at demog.Berkeley.EDU
Wed Jan 27 16:31:16 GMT 1999
WRONG -- mksmbpasswd only creates the file, but puts blank passwords in
it. As has been pointed out multiple times on this list and elsewhere,
there is no way to morph an /etc/passwd file into an smbpasswd file. You
have to set up one or another hack for keeping them in sync.
---------------------------------------------------------------------
Andrew J. Perrin - aperrin at demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography - University of California at Berkeley
2232 Piedmont Avenue #2120 - Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199
On Thu, 28 Jan 1999, Ingo Kley wrote:
> > Subject: Encrypted passwords really necessary for PDC ?
>
>
> > Hello,
>
> > I'm trying to switch our old "share-only" setup of SAMBA to a PDC
> > configuration and migrating all our W95 clients to NT/WS, trying to
> > make them secure.
> [...]
> > - if I use encrypted passwords, Samba will only get those from
> > smbpassword and not from Unix /etc/passwd or NIS map, right ? How can
> > I "copy" my user's passwords from the NIS map to smbpasswd ? I've read
> > things along the lines of "running for a while with cleartext
> > passwords" on this list but I don't get it yet.
> > >
>
> Hello,
>
> it works like this:
> cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd
> After this, the new file smbpasswd includes the passwords.
>
> If you are running NIS try this:
> ypcat passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
>
> Bye
> Ingo Kley
> Westerfeldstr. 140B
> 33613 Bielefeld
>
> Tel 0521/986843
>
More information about the samba-ntdom
mailing list