1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-23 11:33:16 +03:00

added the epm_Map() call.

the RPC-EPMAPPER torture test now passes
This commit is contained in:
Andrew Tridgell
-
parent 3f85f9b782
commit fbdcf9ef54
4 changed files with 171 additions and 69 deletions

View File

@@ -49,8 +49,8 @@ struct dcesrv_handle *dcesrv_handle_new(struct dcesrv_state *dce,
/* TODO: check for wraparound here */
SIVAL(&h->wire_handle.data, 12, random());
SIVAL(&h->wire_handle.data, 16, dce->next_handle);
dce->next_handle++;
SIVAL(&h->wire_handle.data, 16, dce->next_handle);
DLIST_ADD(dce->handles, h);