From b02520308bd037e6affb7f56168221109ce66dad Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 4 Jul 2005 19:16:34 +0000 Subject: r8155: ops, add missing function. Guenther --- source/sam/idmap_util.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source/sam') diff --git a/source/sam/idmap_util.c b/source/sam/idmap_util.c index 3c9f420a9a7..cac8934f7b6 100644 --- a/source/sam/idmap_util.c +++ b/source/sam/idmap_util.c @@ -184,3 +184,17 @@ NTSTATUS idmap_sid_to_gid(const DOM_SID *sid, gid_t *gid, uint32 flags) return ret; } + +/* placeholder for checking lp_winbind_nss_info() */ +BOOL use_nss_info(const char *info) +{ + int i; + const char **list = lp_winbind_nss_info(); + + for (i=0; list[i]; i++) { + if (strequal(list[i], info)) + return True; + } + + return False; +} -- cgit