summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-04-06 16:44:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:07 -0500
commit869348dfcbf66a88998cb80c00902848db96901f (patch)
tree9d80f9829c549e2e539a9d39bf4887db0331585f /source3/nsswitch/winbindd_nss.h
parentbd0407258598839cbda81e1c21a5c5d8320d232a (diff)
downloadsamba-869348dfcbf66a88998cb80c00902848db96901f.tar.gz
samba-869348dfcbf66a88998cb80c00902848db96901f.tar.bz2
samba-869348dfcbf66a88998cb80c00902848db96901f.zip
r84: Implement --required-membership-of=, an ntlm_auth option that restricts
all authentication to members of this particular group. Also implement an option to allow ntlm_auth to get 'squashed' error codes, which are safer to communicate to remote network clients. Andrew Bartlett (This used to be commit eb1c1b5eb086f49a230142ad2de45dc0e9691df3)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r--source3/nsswitch/winbindd_nss.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index d0c80412df..4ddce11951 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -157,6 +157,7 @@ typedef struct winbindd_gr {
#define WBFLAG_ALLOCATE_RID 0x0040
#define WBFLAG_PAM_UNIX_NAME 0x0080
#define WBFLAG_PAM_AFS_TOKEN 0x0100
+#define WBFLAG_PAM_NT_STATUS_SQUASH 0x0200
/* Winbind request structure */
@@ -179,6 +180,7 @@ struct winbindd_request {
character is. */
fstring user;
fstring pass;
+ fstring required_membership_sid;
} auth; /* pam_winbind auth module */
struct {
unsigned char chal[8];
@@ -189,6 +191,7 @@ struct winbindd_request {
fstring nt_resp;
uint16 nt_resp_len;
fstring workstation;
+ fstring required_membership_sid;
} auth_crap;
struct {
fstring user;