[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to force password change upon account creation
- To: openldap-technical@openldap.org
- Subject: Re: How to force password change upon account creation
- From: Arthur de Jong <arthur@arthurdejong.org>
- Date: Mon, 24 Dec 2012 11:57:47 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAAA3NCSVQICAjb4U/gAAAS/0lEQVRYw3V5W4xl51Xm+q/7ei516tZV1V3t7k53x7FjpR0bO8ZEDhAzkJCAA4NAQjPDAxKPo3mZN554QOQVgcSANBqNUCIxJOBkcIzj2J0oGbC7bZK4L3ZXdXV3Xc+pOufs639f83D65pD8D1tbW//W/s73rX+tb61DAtxdCBAYo977xx4jFy/yfh8IweAxeBICWhO0RuectrqufcBGtcPD8bSsDw4Py7YZDg+MtiFgwMAYA4ROJw8IhBIpJOciz3tCChHJOMumxXR6dPTS//iLY1evovcIAAAEAADYH99DQwAIQPP0z7m//pv41COEEEBEDICBAGAIaA0QIAQIpZRS9IFzIYVstJoWZatU3dTGGEYZAHDOvA/WWkBklHHOZ9c0yTjneaejfdg+vra0uZFOJvfAAABQeAhdiGP9h3/UefICIQTv8obgbPAOKKFRTLgknBNA8C4Ej4BRJNqmUaolAIILymhATylFAAQUUgDQEBARlG7ruqKUEgD0YWFuDh7/xFuf/4KNotnnkTwE6O7qdqPfegkAEJHcB4T3GCWEMEoIITN9Azat+uDm1rgoxpNx0zazbYTQ2Y4QfCQjxigh1FrDuCCEBO8Yo4xRwXhEoPr5X2g6eWAMACgCAeD3AwgA7Od/Pet3Z2hwhsYatA4YA86BMUAW0CplyqK6tnFze29vUpZN21LCndcAgCEwISllXAhKCGNcCBkCUkYpIZwzxIA+AABjLEIRGBt+7PH+m28AufvD+X3JAuPw4q8QACDkrojeB6UQkCAAl0AQnbFNs7e7f31z69qNG1XTKqV8CEIIQiCKoiiOKSGMsSzrAAHGaCRjY0wcRyEgIZQQwjlnjAZETmmCUDz9DF58kyAiIQSRP9ArjsjpU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I7DkiroXAyUMW9idUQwCGCAACYeWbr7x59tSTz1xo62rrzs7e8PDb3/3+0aR8690fIQBnHO5NcLXWMwQzZz3DNDtfs/9BGKMhBOus1vr+ntkrH0f8/0fWgye3m0+DAAAAAElFTkSuQmCC
- In-reply-to: <CAO5ZC7FdGmzYD-Uaodx2CZZh5K-4yo9=b7GYxDDBj=S9s8RvUQ@mail.gmail.com>
- Organization:
- References: <CAO5ZC7FdGmzYD-Uaodx2CZZh5K-4yo9=b7GYxDDBj=S9s8RvUQ@mail.gmail.com>
On Sun, 2012-12-23 at 17:33 -0600, Kyle Harris wrote:
> I have a perl script that allows for the creation of new accounts in
> OpenLDAP. I am attempting to find a way to force the newly created
> user to change his or her password upon first login. I tried setting
> the attribute pwdMustChange to TRUE but that attribute must not be
> definable upon user creation. So, how can this be accomplished so
> that a new user is forced to change passwords after they first log on?
If your applications that are doing the authentication are using PAM,
setting the shadowLastChange attribute to 0 should do the trick.
You should probably grant the user the right permissions to update the
userPassword and shadowLastChange attributes.
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
Attachment:
signature.asc
Description: This is a digitally signed message part