Author: gd
Date: 2005-04-01 13:12:51 +0000 (Fri, 01 Apr 2005)
New Revision: 6166

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6166

Log:
Derell, I'm reverting this part of -r4917 because it modifies the keys
to search in tdbs in a way that is not upgrade-safe and somewhat weird
to use: Users have to modify policies like

        pdbedit -P "maximum password policies (seconds since 1970)"

The value-description should better go into the manpage.

Guenther


Modified:
   branches/SAMBA_3_0/source/lib/account_pol.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/account_pol.c
===================================================================
--- branches/SAMBA_3_0/source/lib/account_pol.c 2005-04-01 11:24:52 UTC (rev 
6165)
+++ branches/SAMBA_3_0/source/lib/account_pol.c 2005-04-01 13:12:51 UTC (rev 
6166)
@@ -118,8 +118,8 @@
        {AP_MIN_PASSWORD_LEN, "min password length"},
        {AP_PASSWORD_HISTORY, "password history"},
        {AP_USER_MUST_LOGON_TO_CHG_PASS, "user must logon to change password"},
-       {AP_MAX_PASSWORD_AGE, "maximum password age (seconds since 1970)"},
-       {AP_MIN_PASSWORD_AGE,"minimum password age (seconds since 1970)"},
+       {AP_MAX_PASSWORD_AGE, "maximum password age"},
+       {AP_MIN_PASSWORD_AGE,"minimum password age"},
        {AP_LOCK_ACCOUNT_DURATION, "lockout duration"},
        {AP_RESET_COUNT_TIME, "reset count minutes"},
        {AP_BAD_ATTEMPT_LOCKOUT, "bad lockout attempt"},

Reply via email to