]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Add pwb_context to pam_winbind.h.
authorGünther Deschner <gd@samba.org>
Thu, 3 Apr 2008 11:19:46 +0000 (13:19 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 3 Apr 2008 14:27:18 +0000 (16:27 +0200)
Guenther

source/nsswitch/pam_winbind.h

index a1d32726f5c3512c39de1016ed539585dc5fee78..1725a895e09333fdf944523a04bcdf94190bf825 100644 (file)
@@ -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;
+};