Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-01 | s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_Entry | Kamen Mazdrashki | 2 | -1/+26 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-21 | librpc: fixed the GUID_compare() function | Andrew Tridgell | 1 | -5/+5 | |
When comparing two unsigned values you can't just subtract them. Imagine you are comparing: "uint32_t u1" and "uint32_t u2". If you use "u1 - u2" and u2 is zero, then the signed integer result will depend on the top bit of u1. This error occurs in a few places in Samba. For DRS replication it resulted in corrupt uptodateness vectors. | |||||
2009-12-14 | librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris | Brian Lu | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-14 | librpc/ndr: add missing prototypes for relative_short functions | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-12-14 | spoolss: fix spoolss_PrinterData size calculation. | Günther Deschner | 2 | -0/+9 | |
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL) string for a separator file was returned. Guenther | |||||
2009-12-12 | librpc/ndr: add support for relative_short pointers | Matthieu Patou | 2 | -0/+54 | |
relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-10 | spoolss: remove unused spoolss_StringArray2. | Günther Deschner | 2 | -68/+0 | |
Guenther | |||||
2009-12-10 | libndr: added a GUID_to_ndr_blob() helper function | Andrew Tridgell | 2 | -6/+15 | |
This can be used in many places that deal with GUIDs | |||||
2009-12-10 | librpc: split out a separate GUID_from_ndr_blob() function | Andrew Tridgell | 2 | -15/+21 | |
This will simplify many of the places that deal with NDR formatted GUIDs | |||||
2009-12-07 | spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx. | Günther Deschner | 2 | -0/+150 | |
Guenther | |||||
2009-12-03 | spoolss: hand-marshall the spoolss_StringArray2 struct for ↵ | Günther Deschner | 2 | -3/+61 | |
spoolss_EnumPrinterKey. This call is just driving me nuts :-) Guenther | |||||
2009-12-02 | spoolss: add spoolss_StringArray2. | Günther Deschner | 2 | -0/+10 | |
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string array is put into a subcontext of _ndr_size. Guenther | |||||
2009-12-01 | drsuapi: fix build warning of NDR size calculation of ↵ | Günther Deschner | 2 | -0/+8 | |
drsuapi_DsReplicaObjectIdentifier3Binary. The generated size actually does not include the size of the binary itself. Guenther | |||||
2009-11-20 | librpc/ndr: remember the highest offset we parsed with relative pointer buffers | Stefan Metzmacher | 2 | -6/+22 | |
ndr_*_pull_blob_all() will now work if relative pointers are used. metze | |||||
2009-11-12 | lib/util Split data_blob_hex_string() into upper and lower | Andrew Bartlett | 2 | -2/+2 | |
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett | |||||
2009-11-01 | uuid.c: Remove some dead code | Volker Lendecke | 1 | -1/+0 | |
2009-10-28 | Add in Metze's new code to ndr encode the user.DOSATTRIB | Stefan (metze) Metzmacher | 2 | -0/+185 | |
blobs. Next I'll change the create timestamp and dos attribute code to use this. | |||||
2009-10-16 | s4/drs(NDR): Print implementation for drsuapi_DsReplicaOID | Kamen Mazdrashki | 1 | -0/+19 | |
Custom ndr_print functions is implemented so that transmited partia-binary-oid to be printed both in hex and partial-oid formats | |||||
2009-10-16 | s4/drs(NDR): Remove push/pull code for drsuapi_DsReplicaOID struct | Kamen Mazdrashki | 2 | -100/+0 | |
New structure definition is automarshaled so custom marshaling code is not used anymore | |||||
2009-10-07 | pidl: get the alignment right for uint1632 enums (NDR64) | Andrew Tridgell | 2 | -15/+66 | |
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right. | |||||
2009-10-05 | libndr: add int3264 ndr prototype. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-10-03 | pidl: added int3264 as a base type | Andrew Tridgell | 1 | -0/+10 | |
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64 | |||||
2009-10-02 | ndr64: added support for trailing gap alignment | Andrew Tridgell | 2 | -0/+20 | |
NDR64 has a 'trailing gap' alignment, which aligns the end of a structure on the overall structure alignment. This explains the discrepancy we had with the RPC-SAMR test and NDR64 | |||||
2009-09-29 | pidl: added union padding for NDR64 | Andrew Tridgell | 2 | -0/+20 | |
This fixes the problem with samr UserInfo16 when NDR64 is enabled | |||||
2009-09-17 | ndr: num_auths is an array size, thus a uint3264 | Andrew Tridgell | 1 | -2/+2 | |
2009-09-17 | ndr: split out ndr enum functions | Andrew Tridgell | 3 | -4/+78 | |
This allows for easier implementation of the NDR32/NDR64 split | |||||
2009-09-17 | ndr: added support for NDR64 | Andrew Tridgell | 3 | -18/+54 | |
This adds NDR64 support for the push functions in libndr | |||||
2009-09-17 | Remove ununsed variable warning. | Jeremy Allison | 1 | -1/+0 | |
Jeremy. | |||||
2009-09-16 | ndr: added --ndr64 flag to ndrdump | Andrew Tridgell | 3 | -5/+28 | |
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit. | |||||
2009-09-16 | s3-schannel: add dump_NL_AUTH_SIGNATURE. | Günther Deschner | 2 | -1/+38 | |
Guenther | |||||
2009-09-15 | ntlmssp: pretty print a VERSION structure. | Günther Deschner | 2 | -0/+19 | |
Guenther | |||||
2009-09-12 | s4-ndr: fixed memory leaks in ndr_pull_*_blob() | Andrew Tridgell | 2 | -9/+26 | |
We needed to free the ndr structures, both on error and normal return | |||||
2009-09-11 | schannel: more work on reponse NL_AUTH_MESSAGES. | Günther Deschner | 2 | -0/+17 | |
Guenther | |||||
2009-09-09 | ntlmssp: avoid duplicate inclusion of helper headers. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2009-09-08 | schannel: add missing prototype for ndr_print_nbt_string() in schannel helper. | Günther Deschner | 1 | -0/+1 | |
Hopefully fixes samba4 build. Guenther | |||||
2009-09-08 | schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs. | Günther Deschner | 2 | -0/+77 | |
These actually belong netlogon but we for now want to keep netlogon as a security providor separate. Guenther | |||||
2009-09-03 | fix the ndr print routines for samba4 | Andrew Tridgell | 1 | -0/+15 | |
This uses a hackish #if just for samba4. The proper fix is much more complex. | |||||
2009-09-03 | Fix for DSSYNC test against Windows 2003 | Anatoliy Atanasov | 1 | -0/+1 | |
2009-08-28 | ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function. | Günther Deschner | 2 | -0/+64 | |
Guenther | |||||
2009-08-28 | ntlmssp: add CHALLENGE_MESSAGE to IDL. | Günther Deschner | 2 | -1/+62 | |
Guenther | |||||
2009-08-28 | ntlmssp: add string helper functions to handle OEM and UNICODE charset. | Günther Deschner | 2 | -0/+30 | |
Guenther | |||||
2009-08-28 | ntlmssp: add ntlmssp helper skeleton. | Günther Deschner | 2 | -0/+43 | |
Guenther | |||||
2009-08-24 | libndr: add missing protoypes for double type. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-12 | when we get an NDR error in the logs, it is useful to know where it happened | Andrew Tridgell | 1 | -1/+1 | |
2009-07-31 | librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-07-22 | librpc: fix the merged build of ndr_frsrpc.c | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-07-21 | frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic | Stefan Metzmacher | 2 | -0/+129 | |
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure and use hand modified ndr_push/pull functions to let it not appear on the wire. metze | |||||
2009-06-12 | Revert "avoid crashes in ndr_print_*() calls" | Andrew Tridgell | 1 | -5/+0 | |
This reverts commit f5a47dc4bf2793ab328c8b0e35adace497819e7d. This change broke Samba3. We'll need to do it the long way. | |||||
2009-06-12 | avoid crashes in ndr_print_*() calls | Andrew Tridgell | 1 | -0/+5 | |
This is a hackish fix, but it will do for now | |||||
2009-06-02 | Add support for double type in pidl. | Brad Hards | 1 | -1/+30 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> |