git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8d65f
)
r8155: ops, add missing function.
author
Günther Deschner
<gd@samba.org>
Mon, 4 Jul 2005 19:16:34 +0000
(19:16 +0000)
committer
Günther Deschner
<gd@samba.org>
Mon, 4 Jul 2005 19:16:34 +0000
(19:16 +0000)
Guenther
source/sam/idmap_util.c
patch
|
blob
|
history
diff --git
a/source/sam/idmap_util.c
b/source/sam/idmap_util.c
index 3c9f420a9a7eb21a264fb80e4235d2d7b50250b2..cac8934f7b65743387af719741863abca356f544 100644
(file)
--- 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;
+}