diff options
Diffstat (limited to 'source3/winbindd/idmap_proto.h')
-rw-r--r-- | source3/winbindd/idmap_proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index 892b258d6a..a709807f68 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -54,5 +54,11 @@ NTSTATUS idmap_tdb_init(void); NTSTATUS idmap_uid_to_sid(const char *domname, struct dom_sid *sid, uid_t uid); NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid); bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom); +struct id_map *idmap_find_map_by_id(struct id_map **maps, enum id_type type, + uint32_t id); +struct id_map *idmap_find_map_by_sid(struct id_map **maps, struct dom_sid *sid); + +/* max number of ids requested per LDAP batch query */ +#define IDMAP_LDAP_MAX_IDS 30 #endif /* _WINBINDD_IDMAP_PROTO_H_ */ |