[Samba] pdbedit - password age

Nick Sharp nick.sharp at valex.com.au
Thu Jun 25 06:09:27 GMT 2009


Not really sure why you want to force password changes after 300 seconds but
its up to you. I would make sure then minimum age is less that your maximum
age, this will likely stop it working..

You need to import export after making policy changes depending on your
backend..

Its all clearly documented here;
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#acctm
gmttools 

Nick Sharp | Systems Engineer 

  Valuation Exchange Pty Ltd
Level 11, 100 Waymouth Street, Adelaide SA 5000
P : 1300 660 051 | F : 1300 550 167 | D : 08 8104 8812  
nick.sharp at valex.com.au | www.valex.com.au

This email (including any attachments) is intended only to be read or used
by the addressee. It contains information that may be confidential and
legally privileged. If you are not the addressee, or you have received this
email by mistake, you must not disclose, copy or distribute it or use the
information contained in it (or any attachments) in any way. If you have
received this message in error please notify Valuation Exchange by return
email and then delete this message and any copies of it. Please also contact
us if you have any doubts about the authenticity of this email. If you have
received this email as a result of subscribing to a particular distribution
list and no longer wish to be included in this or any other list(s), please
send an email to enquiries at valex.com.au with the ‘unsubscribe’ in the
subject field and details of the list(s) from which you wish to unsubscribe.
This email (including any attachments) may contain computer viruses, traces
of nuts or other defects. It is your responsibility to check this email and
its attachments for viruses and defects before opening or forwarding them,
and Valuation Exchange is not liable for any loss or damage that may be
caused by any such viruses or defects. No trees were harmed during the
creation of this email.


-----Original Message-----
From: samba-bounces+nick.sharp=valex.com.au at lists.samba.org
[mailto:samba-bounces+nick.sharp=valex.com.au at lists.samba.org] On Behalf Of
Radek
Sent: Thursday, June 25, 2009 3:27 PM
To: samba at lists.samba.org
Subject: [Samba] pdbedit - password age

Hello, 

I try to force users to change password once a given period using his
command:


#pdbedit -P "maximum password age" -C 300 



It works only for "new" users (users created after first first launch of
this command), "old" users are not affected, passwords doesn't expire. How
to do his for "old" users?




I would be pleased for your help. 
Regards.

Radek

 

 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list