New user passwords?

Charles Tryon charles.tryon at
Fri Oct 14 15:35:19 MDT 2011

On Fri, Oct 14, 2011 at 5:27 PM, Andrew Bartlett <abartlet at> wrote:

> On Fri, 2011-10-14 at 17:18 -0400, Charles Tryon wrote:
> > When using samba-tool to create new Samba4 users from the command line,
> is
> > there any way to:
> >
> >     (1) specify the Unix userid (xidNumber) on the command line
> >
> >     (2) specify the password using an existing password hash, for
> example,
> > from the output of "pdbedit -L -w" on an existing Samba3 box?
> If you wish to upgrade users from Samba3, see the 'samba-tool domain
> samba3upgrade' command.
> This python script also gives a good example about how you might perform
> other manual imports of users.
> Andrew Bartlett

Unfortunately, my old domain is based on a pretty old version of Samba
(3.0.9-2) and basically barfs the samba3upgrade script.

However, your point is taken that I could look at the script to see how it
sets some of these parameter.

    Charles Tryon
      "It's the job that's never started that takes longest to finish."
                                 -- Samwise Gamgee

More information about the samba-technical mailing list