s3:winbind: Make "check_request_flags" publically available
authorVolker Lendecke <vl@samba.org>
Sun, 27 Sep 2009 09:51:07 +0000 (11:51 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 28 Sep 2009 15:54:20 +0000 (17:54 +0200)
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_proto.h

index b379e2c7a942ec94914c4c8bd95263225cc3f54e..5e0bc9d00dc4eee94af1d45c5856c17838b60c61 100644 (file)
@@ -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;
 }
index cf8a9a3fb2e067edd502047816e0f3cfeb121235..dc5650165b1d611f65837e4802fc7032398a6096 100644 (file)
@@ -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,