diff options
author | Günther Deschner <gd@samba.org> | 2008-08-19 14:51:31 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-10 15:42:09 +0200 |
commit | 9a0860f93f8260040ac458b06d7a8609b7b5beab (patch) | |
tree | ecd12344a2ac9233f8d5025943d5e6ef9f0cd41d /source3 | |
parent | 4ff415dd15ac13019171b07b0c49784293d41f53 (diff) | |
download | samba-9a0860f93f8260040ac458b06d7a8609b7b5beab.tar.gz samba-9a0860f93f8260040ac458b06d7a8609b7b5beab.tar.bz2 samba-9a0860f93f8260040ac458b06d7a8609b7b5beab.zip |
pam_winbind: remove NETLOGON_CACHED_ACCOUNT and NETLOGON_GRACE_LOGON.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/pam_winbind.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 1b1d646643..670120afde 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -182,16 +182,11 @@ do { \ };\ }; -/* from netlogon.idl */ -#define NETLOGON_CACHED_ACCOUNT 0x00000004 -#define NETLOGON_GRACE_LOGON 0x01000000 - -/* from include/rpc_netlogon.h */ #define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000 -#define PAM_WB_CACHED_LOGON(x) (x & NETLOGON_CACHED_ACCOUNT) +#define PAM_WB_CACHED_LOGON(x) (x & WBC_AUTH_USER_INFO_CACHED_ACCOUNT) #define PAM_WB_KRB5_CLOCK_SKEW(x) (x & LOGON_KRB5_FAIL_CLOCK_SKEW) -#define PAM_WB_GRACE_LOGON(x) ((NETLOGON_CACHED_ACCOUNT|NETLOGON_GRACE_LOGON) == ( x & (NETLOGON_CACHED_ACCOUNT|NETLOGON_GRACE_LOGON))) +#define PAM_WB_GRACE_LOGON(x) ((WBC_AUTH_USER_INFO_CACHED_ACCOUNT|WBC_AUTH_USER_INFO_GRACE_LOGON) == ( x & (WBC_AUTH_USER_INFO_CACHED_ACCOUNT|WBC_AUTH_USER_INFO_GRACE_LOGON))) struct pwb_context { pam_handle_t *pamh; |