diff options
Diffstat (limited to 'source3/sam')
-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; +} |