s3: Make idmap_find_domain public
authorVolker Lendecke <vl@samba.org>
Wed, 23 Mar 2011 17:15:34 +0000 (18:15 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 8 Apr 2011 13:17:18 +0000 (15:17 +0200)
source3/winbindd/idmap.c
source3/winbindd/winbindd_proto.h

index ad21651e5c06311623790cf00b96a1f87a157575..2eb655f78008e2ea70b56203d070fbe0aea69a2e 100644 (file)
@@ -367,7 +367,7 @@ static struct idmap_domain *idmap_init_passdb_domain(TALLOC_CTX *mem_ctx)
  * add_trusted_domain.
  */
 
-static struct idmap_domain *idmap_find_domain(const char *domname)
+struct idmap_domain *idmap_find_domain(const char *domname)
 {
        struct idmap_domain *result;
        int i;
index 3127057b94c7fb9c07d30568ed224d903388887a..220bd2389bccfed2bb93a4e9911e338d10feaab1 100644 (file)
@@ -317,6 +317,7 @@ NTSTATUS winbindd_print_groupmembers(struct talloc_dict *members,
 
 void init_idmap_child(void);
 struct winbindd_child *idmap_child(void);
+struct idmap_domain *idmap_find_domain(const char *domname);
 
 /* The following definitions come from winbindd/winbindd_locator.c  */