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

Sync up handle creation with 2.2 branch. We can now join AS/U domains and

authenticate against them. Big/little endian issues fixed.
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent e628d80d1e
commit 0e6a34510e
13 changed files with 67 additions and 79 deletions

View File

@@ -1438,8 +1438,19 @@ BOOL smb_io_pol_hnd(char *desc, POLICY_HND *pol, prs_struct *ps, int depth)
if(!prs_align(ps))
return False;
if(UNMARSHALLING(ps))
ZERO_STRUCTP(pol);
if(!prs_uint8s (False, "data", ps, depth, pol->data, POL_HND_SIZE))
if (!prs_uint32("data1", ps, depth, &pol->data1))
return False;
if (!prs_uint32("data2", ps, depth, &pol->data2))
return False;
if (!prs_uint16("data3", ps, depth, &pol->data3))
return False;
if (!prs_uint16("data4", ps, depth, &pol->data4))
return False;
if(!prs_uint8s (False, "data5", ps, depth, pol->data5, sizeof(pol->data5)))
return False;
return True;