From 27dd290d3fe68ee1c4fd8a795335010c721b28a0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 16 Aug 2009 12:08:52 +0200 Subject: [PATCH] s3:winbind: Make fill_grent publically available --- source3/winbindd/winbindd_group.c | 5 ++--- source3/winbindd/winbindd_proto.h | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c index c1a898d73b24..63105dea1a05 100644 --- a/source3/winbindd/winbindd_group.c +++ b/source3/winbindd/winbindd_group.c @@ -181,9 +181,8 @@ static bool fill_passdb_alias_grmem(struct winbindd_domain *domain, /* Fill a grent structure from various other information */ -static bool fill_grent(TALLOC_CTX *mem_ctx, struct winbindd_gr *gr, - const char *dom_name, - char *gr_name, gid_t unix_gid) +bool fill_grent(TALLOC_CTX *mem_ctx, struct winbindd_gr *gr, + const char *dom_name, const char *gr_name, gid_t unix_gid) { fstring full_group_name; char *mapped_name = NULL; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 0df00f52ba7b..0ca37a6df15e 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -378,6 +378,8 @@ void winbindd_getsidaliases(struct winbindd_cli_state *state); enum winbindd_result winbindd_dual_getuserdomgroups(struct winbindd_domain *domain, struct winbindd_cli_state *state); bool get_sam_group_entries(struct getent_state *ent); +bool fill_grent(TALLOC_CTX *mem_ctx, struct winbindd_gr *gr, + const char *dom_name, const char *gr_name, gid_t unix_gid); /* The following definitions come from winbindd/winbindd_idmap.c */ -- 2.34.1