31 #include <sys/types.h>
33 #define DOM_SID_PREFIX "S-1-5-21-"
34 #define DOM_SID_PREFIX_LEN (sizeof(DOM_SID_PREFIX) - 1)
94 typedef void (idmap_free_func)(
void *ptr,
void *pvt);
114 struct sss_idmap_ctx;
138 idmap_free_func *free_func,
139 struct sss_idmap_ctx **ctx);
253 const char *domain_name,
254 const char *domain_sid,
286 const char *domain_name,
287 const char *domain_sid,
289 const char *range_id,
291 bool external_mapping);
312 char *n_name,
char *n_sid,
314 uint32_t n_first_rid,
316 bool n_external_mapping);
348 uint32_t o_first_rid,
349 const char *o_range_id,
350 bool o_external_mapping,
354 uint32_t n_first_rid,
355 const char *n_range_id,
356 bool n_external_mapping);
390 struct sss_dom_sid *dom_sid,
428 struct dom_sid *smb_sid,
464 struct sss_dom_sid *dom_sid,
503 struct dom_sid *smb_sid,
539 struct sss_dom_sid **dom_sid);
593 struct sss_dom_sid *dom_sid);
605 struct dom_sid *smb_sid);
662 bool *has_algorithmic_mapping);
684 const char *dom_name,
685 bool *has_algorithmic_mapping);
701 const uint8_t *bin_sid,
703 struct sss_dom_sid **dom_sid);
719 const uint8_t *bin_sid,
737 struct sss_dom_sid *dom_sid,
772 struct sss_dom_sid *dom_sid,
789 struct sss_dom_sid **dom_sid);
805 struct dom_sid **smb_sid);
820 struct dom_sid *smb_sid,
836 struct sss_dom_sid *dom_sid,
837 struct dom_sid **smb_sid);
852 struct dom_sid *smb_sid,
853 struct sss_dom_sid **dom_sid);
869 const uint8_t *bin_sid,
871 struct dom_sid **smb_sid);
887 struct dom_sid *smb_sid,