summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-29 15:44:38 +0200
committerVolker Lendecke <vl@samba.org>2010-03-31 21:03:06 +0200
commitcf4a8f7639ee869270dc99ed791752de03882edc (patch)
tree96ac1f64ef6fe488fbab1531320cd55a6cfdc8f3
parenteb60833a45d0d21463d6101953136e1f3e3de380 (diff)
downloadsamba-cf4a8f7639ee869270dc99ed791752de03882edc.tar.gz
samba-cf4a8f7639ee869270dc99ed791752de03882edc.tar.bz2
samba-cf4a8f7639ee869270dc99ed791752de03882edc.zip
s3-winbind: Make append_auth_data() static
-rw-r--r--source3/winbindd/winbindd_pam.c8
-rw-r--r--source3/winbindd/winbindd_proto.h4
2 files changed, 4 insertions, 8 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 62f3e54fc1..5285f16c63 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -733,10 +733,10 @@ bool check_request_flags(uint32_t flags)
/****************************************************************
****************************************************************/
-NTSTATUS append_auth_data(struct winbindd_cli_state *state,
- struct netr_SamInfo3 *info3,
- const char *name_domain,
- const char *name_user)
+static NTSTATUS append_auth_data(struct winbindd_cli_state *state,
+ struct netr_SamInfo3 *info3,
+ const char *name_domain,
+ const char *name_user)
{
NTSTATUS result;
uint32_t flags = state->request->flags;
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 7567eea770..2481bc69b9 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -385,10 +385,6 @@ 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);
-NTSTATUS append_auth_data(struct winbindd_cli_state *state,
- struct netr_SamInfo3 *info3,
- const char *name_domain,
- const char *name_user);
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) ;