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_init_cache(void);
9 NTSTATUS
idmap_allocate_uid(struct unixid
*id
);
10 NTSTATUS
idmap_allocate_gid(struct unixid
*id
);
11 NTSTATUS
idmap_backends_unixid_to_sid(const char *domname
,
13 NTSTATUS
idmap_backends_sid_to_unixid(const char *domname
,
16 /* The following definitions come from winbindd/idmap_nss.c */
18 NTSTATUS
idmap_nss_init(void);
20 /* The following definitions come from winbindd/idmap_passdb.c */
22 NTSTATUS
idmap_passdb_init(void);
24 /* The following definitions come from winbindd/idmap_tdb.c */
26 NTSTATUS
idmap_tdb_init(void);
28 /* The following definitions come from winbindd/idmap_util.c */
30 NTSTATUS
idmap_uid_to_sid(const char *domname
, struct dom_sid
*sid
, uid_t uid
);
31 NTSTATUS
idmap_gid_to_sid(const char *domname
, struct dom_sid
*sid
, gid_t gid
);
32 NTSTATUS
idmap_sid_to_uid(const char *dom_name
, struct dom_sid
*sid
, uid_t
*uid
);
33 NTSTATUS
idmap_sid_to_gid(const char *domname
, struct dom_sid
*sid
, gid_t
*gid
);
34 bool idmap_unix_id_is_in_range(uint32_t id
, struct idmap_domain
*dom
);