From c98ad0accae2b32526cfdc4577cc6d5adafc5f00 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 29 Dec 2016 09:54:56 +0000 Subject: [PATCH] winbind: Make "idmap_find_domain" public Signed-off-by: Volker Lendecke Reviewed-by: Uri Simchoni Reviewed-by: Andreas Schneider --- source3/winbindd/idmap.c | 2 +- source3/winbindd/idmap_proto.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 84834f1a3db..6a5263358d2 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -500,7 +500,7 @@ fail: * add_trusted_domain. */ -static struct idmap_domain *idmap_find_domain(const char *domname) +struct idmap_domain *idmap_find_domain(const char *domname) { bool ok; int i; diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index 84cc2f01cab..0e25963f209 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -36,6 +36,7 @@ NTSTATUS idmap_allocate_uid(struct unixid *id); NTSTATUS idmap_allocate_gid(struct unixid *id); NTSTATUS idmap_backend_unixids_to_sids(struct id_map **maps, const char *domain_name); +struct idmap_domain *idmap_find_domain(const char *domname); /* The following definitions come from winbindd/idmap_nss.c */