X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Fwinbindd%2Fwinbindd_proto.h;h=0df00f52ba7bc346e30e4d4157faaaf51a5705ac;hb=886e183b0e6ed3a13b3ce74068fff761d9635bcc;hp=1638b0be6297d66b8f26fe07e5b9e427ebbd3f28;hpb=1d110e0ef6efa030a65465291f2b8c7874fed1fb;p=metze%2Fsamba%2Fwip.git diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 1638b0be6297..0df00f52ba7b 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -155,6 +155,12 @@ NTSTATUS wcache_sid_to_name(struct winbindd_domain *domain, char **domain_name, char **name, enum lsa_SidType *type); +NTSTATUS wcache_lookup_groupmem(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + const struct dom_sid *group_sid, + uint32_t *num_names, + struct dom_sid **sid_mem, char ***names, + uint32_t **name_types); bool lookup_cached_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, char **domain_name, char **name, enum lsa_SidType *type); @@ -593,9 +599,9 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain, uint32 *p_num_groups, DOM_SID **user_sids); NTSTATUS normalize_name_map(TALLOC_CTX *mem_ctx, - struct winbindd_domain *domain, - char *name, - char **normalized); + struct winbindd_domain *domain, + const char *name, + char **normalized); NTSTATUS normalize_name_unmap(TALLOC_CTX *mem_ctx, char *name, char **normalized); @@ -772,5 +778,32 @@ struct tevent_req *wb_seqnum_send(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain); NTSTATUS wb_seqnum_recv(struct tevent_req *req, uint32_t *seqnum); +struct tevent_req *wb_seqnums_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev); +NTSTATUS wb_seqnums_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + int *num_domains, struct winbindd_domain ***domains, + NTSTATUS **stati, uint32_t **seqnums); + +struct tevent_req *winbindd_show_sequence_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct winbindd_request *request); +NTSTATUS winbindd_show_sequence_recv(struct tevent_req *req, + struct winbindd_response *response); + +struct tevent_req *wb_group_members_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + const struct dom_sid *sid, + enum lsa_SidType type, + int max_depth); +NTSTATUS wb_group_members_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + struct talloc_dict **members); + +struct tevent_req *wb_getgrsid_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + const struct dom_sid *group_sid, + int max_nesting); +NTSTATUS wb_getgrsid_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + const char **domname, const char **name, gid_t *gid, + struct talloc_dict **members); #endif /* _WINBINDD_PROTO_H_ */