mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:winbind: Make "check_request_flags" publically available
This commit is contained in:
parent
def5bf57c5
commit
f18d0b036c
@ -705,7 +705,7 @@ failed:
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
||||
static bool check_request_flags(uint32_t flags)
|
||||
bool check_request_flags(uint32_t flags)
|
||||
{
|
||||
uint32_t flags_edata = WBFLAG_PAM_AFS_TOKEN |
|
||||
WBFLAG_PAM_INFO3_TEXT |
|
||||
@ -718,7 +718,8 @@ static bool check_request_flags(uint32_t flags)
|
||||
return true;
|
||||
}
|
||||
|
||||
DEBUG(1,("check_request_flags: invalid request flags[0x%08X]\n",flags));
|
||||
DEBUG(1, ("check_request_flags: invalid request flags[0x%08X]\n",
|
||||
flags));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -494,6 +494,7 @@ void ndr_print_winbindd_domain(struct ndr_print *ndr,
|
||||
|
||||
/* The following definitions come from winbindd/winbindd_pam.c */
|
||||
|
||||
bool check_request_flags(uint32_t flags);
|
||||
struct winbindd_domain *find_auth_domain(uint8_t flags,
|
||||
const char *domain_name);
|
||||
NTSTATUS append_auth_data(struct winbindd_cli_state *state,
|
||||
|
Loading…
Reference in New Issue
Block a user