summaryrefslogtreecommitdiff
path: root/librpc
AgeCommit message (Collapse)AuthorFilesLines
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
2009-11-03Removed the default DACL from token, as we will not be using it.Nadezhda Ivanova1-1/+0
2009-11-01uuid.c: Remove some dead codeVolker Lendecke1-1/+0
2009-10-28Add in Metze's new code to ndr encode the user.DOSATTRIBStefan (metze) Metzmacher6-8/+523
blobs. Next I'll change the create timestamp and dos attribute code to use this.
2009-10-28lsa: add LSA_TRUSTED_DOMAIN access masks.Günther Deschner2-0/+33
Guenther
2009-10-28lsa: add LSA_SECRET access masks.Günther Deschner2-0/+23
Guenther
2009-10-22idl-drsblobs: mark some more reserved values as value(0)Andrew Tridgell3-40/+40
This prevents valgrind errors when we store these blobs in a database
2009-10-21librpc Make talloc tree in binding tower match the floorsAndrew Bartlett1-10/+14
This is mostly cosmetics, but helped me see that these are legitimate stuctures when viewed in the talloc tree. Also don't put the 'ndr' structure on the long-term tree. Andrew Bartlett
2009-10-16s4/drs(NDR): Print implementation for drsuapi_DsReplicaOIDKamen Mazdrashki1-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-16s4/drs(NDR): Remove push/pull code for drsuapi_DsReplicaOID structKamen Mazdrashki2-100/+0
New structure definition is automarshaled so custom marshaling code is not used anymore