diff options
author | Günther Deschner <gd@samba.org> | 2005-07-04 19:16:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:58:15 -0500 |
commit | 5873b414750a1536a75463f0bfb2b5cc717946b6 (patch) | |
tree | 0083c3b0189343bcfaa233a392250ab79fe40201 | |
parent | 2427e00b1da0ccfaf2c075ec408fd0f822801880 (diff) | |
download | samba-5873b414750a1536a75463f0bfb2b5cc717946b6.tar.gz samba-5873b414750a1536a75463f0bfb2b5cc717946b6.tar.bz2 samba-5873b414750a1536a75463f0bfb2b5cc717946b6.zip |
r8155: ops, add missing function.
Guenther
(This used to be commit f3da329fa89fad5b994e46251b43325fa4ea853e)
-rw-r--r-- | source3/sam/idmap_util.c | 14 |
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; +} |