From c6d1e756649408412d72e5ad2789804b2908b6f2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Oct 2001 10:54:11 +0000 Subject: - fix handling of 0 last_change_time and must_change_time - move the arbitrary 21 day timeout to local.h (This used to be commit 11075f543470c3283accce0246d0b2983420695a) --- source3/include/local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/local.h') diff --git a/source3/include/local.h b/source3/include/local.h index e9e4fb2d35..53ef564610 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -186,4 +186,7 @@ #define SESSION_TEMPLATE "smb/%d" #endif +/* the maximum age in seconds of a password. Should be a lp_ parameter */ +#define MAX_PASSWORD_AGE (21*24*60*60) + #endif -- cgit