summaryrefslogtreecommitdiffstats
path: root/source/sam
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-07-04 19:16:34 +0000
committerGünther Deschner <gd@samba.org>2005-07-04 19:16:34 +0000
commitb02520308bd037e6affb7f56168221109ce66dad (patch)
tree22f2c9c97913806affeb054a04b0dba3d97e458a /source/sam
parent8a8d65f6bcdc58b2ad729ea8ebf0fb4ee1415d90 (diff)
downloadsamba-b02520308bd037e6affb7f56168221109ce66dad.tar.gz
samba-b02520308bd037e6affb7f56168221109ce66dad.tar.xz
samba-b02520308bd037e6affb7f56168221109ce66dad.zip
r8155: ops, add missing function.
Guenther
Diffstat (limited to 'source/sam')
-rw-r--r--source/sam/idmap_util.c14
1 files changed, 14 insertions, 0 deletions
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;
+}