summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-16 23:54:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:34 -0500
commit3cbdb090b98bf724e69c5e5fc0d8b3e1b61f6b90 (patch)
tree4b54c221395abef66d9e3461683c7f64dd9d2cf1 /source3/nsswitch/winbindd_nss.h
parent99a3f68eb59e7d00c87081ff2f22449ebe4081ed (diff)
downloadsamba-3cbdb090b98bf724e69c5e5fc0d8b3e1b61f6b90.tar.gz
samba-3cbdb090b98bf724e69c5e5fc0d8b3e1b61f6b90.tar.bz2
samba-3cbdb090b98bf724e69c5e5fc0d8b3e1b61f6b90.zip
r14496: Add WBFLAG_PAM_GET_PWD_POLICY bit to only callout for domain password
policies when requested. No panic, the flags is uint32 so we are not running out of WBFLAG bits. Guenther (This used to be commit 2155bb0535656f294bd054d6a0a7d16a9a71c31b)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r--source3/nsswitch/winbindd_nss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index b01053d63c..c5ca507bda 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -179,6 +179,7 @@ typedef struct winbindd_gr {
#define WBFLAG_PAM_KRB5 0x1000
#define WBFLAG_PAM_FALLBACK_AFTER_KRB5 0x2000
#define WBFLAG_PAM_CACHED_LOGIN 0x4000
+#define WBFLAG_PAM_GET_PWD_POLICY 0x8000
#define WINBINDD_MAX_EXTRA_DATA (128*1024)