summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-31 20:57:01 +0200
committerVolker Lendecke <vl@samba.org>2010-03-31 21:03:07 +0200
commit6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad (patch)
treeac63d03e6974b83e169b7d98e0254759badb4145 /source3/winbindd
parentcf4a8f7639ee869270dc99ed791752de03882edc (diff)
downloadsamba-6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad.tar.gz
samba-6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad.tar.bz2
samba-6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad.zip
s3: Make check_info3_in_group static
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_pam.c4
-rw-r--r--source3/winbindd/winbindd_proto.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 5285f16c63..74b82370bf 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -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.
*
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 2481bc69b9..255e79e1d0 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -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) ;