hello,

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?

Thanks
Gordon.
* Andrew Bartlett ([EMAIL PROTECTED]) 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                                 [EMAIL PROTECTED]
> Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
> Student Network Administrator, Hawker College   [EMAIL PROTECTED]
> http://samba.org     http://build.samba.org     http://hawkerc.net


-- 
Gordon Heydon <[EMAIL PROTECTED]>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to