New user passwords?

Andrew Bartlett abartlet at
Fri Oct 14 15:27:18 MDT 2011

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

Andrew Bartlett                      
Authentication Developer, Samba Team 

More information about the samba-technical mailing list