mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r8155: ops, add missing function.
Guenther
(This used to be commit f3da329fa8
)
This commit is contained in:
parent
2427e00b1d
commit
5873b41475
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user