summaryrefslogtreecommitdiff
path: root/librpc
AgeCommit message (Collapse)AuthorFilesLines
2010-02-14a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell3-0/+15
The last change broke net vampire against w2k8r2
2010-02-13s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell3-30/+0
Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
2010-02-12spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ↵Günther Deschner1-0/+1
ndr64 changes. Guenther
2010-02-12spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles ↵Günther Deschner1-0/+30
relative_highest_offset. Guenther
2010-02-12spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ↵Günther Deschner1-1/+2
ndr64 changes. Guenther
2010-02-11s3: re-run make samba3-idl.Günther Deschner2-0/+2
Guenther
2010-02-11s4-drs: Add DRSUAPI_DRS_NONGC_RO_REP bit to DRS_OPTIONSFernando J V da Silva1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-11s4/idl: regenerating drsuapi.idlKamen Mazdrashki2-4/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11s4/idl: Naming reserved flags for DRSUAPI_SUPPORTED_EXTENSION_ fieldKamen Mazdrashki1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-05s4/idl: Regenerate IDL for DRSUAPI interfaceKamen Mazdrashki2-6/+8
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN ext. flag for DRSUAPIKamen Mazdrashki1-1/+2
This flag corresponds to DRS_EXT_RECYCLE_BIN extended flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC has enabled the Recycle Binoptional feature.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_GETCHGREQ_V10 flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V10.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_GETCHGREQ_V5 flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V5.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_ADDENTRY flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports IDL_DRSAddEntry.
2010-02-01s4/idl: drsblobs IDL regenerationKamen Mazdrashki3-0/+120
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_EntryKamen Mazdrashki2-1/+26
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attributeKamen Mazdrashki1-0/+22
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29librpc: rerun 'make idl'Stefan Metzmacher1-0/+3
metze
2010-01-29security.idl: add wellknown TrustedInstaller SIDStefan Metzmacher1-0/+7
metze
2010-01-21s4: allow python code to dump NTACL object as wellMatthieu Patou1-0/+1
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell6-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.
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