[Samba] Change password expiry date for ALL users?

Andreas Gredler jimmy at g-tec.co.at
Wed Jun 6 20:37:02 GMT 2007

On Wed, Jun 06, 2007 at 08:41:31AM -0500, Gerald (Jerry) Carter wrote:

> >> I want to set the expiry date for passwords for all users with one
> >> command. As --pwd-must-change-time only works for a single user and
> >> policy settings are not applied after a change, I was wondering how to
> >> solve this. Is the only way to write a script which runs "pdbedit
> >> --pwd-must-change-time..." for every user?
> Samba 3.0.25 generates the must change time based on
> the policy setting so you only need to change the policy
> to for example "one day"

Sorry, I had to mention that most servers are debian sarge with the
original Samba package. So this is not an option :-(

greets Jimmy

                 Andreas "Jimmy" Gredler 
   ,'"`.         http://www.jimmy.co.at/ | jimmy at g-tec.co.at
  (  grml.org -» Linux Live-CD for texttool-users and sysadmins
   `._,          http://www.grml.org/    | jimmy at grml.org

More information about the samba mailing list