1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:winbind: Use uint8_t for authoritative flag

It is the type used in the winbindd_response struct.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Samuel Cabrero 2022-04-18 16:44:23 +02:00 committed by Jeremy Allison
parent fc4cb62506
commit efc97296d9

View File

@ -26,7 +26,7 @@
struct winbindd_pam_auth_crap_state {
struct winbindd_response *response;
bool authoritative;
uint8_t authoritative;
uint32_t flags;
};
@ -48,7 +48,7 @@ struct tevent_req *winbindd_pam_auth_crap_send(
if (req == NULL) {
return NULL;
}
state->authoritative = true;
state->authoritative = 1;
state->flags = request->flags;
if (state->flags & WBFLAG_PAM_AUTH_PAC) {
@ -131,7 +131,7 @@ struct tevent_req *winbindd_pam_auth_crap_send(
* We don't know the domain so
* we're not authoritative
*/
state->authoritative = false;
state->authoritative = 0;
tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER);
return tevent_req_post(req, ev);
}