diff options
author | Gerald Carter <jerry@samba.org> | 2007-05-06 20:33:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:21:49 -0500 |
commit | fd5ff711b6fa4b1146776ba6f915a20e64786c53 (patch) | |
tree | 9ecd8c5be9f589ac295a2b63f8ddefeab981b171 /source3/nsswitch/pam_winbind.h | |
parent | 80dca03aaeb0409d866019f52999f69422fb985b (diff) | |
download | samba-fd5ff711b6fa4b1146776ba6f915a20e64786c53.tar.gz samba-fd5ff711b6fa4b1146776ba6f915a20e64786c53.tar.bz2 samba-fd5ff711b6fa4b1146776ba6f915a20e64786c53.zip |
r22712: Inform the user when logging in via pam_winbind
and the krb5 tkt cache could not be created due to clock skew.
(This used to be commit 24616f7d6be40b090dc74851b1ea7d09d6976811)
Diffstat (limited to 'source3/nsswitch/pam_winbind.h')
-rw-r--r-- | source3/nsswitch/pam_winbind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 73da2826ca..9015869a77 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -184,6 +184,8 @@ do { \ /* from include/rpc_netlogon.h */ #define LOGON_CACHED_ACCOUNT 0x00000004 #define LOGON_GRACE_LOGON 0x01000000 +#define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000 #define PAM_WB_CACHED_LOGON(x) (x & LOGON_CACHED_ACCOUNT) +#define PAM_WB_KRB5_CLOCK_SKEW(x) (x & LOGON_KRB5_FAIL_CLOCK_SKEW) #define PAM_WB_GRACE_LOGON(x) ((LOGON_CACHED_ACCOUNT|LOGON_GRACE_LOGON) == ( x & (LOGON_CACHED_ACCOUNT|LOGON_GRACE_LOGON))) |