New user passwords?
abartlet at samba.org
Fri Oct 14 15:41:06 MDT 2011
On Fri, 2011-10-14 at 17:35 -0400, Charles Tryon wrote:
> On Fri, Oct 14, 2011 at 5:27 PM, Andrew Bartlett <abartlet at samba.org> 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.
What fails? I'm happy to make reasonable modifications to the script to
have it import older databases. It runs (mostly) the same backend code
that an upgrade to Samba 3.6 would trigger, so it should be pretty
reasonable to fix these issues.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical