smbpasswd

Paulo Miguel Gens Lemos pglemos at ufp.pt
Tue Sep 18 02:23:01 GMT 2001


Hi,
I have the same problem.
But is it possible to convert users and passwords from passwd to smbpasswd
automaticaly?

Thanks

-----Original Message-----
From: samba-ntdom-admin at lists.samba.org
[mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Craig Kelley
Sent: quinta-feira, 5 de Julho de 2001 18:35
To: Kristyan Osborne
Cc: samba
Subject: Re: smbpasswd


On Thu, 5 Jul 2001, Kristyan Osborne wrote:

> Hi,
>
> In my company we are currently converting 95 machines to 2000. We are
using
> encrypted passwords and I wish to add my current users to the smbpasswd
file
> without changing their passwords.
>
> All users have a local Unix account with password. Is there any way or is
> there a utility to add the user and the password from the password in the
> /etc/passwd file to the /private/smbpasswd file.
>
> Any help would be appreciated.

You can migrate user over with the 'unix password sync' Samba
configuration directive:

   unix password sync (G)
       This boolean parameter controlls whether Samba attempts to
       synchronise  the  UNIX password with the SMB password when
       the encrypted  SMB  password  in  the  smbpasswd  file  is
       changed.  If this is set to true the 'passwd program' pro-
       gram is called *AS ROOT* - to allow the new UNIX  password
       to  be set without access to the old UNIX password (as the
       SMB password has change code has  no  access  to  the  old
       password  cleartext, only the new). By default this is set
       to false.

       See also 'passwd program', 'passwd chat'

       Default:
                unix password sync = False

       Example:
                unix password sync = True


After everyone has migrated, you can turn it off and use smbpasswd only
from then on out.

--
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- kellcrai at isu.edu
http://www.isu.edu/~kellcrai finger ink at inconnu.isu.edu for PGP block





More information about the samba-ntdom mailing list