1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

winbindd: Make wcache_lookup_groupmem static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
This commit is contained in:
Volker Lendecke 2017-07-12 12:40:29 +02:00
parent bbdfb51296
commit d8f85c0f33
2 changed files with 6 additions and 12 deletions

View File

@ -2602,12 +2602,12 @@ NTSTATUS wb_cache_lookup_useraliases(struct winbindd_domain *domain,
return status;
}
NTSTATUS wcache_lookup_groupmem(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
const struct dom_sid *group_sid,
uint32_t *num_names,
struct dom_sid **sid_mem, char ***names,
uint32_t **name_types)
static NTSTATUS wcache_lookup_groupmem(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
const struct dom_sid *group_sid,
uint32_t *num_names,
struct dom_sid **sid_mem, char ***names,
uint32_t **name_types)
{
struct winbind_cache *cache = get_cache(domain);
struct cache_entry *centry = NULL;

View File

@ -134,12 +134,6 @@ bool wcache_invalidate_cache_noinit(void);
bool init_wcache(void);
bool initialize_winbindd_cache(void);
void close_winbindd_cache(void);
NTSTATUS wcache_lookup_groupmem(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
const struct dom_sid *group_sid,
uint32_t *num_names,
struct dom_sid **sid_mem, char ***names,
uint32_t **name_types);
bool lookup_cached_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
char **domain_name, char **name,
enum lsa_SidType *type);