summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-23 18:15:34 +0100
committerJeremy Allison <jra@samba.org>2011-04-13 14:13:25 -0700
commit80f873853fbf4da65778ee8876e2a4901380c28b (patch)
treed32b079c5d2ef48a9ecdec208bf2a9198d0a1fc1
parent74ea52e3511ae025e81ffb3a1f037015a31d2de7 (diff)
downloadsamba-80f873853fbf4da65778ee8876e2a4901380c28b.tar.gz
samba-80f873853fbf4da65778ee8876e2a4901380c28b.tar.bz2
samba-80f873853fbf4da65778ee8876e2a4901380c28b.zip
s3: Make idmap_find_domain public
Signed-off-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/winbindd/idmap.c2
-rw-r--r--source3/winbindd/winbindd_proto.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index ad21651e5c..2eb655f780 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -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;
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 90a17f0564..ae5130748d 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -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 */