s3:winbind: Convert WINBINDD_SID_TO_UID to the new API
[gd/samba/.git] / source3 / winbindd / winbindd_proto.h
index 2a07ae2d4d4f3baa46d26bccaed7f2ccfd8e8c00..e326f49559041e0cd58e2f91614ebda27f32e8af 100644 (file)
@@ -642,6 +642,11 @@ struct tevent_req *wb_sid2uid_send(TALLOC_CTX *mem_ctx,
                                   const struct dom_sid *sid);
 NTSTATUS wb_sid2uid_recv(struct tevent_req *req, uid_t *uid);
 
+struct tevent_req *winbindd_sid_to_uid_send(TALLOC_CTX *mem_ctx,
+                                           struct tevent_context *ev,
+                                           struct winbindd_request *request);
+NTSTATUS winbindd_sid_to_uid_recv(struct tevent_req *req,
+                                 struct winbindd_response *response);
 
 
 #endif /*  _WINBINDD_PROTO_H_  */