nis password file -> smbpasswd?

Christian Barth barth at cck.uni-kl.de
Thu Nov 8 23:09:04 GMT 2001


> ive got several hundred user accounts in NIS that i need to get into the
> smbpasswd file. since samba doesn't actually use NIS, but can only be in
> sync with it, what is the best way to get all these passwords into
> smbpaswd? I'd hate to have to have all users re-enter their passwords...
to creae the smbpasswd file with all disabled accounts you can use a 
little skript shipped with the samba source. To get the encrypted 
passwords into smbpasswd you have to re-enter all user passwords! But 
samba can help you there: set "update encrypted = yes" in smb.conf 
and run your site with plaintext passwords for a wheile. look at man 
smb.conf about this parameter.

Again:
exept cracking the unix/nis passwords there is NO automatic way to 
generate the encrypted passwords form them!

Christian


> 
> anyone done this before? thanks in advance,
> 
> alex
> ---                                                        ---
>    Alex Lazarevich | Systems | Imaging Technology Group
>    alazarev at itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
> ---                                                        ---
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list