s3:winbind: Make fill_grent publically available
authorVolker Lendecke <vl@samba.org>
Sun, 16 Aug 2009 10:08:52 +0000 (12:08 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 16 Aug 2009 10:38:19 +0000 (12:38 +0200)
source3/winbindd/winbindd_group.c
source3/winbindd/winbindd_proto.h

index c1a898d73b244462ffcfede4aac3f1d6e04dc084..63105dea1a057c0fa1655e1839217892e9d38ac1 100644 (file)
@@ -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;
index 0df00f52ba7bc346e30e4d4157faaaf51a5705ac..0ca37a6df15e00810f7c77350413fff95e0fc6c5 100644 (file)
@@ -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  */