s3: Make check_info3_in_group static
authorVolker Lendecke <vl@samba.org>
Wed, 31 Mar 2010 18:57:01 +0000 (20:57 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 31 Mar 2010 19:03:07 +0000 (21:03 +0200)
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_proto.h

index 5285f16c6323d35b56de9d6a6cc219b92e08ade1..74b82370bfd3c5dfcf001a4e49b55745712375d6 100644 (file)
@@ -234,8 +234,8 @@ static NTSTATUS append_afs_token(TALLOC_CTX *mem_ctx,
        return NT_STATUS_OK;
 }
 
-NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
-                             const char *group_sid)
+static NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
+                                    const char *group_sid)
 /**
  * Check whether a user belongs to a group or list of groups.
  *
index 2481bc69b9c80d66251fb74835e47e143a3e434f..255e79e1d0e51e8c46951c902ec26196a16599ab 100644 (file)
@@ -383,8 +383,6 @@ void ndr_print_winbindd_domain(struct ndr_print *ndr,
 bool check_request_flags(uint32_t flags);
 struct winbindd_domain *find_auth_domain(uint8_t flags,
                                         const char *domain_name);
-NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
-                             const char *group_sid);
 void winbindd_pam_auth(struct winbindd_cli_state *state);
 enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
                                            struct winbindd_cli_state *state) ;