summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-07-04 19:16:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:15 -0500
commit5873b414750a1536a75463f0bfb2b5cc717946b6 (patch)
tree0083c3b0189343bcfaa233a392250ab79fe40201 /source3/sam
parent2427e00b1da0ccfaf2c075ec408fd0f822801880 (diff)
downloadsamba-5873b414750a1536a75463f0bfb2b5cc717946b6.tar.gz
samba-5873b414750a1536a75463f0bfb2b5cc717946b6.tar.bz2
samba-5873b414750a1536a75463f0bfb2b5cc717946b6.zip
r8155: ops, add missing function.
Guenther (This used to be commit f3da329fa89fad5b994e46251b43325fa4ea853e)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_util.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/sam/idmap_util.c b/source3/sam/idmap_util.c
index 3c9f420a9a..cac8934f7b 100644
--- a/source3/sam/idmap_util.c
+++ b/source3/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;
+}