]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r6166: Derell, I'm reverting this part of -r4917 because it modifies the keys
authorGünther Deschner <gd@samba.org>
Fri, 1 Apr 2005 13:12:51 +0000 (13:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:26 +0000 (10:56 -0500)
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

source/lib/account_pol.c

index 5997d9180aedfab499eaecf4ba4035c3de05e2db..72d6e77ddda8fd5b2b681ec06f25490a742f5fe5 100644 (file)
@@ -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"},