diff options
author | Günther Deschner <gd@samba.org> | 2008-04-03 13:19:46 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-03 16:27:18 +0200 |
commit | b365cd3fc531db124a4aa80693aa7d178b315f28 (patch) | |
tree | 43e17018b292d72d5c9d70754ae0110a34a4cdcd /source3/nsswitch/pam_winbind.h | |
parent | b592abf1ac7bfef2b56ee71a1e68128c8f73aed6 (diff) | |
download | samba-b365cd3fc531db124a4aa80693aa7d178b315f28.tar.gz samba-b365cd3fc531db124a4aa80693aa7d178b315f28.tar.bz2 samba-b365cd3fc531db124a4aa80693aa7d178b315f28.zip |
Add pwb_context to pam_winbind.h.
Guenther
(This used to be commit fe8acb064433b286938e0b572ca1faa8a54414b7)
Diffstat (limited to 'source3/nsswitch/pam_winbind.h')
-rw-r--r-- | source3/nsswitch/pam_winbind.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index a1d32726f5..1725a895e0 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -200,3 +200,12 @@ do { \ #define PAM_WB_CACHED_LOGON(x) (x & NETLOGON_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))) + +struct pwb_context { + const pam_handle_t *pamh; + int flags; + int argc; + const char **argv; + dictionary *dict; + uint32_t ctrl; +}; |