diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-04 16:07:01 -0400 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-05 03:21:25 -0400 |
commit | 1dc1ac00512a28bdc025b00fbfa676b0f5b15751 (patch) | |
tree | 5f84b6351c3fb3f8a1248bc8bdf4d792dbb95a43 /source3/winbindd/winbindd_proto.h | |
parent | 718a26fd29036cc200cdc1c320733eafe84d2337 (diff) | |
download | samba-1dc1ac00512a28bdc025b00fbfa676b0f5b15751.tar.gz samba-1dc1ac00512a28bdc025b00fbfa676b0f5b15751.tar.bz2 samba-1dc1ac00512a28bdc025b00fbfa676b0f5b15751.zip |
s3:winbind: Add async wb_lookupusergroups
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index fd67abbf6d..42acb9eea6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -184,6 +184,7 @@ NTSTATUS wcache_lookup_usergroups(struct winbindd_domain *domain, const struct dom_sid *user_sid, uint32_t *pnum_sids, struct dom_sid **psids); + void wcache_flush_cache(void); NTSTATUS wcache_count_cached_creds(struct winbindd_domain *domain, int *count); NTSTATUS wcache_remove_oldest_cached_creds(struct winbindd_domain *domain, const DOM_SID *sid) ; @@ -743,6 +744,12 @@ struct tevent_req *winbindd_getsidaliases_send(TALLOC_CTX *mem_ctx, struct winbindd_request *request); NTSTATUS winbindd_getsidaliases_recv(struct tevent_req *req, struct winbindd_response *response); +struct tevent_req *wb_lookupusergroups_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct winbindd_domain *domain, + const struct dom_sid *sid); +NTSTATUS wb_lookupusergroups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + int *num_sids, struct dom_sid **sids); #endif /* _WINBINDD_PROTO_H_ */ |