1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r8155: ops, add missing function.

Guenther
(This used to be commit f3da329fa8)
This commit is contained in:
Günther Deschner 2005-07-04 19:16:34 +00:00 committed by Gerald (Jerry) Carter
parent 2427e00b1d
commit 5873b41475

View File

@ -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;
}