1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

r137: Add notes about handles in dcesrv pipes

(This used to be commit 9bd7e9438e88545abe3a555624be4717db47e0c0)
This commit is contained in:
Jelmer Vernooij 2004-04-09 17:09:00 +00:00 committed by Gerald (Jerry) Carter
parent ab53890d59
commit 6dd7445398

View File

@ -600,7 +600,20 @@ IDEA: Maybe extend UNC names like this?
smbclient //server/share
smbclient //server/share:[sign,seal,spnego]
DCERPC Handles
--------------
The various handles that are used in the RPC servers should be created and
fetch using the dcesrv_handle_* functions.
Use dcesrv_handle_new(struct dcesrv_connection *, uint8 handle_type) to obtain
a new handle of the specified type. Handle types are unique within each
pipe.
The handle can later be fetched again using
struct dcesrv_handle *dcesrv_handle_fetch(struct dcesrv_connection *dce_conn, struct policy_handle *p, uint8 handle_type)
and destroyed by dcesrv_handle_destroy(struct dcesrv_handle *).
User data should be stored in the 'data' member of the dcesrv_handle struct.
MSRPC