s3:winbind: Refactor check_info3_in_group() to take a wbint_SidArray struct
authorSamuel Cabrero <scabrero@samba.org>
Thu, 10 Jun 2021 10:02:08 +0000 (12:02 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 8 Apr 2022 20:13:37 +0000 (20:13 +0000)
commita1a696a879ac768db54b1a94110d6cb13fb9423c
tree7531e7a0e8b505693fbd7685250aef889548e095
parent12ef1543453a743af0aff8764bd1420566594321
s3:winbind: Refactor check_info3_in_group() to take a wbint_SidArray struct

Refactor the check_info3_in_group() function to take a wbint_SidArray
struct. The sid strings stored in extra_data are parsed into a
wbint_SidArray in a separated function.

Later, winbindd_dual_pam_auth() will be converted to a local RPC
call handler and the wbint_SidArray containing the required membership
will be part of the 'r' struct.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_pam.c