davidmarcus
2005-Mar-17 06:29 UTC
[Samba] is it possible to cut and paste linux shadow file passwd hashes to smbpasswd file?
is it possible to cut and paste linux shadow file passwd hashes to smbpasswd file?
John H Terpstra
2005-Mar-17 06:49 UTC
[Samba] is it possible to cut and paste linux shadow file passwd hashes to smbpasswd file?
On Wednesday 16 March 2005 23:26, davidmarcus wrote:> is it possible to cut and paste linux shadow file passwd hashes to > smbpasswd file?Yes, it is possible, but it will do no good! UNIX/Linux password hashes as encoded differently than Windows passwords. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
Jim C.
2005-Mar-17 08:32 UTC
[Samba] Re: is it possible to cut and paste linux shadow file passwd hashes to smbpasswd file?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | is it possible to cut and paste linux shadow file passwd hashes to | smbpasswd file? ...and have it work? I'm afraid not. What you need is: passwd program = /usr/bin/passwd '%u' unix password sync = Yes This way, when a user changes their password, both sets will be changed. Then what you can do have the system prompt users you already have to change them. Jim C. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings @ hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings @ njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCOUBt57L0B7uXm9oRAh2RAKCDMi3nkAlvi+OAjRpx+6VFdjNaxwCcCqIz ymjchiaJT/sgYegB+3JUr0M=R2dB -----END PGP SIGNATURE-----