mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
Merge of sam sync code from TNG.
Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area.
This commit is contained in:
@@ -348,5 +348,24 @@ typedef struct uint64_s
|
||||
uint32 high;
|
||||
} UINT64_S;
|
||||
|
||||
/* BUFHDR2 - another buffer header, with info level */
|
||||
typedef struct bufhdr2_info
|
||||
{
|
||||
uint32 info_level;
|
||||
uint32 length; /* uint8 chars */
|
||||
uint32 buffer;
|
||||
|
||||
}
|
||||
BUFHDR2;
|
||||
|
||||
/* BUFFER4 - simple length and buffer */
|
||||
typedef struct buffer4_info
|
||||
{
|
||||
uint32 buf_len;
|
||||
uint8 buffer[MAX_BUFFERLEN];
|
||||
|
||||
}
|
||||
BUFFER4;
|
||||
|
||||
|
||||
#endif /* _RPC_MISC_H */
|
||||
|
||||
Reference in New Issue
Block a user