[Samba] window 2000 policy changes with a samba pdc

Gordon Heydon gordon at heydon.com.au
Sun Oct 19 04:02:58 GMT 2003


Thanks, this I what I wanted, I want to turn off password expiry, I see
there is the -P and -C so I assume I run the following command

pdbedit -P "maximum password age" -C -1
account policy value for maximum password age is now 4294967295

I think this has set it to unlimited?

* Andrew Bartlett (abartlet at samba.org) wrote:
> On Sun, 2003-10-19 at 07:37, Gordon Heydon wrote:
> > Hello,
> > 
> > I triied this, but it didn't work. Basically I am triing to follow the
> > "Administration of Windows 200x/XP Policies" to edit policy so that I
> > can turn off password expiry, but when I follow the instructions it
> > doen't work.
> > 
> > I would prefer a method of doing this under linux, as it is hard for me
> > to find all the windows stuff.
> Do you mean you want to stop Samba expiring passwords, or you want to
> turn of password expiry for the local accounts on the machines?
> Samba password expiry is controlled by pdbedit's account policy option
> (and one of the worst-documented, least intuitive parts of samba - I
> know, as I added it ;-)
> Andrew Bartlett
> -- 
> Andrew Bartlett                                 abartlet at pcug.org.au
> Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
> Student Network Administrator, Hawker College   abartlet at hawkerc.net
> http://samba.org     http://build.samba.org     http://hawkerc.net

Gordon Heydon <gordon at heydon.com.au>

More information about the samba mailing list