Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-26 | libutil: moved the networking defines to util_net.h | Andrew Tridgell | 1 | -0/+1 | |
These were causing thousands of warnings on solaris8 | |||||
2010-03-24 | s4/drs: Pretty print for drsuapi_SecBufferType | Kamen Mazdrashki | 1 | -0/+23 | |
It is a type and mask combined in one DRS field so we have to make a custom ndr_print implementation for this type | |||||
2010-03-24 | s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1 | Kamen Mazdrashki | 1 | -0/+11 | |
2010-03-18 | charset: fixed a problem with the global use of the iconv_convenience structure | Andrew Tridgell | 1 | -2/+4 | |
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values. | |||||
2010-03-05 | spoolss: rollback GetPrinterData[Ex] IDL. | Günther Deschner | 2 | -209/+0 | |
Guenther | |||||
2010-03-05 | spoolss: rollback SetPrinterData{Ex} IDL. | Günther Deschner | 2 | -84/+0 | |
Guenther | |||||
2010-02-20 | librpc/ndr Remove unused macros | Andrew Bartlett | 1 | -16/+0 | |
Since the change to the way we pull these OIDs from the wire, these macros are unused. Andrew Bartlett | |||||
2010-02-19 | librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end() | Stefan Metzmacher | 1 | -2/+8 | |
metze | |||||
2010-02-18 | spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵ | Günther Deschner | 1 | -0/+237 | |
devmode relative pointer down to sd). Guenther | |||||
2010-02-18 | spoolss: add spoolss_security_descriptor. | Günther Deschner | 2 | -0/+59 | |
Guenther | |||||
2010-02-18 | ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_* | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-02-18 | spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro. | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2010-02-18 | libndr: fix ndr_size_* calculation with relative reverse buffers | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2010-02-18 | libndr: for now align reverse relative pointers to 2 bytes by default. | Stefan Metzmacher | 1 | -0/+3 | |
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze | |||||
2010-02-18 | libndr: implement LIBNDR_RELATIVE_REVERSE handling | Stefan Metzmacher | 2 | -3/+87 | |
This is based on Guenther's initial code. metze | |||||
2010-02-18 | libndr: store a subcontext buffer size in ndr_push_subcontext_start. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2010-02-18 | libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵ | Stefan Metzmacher | 1 | -1/+6 | |
with the RELATIVE_REVERSE flag metze | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing | Günther Deschner | 2 | -0/+6 | |
can be disabled for single structure elements. Guenther | |||||
2010-02-18 | libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-02-18 | libndr: change subcontext buffer allocation to allocate on subcontext_start. | Günther Deschner | 1 | -3/+7 | |
Guenther | |||||
2010-02-18 | librpc/ndr: make ndr_push_relative_ptr2() static | Stefan Metzmacher | 2 | -2/+1 | |
metze | |||||
2010-02-18 | librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-02-18 | librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end() | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2010-02-18 | spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101. | Günther Deschner | 1 | -10/+20 | |
Guenther | |||||
2010-02-18 | libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end. | Günther Deschner | 2 | -0/+26 | |
Guenther | |||||
2010-02-12 | spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ↵ | Günther Deschner | 1 | -0/+1 | |
ndr64 changes. Guenther | |||||
2010-02-12 | spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles ↵ | Günther Deschner | 1 | -0/+30 | |
relative_highest_offset. Guenther | |||||
2010-02-12 | spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ↵ | Günther Deschner | 1 | -1/+2 | |
ndr64 changes. Guenther | |||||
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 |