diff options
author | Volker Lendecke <vl@samba.org> | 2009-09-27 11:51:07 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-09-28 17:54:20 +0200 |
commit | f18d0b036c00ff24f082855a4fbb28681c39de70 (patch) | |
tree | b0230d441774b89a5c0e6f6131c1d0ce28544c14 /source3 | |
parent | def5bf57c550862196528515cbedc8bbc79db59a (diff) | |
download | samba-f18d0b036c00ff24f082855a4fbb28681c39de70.tar.gz samba-f18d0b036c00ff24f082855a4fbb28681c39de70.tar.bz2 samba-f18d0b036c00ff24f082855a4fbb28681c39de70.zip |
s3:winbind: Make "check_request_flags" publically available
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 5 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index b379e2c7a9..5e0bc9d00d 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -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; } diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index cf8a9a3fb2..dc5650165b 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -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, |