summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_misc.c4
-rw-r--r--source3/nsswitch/winbindd_util.c9
2 files changed, 2 insertions, 11 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c
index d0851f5113..618dd6f1c9 100644
--- a/source3/nsswitch/winbindd_misc.c
+++ b/source3/nsswitch/winbindd_misc.c
@@ -44,8 +44,8 @@ static char *trust_keystr(char *domain)
/************************************************************************
Routine to get the trust account password for a domain
************************************************************************/
-BOOL _get_trust_account_password(char *domain, unsigned char *ret_pwd,
- time_t *pass_last_set_time)
+static BOOL _get_trust_account_password(char *domain, unsigned char *ret_pwd,
+ time_t *pass_last_set_time)
{
struct machine_acct_pass *pass;
size_t size;
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 6475d33edd..7059f268ca 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -609,15 +609,6 @@ done:
return True;
}
-/* Lookup group information from a rid */
-
-BOOL winbindd_lookup_groupinfo(struct winbindd_domain *domain,
- uint32 group_rid, GROUP_INFO_CTR *info)
-{
- return wb_get_samr_query_groupinfo(&domain->sam_dom_handle, 1,
- group_rid, info);
-}
-
/* Lookup group membership given a rid */
BOOL winbindd_lookup_groupmem(struct winbindd_domain *domain,