summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-16 12:08:52 +0200
committerVolker Lendecke <vl@samba.org>2009-08-16 12:38:19 +0200
commit27dd290d3fe68ee1c4fd8a795335010c721b28a0 (patch)
tree1c026b243d6136b8639087f4b42e1df2f83f38ca
parent886e183b0e6ed3a13b3ce74068fff761d9635bcc (diff)
downloadsamba-27dd290d3fe68ee1c4fd8a795335010c721b28a0.tar.gz
samba-27dd290d3fe68ee1c4fd8a795335010c721b28a0.tar.bz2
samba-27dd290d3fe68ee1c4fd8a795335010c721b28a0.zip
s3:winbind: Make fill_grent publically available
-rw-r--r--source3/winbindd/winbindd_group.c5
-rw-r--r--source3/winbindd/winbindd_proto.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index c1a898d73b..63105dea1a 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 0df00f52ba..0ca37a6df1 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 */