summaryrefslogtreecommitdiff
path: root/librpc
AgeCommit message (Collapse)AuthorFilesLines
2010-01-16s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell3-35/+35
2010-01-14s4-idl: get rid of the operation specific DRS options flagsAndrew Tridgell4-351/+46
It was confusing to have several sets of incomplete options when WSPP uses a single set.
2010-01-14s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docsAndrew Tridgell1-2/+10
2010-01-09s4-idl: give a enum for attribute cn and a 'NONE' attributeAndrew Tridgell3-2/+10
The 'NONE' attribute has value 0xFFFFFFFF. Adding this ensures the compiler will complain if it is set to use 16 bit enums. We rely on being able to store 32 bits in an attid enum.
2010-01-08s4-idl: regenerate DRS IDLAndrew Tridgell2-0/+9
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-idl: added some more wellknown attributeIDsAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-12-21librpc: fixed the GUID_compare() functionAndrew Tridgell1-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-17spoolss: more mork on SetPrinterInfo() levels.Günther Deschner4-82/+102
Guenther
2009-12-16spoolss: add spoolss_DriverInfo7.Günther Deschner4-0/+245
Guenther
2009-12-14s3: Allow up to 20480 entries in LookupSids, as mandated by the official IDLVolker Lendecke3-6/+6
Seen in the wild by putting >1000 users into BUILTIN\Users
2009-12-14librpc/ndr: avoid comparison_fn_t to fix the openchange build on solarisBrian Lu1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14idl: introduce new file: dfsblobs.idlMatthieu Patou1-0/+116
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14librpc/ndr: add missing prototypes for relative_short functionsStefan Metzmacher1-0/+3
metze
2009-12-14spoolss: fix spoolss_PrinterData size calculation.Günther Deschner6-8/+11
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL) string for a separator file was returned. Guenther
2009-12-14spoolss: trivial fix for spoolss_FormInfo2 IDL.Günther Deschner3-5/+10
Guenther
2009-12-12librpc/ndr: add support for relative_short pointersMatthieu Patou2-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-10spoolss: remove unused spoolss_StringArray2.Günther Deschner6-90/+0
Guenther
2009-12-10s3: re-run make samba3-idl.Günther Deschner6-10/+164
Guenther
2009-12-10spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.Günther Deschner1-1/+2
Guenther
2009-12-10spoolss: add spoolss_KeyNames union.Günther Deschner1-0/+6
Guenther
2009-12-10libndr: added a GUID_to_ndr_blob() helper functionAndrew Tridgell2-6/+15
This can be used in many places that deal with GUIDs
2009-12-10librpc: split out a separate GUID_from_ndr_blob() functionAndrew Tridgell2-15/+21
This will simplify many of the places that deal with NDR formatted GUIDs
2009-12-08spoolss: add more spoolss architectures to IDL.Günther Deschner2-2/+10
Guenther
2009-12-08spoolss: fix spoolss_DriverInfo8 IDL.Günther Deschner3-55/+55
found by RPC-SPOOLSS torture teset. Guenther
2009-12-07spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.Günther Deschner9-71/+366
Guenther
2009-12-03spoolss: hand-marshall the spoolss_StringArray2 struct for ↵Günther Deschner5-51/+63
spoolss_EnumPrinterKey. This call is just driving me nuts :-) Guenther
2009-12-02samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner6-41/+20
This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
2009-12-02spoolss: add spoolss_StringArray2.Günther Deschner6-0/+78
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string array is put into a subcontext of _ndr_size. Guenther
2009-12-02s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner3-6/+9
Guenther
2009-12-01drsuapi: fix build warning of NDR size calculation of ↵Günther Deschner6-12/+14
drsuapi_DsReplicaObjectIdentifier3Binary. The generated size actually does not include the size of the binary itself. Guenther
2009-11-27security.idl - Add some more wellknown SIDs/RIDsMatthias Dieter Wallnöfer2-14/+20
2009-11-27misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.Günther Deschner3-145/+218
Guenther
2009-11-27pidl: fix handling of output arguments in s3 client stubs.Günther Deschner1-4/+4
a20e095 used (uint8_t) instead of (uint8_t *). Guenther
2009-11-26librpc: rerun "make idl"Stefan Metzmacher9-66/+66
metze
2009-11-23s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner2-0/+130
belong. Guenther
2009-11-23spoolss: fix spoolss_EnumPrinterKey IDL.Günther Deschner6-60/+40
Guenther
2009-11-20librpc: rerun "make idl"Stefan Metzmacher6-0/+507
metze
2009-11-20librpc/ndr: remember the highest offset we parsed with relative pointer buffersStefan Metzmacher2-6/+22
ndr_*_pull_blob_all() will now work if relative pointers are used. metze
2009-11-17Fixed incorrect SID for RAS Servers.Nadezhda Ivanova2-0/+2
2009-11-17librpc: rerun "make idl"Stefan Metzmacher4-9/+9
metze
2009-11-17netlogon.idl: fix ndr_pull_netr_DatabaseRedo()Stefan Metzmacher1-2/+9
We can't use subcontext_size() here, as change_log_entry_size is encoded after the subcontext. metze
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett3-3/+3
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-08Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"Volker Lendecke46-1312/+1312
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
2009-11-08Revert "s3: Do not reference the ndr_tables in the server calls directly"Volker Lendecke15-616/+616
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
2009-11-08Revert "s3: Do not reference ndr_table when calling rpc_srv_register"Volker Lendecke15-15/+15
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
2009-11-08s3: Do not reference ndr_table when calling rpc_srv_registerVolker Lendecke15-15/+15
2009-11-08s3: Do not reference the ndr_tables in the server calls directlyVolker Lendecke15-616/+616
This involves storing the interface table in the pipes_struct
2009-11-08s3: Do not reference ndr_table_<pipe> in the cli_ routines directlyVolker Lendecke46-1312/+1312
2009-11-07s3: Do the printing for DEBUGLEVEL>=10 centrallyVolker Lendecke16-10256/+0
12 insertions(+), 10651 deletions(-) I think that says it all :-)
2009-11-03security: re-run make samba3-idl after IDL change.Günther Deschner2-25/+0
Guenther