summaryrefslogtreecommitdiffstats
path: root/librpc
Commit message (Collapse)AuthorAgeFilesLines
* idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell2010-01-186-126/+25
| | | | | | | The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
* s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell2010-01-163-35/+35
|
* s4-idl: get rid of the operation specific DRS options flagsAndrew Tridgell2010-01-144-351/+46
| | | | | It was confusing to have several sets of incomplete options when WSPP uses a single set.
* s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docsAndrew Tridgell2010-01-141-2/+10
|
* s4-idl: give a enum for attribute cn and a 'NONE' attributeAndrew Tridgell2010-01-093-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.
* s4-idl: regenerate DRS IDLAndrew Tridgell2010-01-082-0/+9
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-idl: added some more wellknown attributeIDsAndrew Tridgell2010-01-081-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* librpc: fixed the GUID_compare() functionAndrew Tridgell2009-12-211-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.
* spoolss: more mork on SetPrinterInfo() levels.Günther Deschner2009-12-174-82/+102
| | | | Guenther
* spoolss: add spoolss_DriverInfo7.Günther Deschner2009-12-164-0/+245
| | | | Guenther
* s3: Allow up to 20480 entries in LookupSids, as mandated by the official IDLVolker Lendecke2009-12-143-6/+6
| | | | Seen in the wild by putting >1000 users into BUILTIN\Users
* librpc/ndr: avoid comparison_fn_t to fix the openchange build on solarisBrian Lu2009-12-141-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl: introduce new file: dfsblobs.idlMatthieu Patou2009-12-141-0/+116
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc/ndr: add missing prototypes for relative_short functionsStefan Metzmacher2009-12-141-0/+3
| | | | metze
* spoolss: fix spoolss_PrinterData size calculation.Günther Deschner2009-12-146-8/+11
| | | | | | | Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL) string for a separator file was returned. Guenther
* spoolss: trivial fix for spoolss_FormInfo2 IDL.Günther Deschner2009-12-143-5/+10
| | | | Guenther
* librpc/ndr: add support for relative_short pointersMatthieu Patou2009-12-122-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>
* spoolss: remove unused spoolss_StringArray2.Günther Deschner2009-12-106-90/+0
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-12-106-10/+164
| | | | Guenther
* spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.Günther Deschner2009-12-101-1/+2
| | | | Guenther
* spoolss: add spoolss_KeyNames union.Günther Deschner2009-12-101-0/+6
| | | | Guenther
* libndr: added a GUID_to_ndr_blob() helper functionAndrew Tridgell2009-12-102-6/+15
| | | | This can be used in many places that deal with GUIDs
* librpc: split out a separate GUID_from_ndr_blob() functionAndrew Tridgell2009-12-102-15/+21
| | | | | This will simplify many of the places that deal with NDR formatted GUIDs
* spoolss: add more spoolss architectures to IDL.Günther Deschner2009-12-082-2/+10
| | | | Guenther
* spoolss: fix spoolss_DriverInfo8 IDL.Günther Deschner2009-12-083-55/+55
| | | | | | found by RPC-SPOOLSS torture teset. Guenther
* spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.Günther Deschner2009-12-079-71/+366
| | | | Guenther
* spoolss: hand-marshall the spoolss_StringArray2 struct for ↵Günther Deschner2009-12-035-51/+63
| | | | | | | | spoolss_EnumPrinterKey. This call is just driving me nuts :-) Guenther
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-026-41/+20
| | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
* spoolss: add spoolss_StringArray2.Günther Deschner2009-12-026-0/+78
| | | | | | | The difference to spoolss_StringArray is that in spoolss_StringArray2 the string array is put into a subcontext of _ndr_size. Guenther
* s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner2009-12-023-6/+9
| | | | Guenther
* drsuapi: fix build warning of NDR size calculation of ↵Günther Deschner2009-12-016-12/+14
| | | | | | | | drsuapi_DsReplicaObjectIdentifier3Binary. The generated size actually does not include the size of the binary itself. Guenther
* security.idl - Add some more wellknown SIDs/RIDsMatthias Dieter Wallnöfer2009-11-272-14/+20
|
* misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.Günther Deschner2009-11-273-145/+218
| | | | Guenther
* pidl: fix handling of output arguments in s3 client stubs.Günther Deschner2009-11-271-4/+4
| | | | | | a20e095 used (uint8_t) instead of (uint8_t *). Guenther
* librpc: rerun "make idl"Stefan Metzmacher2009-11-269-66/+66
| | | | metze
* s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner2009-11-232-0/+130
| | | | | | belong. Guenther
* spoolss: fix spoolss_EnumPrinterKey IDL.Günther Deschner2009-11-236-60/+40
| | | | Guenther
* librpc: rerun "make idl"Stefan Metzmacher2009-11-206-0/+507
| | | | metze
* librpc/ndr: remember the highest offset we parsed with relative pointer buffersStefan Metzmacher2009-11-202-6/+22
| | | | | | ndr_*_pull_blob_all() will now work if relative pointers are used. metze
* Fixed incorrect SID for RAS Servers.Nadezhda Ivanova2009-11-172-0/+2
|
* librpc: rerun "make idl"Stefan Metzmacher2009-11-174-9/+9
| | | | metze
* netlogon.idl: fix ndr_pull_netr_DatabaseRedo()Stefan Metzmacher2009-11-171-2/+9
| | | | | | | We can't use subcontext_size() here, as change_log_entry_size is encoded after the subcontext. metze
* lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2009-11-123-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
* Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"Volker Lendecke2009-11-0846-1312/+1312
| | | | This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
* Revert "s3: Do not reference the ndr_tables in the server calls directly"Volker Lendecke2009-11-0815-616/+616
| | | | This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
* Revert "s3: Do not reference ndr_table when calling rpc_srv_register"Volker Lendecke2009-11-0815-15/+15
| | | | This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
* s3: Do not reference ndr_table when calling rpc_srv_registerVolker Lendecke2009-11-0815-15/+15
|
* s3: Do not reference the ndr_tables in the server calls directlyVolker Lendecke2009-11-0815-616/+616
| | | | This involves storing the interface table in the pipes_struct
* s3: Do not reference ndr_table_<pipe> in the cli_ routines directlyVolker Lendecke2009-11-0846-1312/+1312
|
* s3: Do the printing for DEBUGLEVEL>=10 centrallyVolker Lendecke2009-11-0716-10256/+0
| | | | | | 12 insertions(+), 10651 deletions(-) I think that says it all :-)