[Samba] PDBEDIT set password change
Andrew Bartlett
abartlet at samba.org
Tue Sep 9 22:02:22 GMT 2003
On Tue, Sep 09, 2003 at 01:23:10PM -0700, George Farris wrote:
> On Tue, 2003-09-09 at 11:58, John H Terpstra wrote:
> > On Tue, 9 Sep 2003, George Farris wrote:
> >
> > > Is this operational yet in samba rc2? I want to use it to force first
> > > time login password change. I can't seem to figure out how to do this.
> > > Must one try and use PAM?
> >
> > Yes it is operational in RC2. RC3 was released yesterday, so you might
> > consider using it.
> >
> > Instead of using pdbedit for this, I'd strongly recommend that you
> > download the SrvTools.EXE from Microsoft's web site and use it to manage
> > user password change enforcement. It's much easier that way.
> > Instructions are in the Samba-HOWTO-Collection.pdf in the chapter "Account
> > Information Databases".
> >
>
> But, but, but:-) I don't run windows on my desktop I run Linux. Using
> svrtools.exe is an option but not one I want. Thank you for the reply.
> BTW do you know how to use pdbedit to change this field?
Usual cop-out is to use the ldapsam backend, and to edit that manually.
Feel free to submit a patch to pdbedit however. The magic value for
'must change password now' is setting 'password must change time' to 0.
I agree, we should not need to run Windows admin samba :-)
Andrew Bartlett
More information about the samba
mailing list