summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-25 00:47:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:26 -0500
commitdf1e2693dce2da22a40ae0d0e75d2d3f35bf852f (patch)
tree2b6362baf9576e606567aeddd5712f1dec31c589 /source3/nsswitch/winbindd_nss.h
parentd070271a15d7d084b894e9713c18de7b04730752 (diff)
downloadsamba-df1e2693dce2da22a40ae0d0e75d2d3f35bf852f.tar.gz
samba-df1e2693dce2da22a40ae0d0e75d2d3f35bf852f.tar.bz2
samba-df1e2693dce2da22a40ae0d0e75d2d3f35bf852f.zip
r21009: Patch from Danilo Almeida @ Centeris (via me).
Patch details: Support most options in pam_winbind.conf; support comma-separated names in require-membership-of. Details below: 1) Provides support for almost all config options in pam_winbind.conf (all except for use_first_pass, use_authtok, and unknown_ok). - That allows us to work well when invoked via call_modules from pam_unix2.conf as well as allowing use of spaces in names used w/require_membership_of. 2) Support for comma-separated list of names or SID strings in require_membership_of/require-membership-of. - Increased require_membership_of field in winbind request from fstring (256) to pstring (1024). - In PAM side, parse out multiple names or SID strings and convert all of them to SID strings. - In Winbind side, support membership check against multiple SID strings. (This used to be commit 4aca9864896b3e0890ffc9a6980d7ef1311138f7)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r--source3/nsswitch/winbindd_nss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index 95992181f5..b6c262e466 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -239,7 +239,7 @@ struct winbindd_request {
character is. */
fstring user;
fstring pass;
- fstring require_membership_of_sid;
+ pstring require_membership_of_sid;
fstring krb5_cc_type;
uid_t uid;
} auth; /* pam_winbind auth module */