[PATCH] libsmb: Put the "smb2_lease" struct into idl

Noel Power nopower at suse.com
Thu Jun 12 02:18:36 MDT 2014


On 11/06/14 20:01, Volker Lendecke wrote:
> Hi!
>
> Review would be appreciated.
>
> Thanks,
>
> Volker
>

-    struct smb2_lease_key lease_key;
-    uint32_t lease_state;
-    uint32_t lease_flags;
-    uint64_t lease_duration; /* should be 0 */
[...]
-};

+        smb2_lease_key lease_key;
+        uint32 lease_state;
+        uint32 lease_flags;
+        uint32 lease_duration;    /* should be 0 */
[...]
+    } smb2_lease;


shouldn't lease_duration be 8 bytes e.g. hyper?

Noel


More information about the samba-technical mailing list