From: Günther Deschner Date: Fri, 1 Apr 2005 13:12:51 +0000 (+0000) Subject: r6166: Derell, I'm reverting this part of -r4917 because it modifies the keys X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~4995 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f46c0c12274cd0bf1c24bc2d1d708b2960433195;p=thirdparty%2Fsamba.git r6166: 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 --- diff --git a/source/lib/account_pol.c b/source/lib/account_pol.c index 5997d9180ae..72d6e77ddda 100644 --- a/source/lib/account_pol.c +++ b/source/lib/account_pol.c @@ -118,8 +118,8 @@ static const struct { {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"},