r21009: Patch from Danilo Almeida @ Centeris (via me).
authorGerald Carter <jerry@samba.org>
Thu, 25 Jan 2007 00:47:27 +0000 (00:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:26 +0000 (12:17 -0500)
commit4aca9864896b3e0890ffc9a6980d7ef1311138f7
treef6179b1016035eb528b51469fae4f3a58591a094
parent99172f56c0041d43890167150cfc575d7c1b59f1
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.
source/nsswitch/pam_winbind.c
source/nsswitch/winbindd_nss.h
source/nsswitch/winbindd_pam.c