[Patch] using pdbedit for setting "password can/must change time"

Simo Sorce idra at samba.org
Sat Dec 11 15:08:37 GMT 2004


On Thu, 2004-12-09 at 22:40, SZOKOVACS Robert wrote:
> Hello,
> 
> The "samba developers guide" advises that if I don't get any reactions to a 
> post, I should send it again, so here it goes:
> 
> I had to change my users "Must change password time" property in domains and I 
> noticed that pdbedit is not capable of doing it. So I created the attached 
> patch that add this feature (also the "Can change password time" property).
> I introduced several new command line options (only long format, didn't know 
> what the policy is with the one character switches).
> I used BIT_RESERV_2 BIT_RESERV_3 for my purposes.
> Otherwise, the patch is quite self-explaining.
> 
> If you think it's worthy, please integrate it.

Hello Robert,
found the idea was worth integrating and the patch was good but overly
complicated.
I just committed a patch in trunk (and 3.0 will come shortly) that
implements the pdbedit functionality present in your patch.

Thanks for your submission.

Simo.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list