script: add hardcoded library release key id
[Samba/gebeck_regimport.git] / source3 / winbindd / idmap_proto.h
blobfa7f7120246fa1eb0a999d6f01945270775f88f7
1 /* The following definitions come from winbindd/idmap.c */
3 bool idmap_is_offline(void);
4 bool idmap_is_online(void);
5 NTSTATUS smb_register_idmap(int version, const char *name,
6 struct idmap_methods *methods);
7 void idmap_close(void);
8 NTSTATUS idmap_allocate_uid(struct unixid *id);
9 NTSTATUS idmap_allocate_gid(struct unixid *id);
10 NTSTATUS idmap_backends_unixid_to_sid(const char *domname,
11 struct id_map *id);
12 NTSTATUS idmap_backends_sid_to_unixid(const char *domname,
13 struct id_map *id);
15 /* The following definitions come from winbindd/idmap_nss.c */
17 NTSTATUS idmap_nss_init(void);
19 /* The following definitions come from winbindd/idmap_passdb.c */
21 NTSTATUS idmap_passdb_init(void);
23 /* The following definitions come from winbindd/idmap_tdb.c */
25 NTSTATUS idmap_tdb_init(void);
27 /* The following definitions come from winbindd/idmap_util.c */
29 NTSTATUS idmap_uid_to_sid(const char *domname, struct dom_sid *sid, uid_t uid);
30 NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid);
31 NTSTATUS idmap_sid_to_uid(const char *dom_name, struct dom_sid *sid, uid_t *uid);
32 NTSTATUS idmap_sid_to_gid(const char *domname, struct dom_sid *sid, gid_t *gid);
33 bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);