summaryrefslogtreecommitdiffstats
path: root/librpc
Commit message (Collapse)AuthorAgeFilesLines
* rerun: make samba3-idlStefan Metzmacher2011-01-133-7/+34
| | | | | metze (cherry picked from commit 9b9b46252ecf426467205908cb7ba487b7774b5b)
* librpc: split out a separate GUID_from_ndr_blob() functionAndrew Tridgell2011-01-132-15/+21
| | | | | | | | | | | This will simplify many of the places that deal with NDR formatted GUIDs (cherry picked from commit effff544265c63c95cf630d426b630bfe4d25aec) This patch is part of a fix for bug #7538 (Backport fixes for GUID_from_data_blob). (cherry picked from commit e8ed2b596627e8704e3384d5997020059b47144a) (cherry picked from commit 82d609cefbb6177738fd78ca017d4196b80a0718)
* s3-librpc: Fixed GUID_from_data_blob() with length of 32.Andreas Schneider2011-01-131-4/+5
| | | | | | | | | | If we hit the case that the blob length is 32. The code goes to the end of the function and generates a GUID with garbage. So try to convert the blob to the GUID and return. Fix bug #7538 (Backport fixes for GUID_from_data_blob). (cherry picked from commit 3c4353d2aa15db278bb87c949cce2deb3a5072ca) (cherry picked from commit 10e34cff5588b0d6434a093b3ecf90e6ccc1796a)
* spoolss: more mork on SetPrinterInfo() levels.Günther Deschner2010-05-064-82/+98
| | | | | | Guenther (cherry picked from commit be95cb6f8357334af08d1502910a429328b85bc5) (cherry picked from commit f9da274b53197968417843340d586931728cf3a9)
* s3: re-run make samba3-idl.Günther Deschner2010-05-066-233/+132
| | | | | | | Guenther The last 16 patches address bug #6727 (Printer issues on 3.4.x). (cherry picked from commit 7586069115f9b385bba40c7c022a5b516463736f)
* spoolss: fix spoolss_EnumPrinterDataEx IDL.Günther Deschner2010-05-061-2/+2
| | | | | | Guenther (cherry picked from commit 4df1047e8398a9af4df94c7e245d993d1f60ef5f) (cherry picked from commit a947b5f827884c18f0f4535f7be7e7cd5b42ee9c)
* spoolss: rollback GetPrinterData{Ex} IDL.Günther Deschner2010-05-063-117/+3
| | | | | Guenther (cherry picked from commit 45195a2689f59be434037274f616083fd8930ffa)
* spoolss: rollback SetPrinterData{Ex} IDL.Günther Deschner2010-05-063-58/+6
| | | | | Guenther (cherry picked from commit 8c00f95c8d86f2c3c73ce84d3cc0f038d8e0ceb2)
* librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher2010-02-221-2/+8
| | | | | | | | | metze (cherry picked from commit 76aa37f653fec2d511921768381db7da661750cb) The last 25 patches address bug #6888 (REGRESSION: printing support for 64 bit windows clients broken). (cherry picked from commit 58b089f2176e564bf5563fbffa034cd22525ed6e)
* spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner2010-02-224-238/+238
| | | | | | | devmode relative pointer down to sd). Guenther (cherry picked from commit 31a097560efddfabf31c4cc54e683603ee24521f)
* spoolss: add spoolss_security_descriptor.Günther Deschner2010-02-225-52/+114
| | | | | Guenther (cherry picked from commit 18564787e2f169cac26d361201c1a954b7e263b7)
* s3: re-run make samba3-idl.Günther Deschner2010-02-225-1204/+1568
| | | | | Guenther (cherry picked from commit d35eb81c50340ed2ac14cdb9965fd13876ea8e64)
* security: make two bitmaps public.Günther Deschner2010-02-221-2/+2
| | | | | | Guenther (cherry picked from commit f10a2d773d141f67319e19b45c40101bb9cb6cf4) (cherry picked from commit b9748d59c09ffe9de7cbb953939cf89017dc8087)
* spoolss: make two bitmaps public.Günther Deschner2010-02-221-2/+2
| | | | | Guenther (cherry picked from commit b64cd9857086f56e1e698ae34e51413b6414eb0b)
* spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵Stefan Metzmacher2010-02-221-8/+8
| | | | | | | | add missing subcontexts. Guenther (cherry picked from commit 8f52957369bf8ce7591d5d9a1436ccb7e384c612) (cherry picked from commit a4cb14987143c2c1f28e82e5b6476e079ea051d3)
* spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵Günther Deschner2010-02-221-10/+10
| | | | | | | | pointers. Guenther (cherry picked from commit 6d0a39741dacd81e33b25a91fa28cdf983d10d84) (cherry picked from commit 93aab77e24ecdd95ced8efe0c0f7bcdfb5ed2a1b)
* ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher2010-02-221-2/+2
| | | | | | metze (cherry picked from commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f) (cherry picked from commit 3174acb66089b649ec2b859c1ef673814c44ffa4)
* spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher2010-02-221-1/+4
| | | | | | metze (cherry picked from commit a4c3aeb79306190b09e284a6a28e3b40fbc5823b) (cherry picked from commit 4a8dda5b149a82b83d22dc7b0cf77573ef35580d)
* libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher2010-02-221-0/+6
| | | | | | metze (cherry picked from commit 8310f02414efd3b792857ed20c636c4c114e1ba2) (cherry picked from commit 56a6011221aec94b64ac4499b825ff96d1ed22b4)
* libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher2010-02-221-0/+3
| | | | | | | | | This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze (cherry picked from commit 4a76d29374769ba4c075b8d5767498848d2e17d6) (cherry picked from commit 00d97b0a06bd1c2d0cb6d15b5560f2850323c1a9)
* libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher2010-02-222-3/+87
| | | | | | | | This is based on Guenther's initial code. metze (cherry picked from commit 31c7780c16651b284009874cf3da04587dc36d19) (cherry picked from commit 33d03a884eefad8d8c43f3dbe457866282219965)
* libndr: store a subcontext buffer size in ndr_push_subcontext_start.Günther Deschner2010-02-222-0/+2
| | | | | | Guenther (cherry picked from commit 05347754ee61f06466d6d9b7f390001992f793ce) (cherry picked from commit 4efead4bea29aee555473e1350c3f5671b56c829)
* libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵Stefan Metzmacher2010-02-221-1/+6
| | | | | | | | with the RELATIVE_REVERSE flag metze (cherry picked from commit b5f9c44da55abb28222441a7e064a2a25891981f) (cherry picked from commit 2f8872bdff4f193043f5195f11ec6a8b44e0f8f1)
* libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse ↵Günther Deschner2010-02-223-0/+7
| | | | | | | | processing can be disabled for single structure elements. Guenther (cherry picked from commit a2c34296fa6ca2ffb69cb69698a9b5f81803e8a8) (cherry picked from commit a026311c81bc8d7f154dad96b77c6121432384a3)
* libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner2010-02-222-0/+4
| | | | | | Guenther (cherry picked from commit ee13a51b0514ec3ac4ca9c532c2b101a08ec9784) (cherry picked from commit d0eb23b3cd9dbdd174d2c0cdbcdb41fbf2a6df53)
* libndr: change subcontext buffer allocation to allocate on subcontext_start.Günther Deschner2010-02-221-3/+7
| | | | | | Guenther (cherry picked from commit c9fa97b01774d767acfabaf1eec7a6aad1510440) (cherry picked from commit d2bb2f150a8cf4e18c0bbbc357e237261942dccb)
* librpc/ndr: make ndr_push_relative_ptr2() staticStefan Metzmacher2010-02-222-2/+1
| | | | | metze (cherry picked from commit d4606cd2663823831d61a98ee719d6121cdcf450)
* librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher2010-02-221-1/+2
| | | | | | metze (cherry picked from commit e03591111a1b9c2f05c29a7afac4641f23f455f4) (cherry picked from commit 8abc4b5dc5e06e846f0966c74a75f22e27504287)
* librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher2010-02-221-2/+4
| | | | | | metze (cherry picked from commit b423bd2115e006f9af5d40cf5b651e03739d53a0) (cherry picked from commit c495dd164771cfc8358713c5b07ddd07642fd33c)
* spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101.Günther Deschner2010-02-221-10/+20
| | | | | | Guenther (cherry picked from commit bfd6edb3e9339d602eb6514ff50c3bb6c671174e) (cherry picked from commit 8232ada560194fc967cfcb4cb3d14e55e221c321)
* s3: re-run make full_idl.Günther Deschner2010-02-225-156/+312
| | | | | Guenther (cherry picked from commit 9be36f59cfd1d973feeb045da975aafc869abfbd)
* libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner2010-02-222-0/+26
| | | | | Guenther (cherry picked from commit f52de6e2293de4a7ba4726025dd936228b51b5b5)
* spoolss: remove unused spoolss_StringArray2.Günther Deschner2009-12-236-88/+0
| | | | | | | | Guenther The last 13 commits address bug #6883 (Add Printer fails with 0x000006f7 on Windows 7). (cherry picked from commit 874a4e34ff6222a4d387815f3ec896a24822f94e)
* s3: re-run make samba3-idl.Günther Deschner2009-12-236-8/+156
| | | | | Guenther (cherry picked from commit c5e9df56b3b588f2c7f6f0876204aaf9b9289ee4)
* spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.Günther Deschner2009-12-231-1/+2
| | | | | | Guenther (cherry picked from commit 0ecb7f6ab28d7b7c1844554289f5ae8e876b1dcf) (cherry picked from commit ab71e84ab446eb074a56f7d5d8e7ad69f02ed504)
* spoolss: add spoolss_KeyNames union.Günther Deschner2009-12-231-0/+6
| | | | | | Guenther (cherry picked from commit cf2561473f7bd0bcef5c562c1e901d4ad17e6ee3) (cherry picked from commit 969623c7963219ae3db3058349c257e00adc237b)
* spoolss: hand-marshall the spoolss_StringArray2 struct for ↵Günther Deschner2009-12-235-49/+61
| | | | | | | | | spoolss_EnumPrinterKey. This call is just driving me nuts :-) Guenther (cherry picked from commit fc4b43089e08578f99b99de8eff1eecebaa4ae01)
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-236-38/+17
| | | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther (cherry picked from commit 191167fce3cb07e286c3b1cedf4fb70126e6daf7)
* spoolss: add spoolss_StringArray2.Günther Deschner2009-12-236-0/+76
| | | | | | | | The difference to spoolss_StringArray is that in spoolss_StringArray2 the string array is put into a subcontext of _ndr_size. Guenther (cherry picked from commit a6bd5d61685f5582a72d24ac72c6e3753f232f90)
* spoolss: fix spoolss_EnumPrinterKey IDL.Günther Deschner2009-12-236-57/+37
| | | | | Guenther (cherry picked from commit 167a9ea770a38ffbe121da522bfdab79aa60413d)
* misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.Günther Deschner2009-12-233-143/+216
| | | | | Guenther (cherry picked from commit 09d1d639da808b94c25749423675925fbe3b3660)
* winreg: add winreg_Data union to IDL.Günther Deschner2009-12-238-87/+295
| | | | | Guenther (cherry picked from commit a15f3cb7c72eebecce48db83e045739f771ab4d7)
* s3: re-run make samba3-idl.Günther Deschner2009-12-239-31/+31
| | | | | | | Guenther Fix bug #6934. (cherry picked from commit b89d902b6ab0ab14c95cf7b7bbe37b3884fefea5)
* Added mapping table for account object in lsa.Jeremy Allison2009-05-262-0/+24
| | | | | Jeremy. (cherry picked from commit 1a219740537319c4369a10572c46949de566ce49)
* s3: re-run make samba3-idl.Günther Deschner2009-05-263-0/+106
| | | | | | Guenther (cherry picked from commit d7142fb1b56073ca0d078d0214f70c2c77186fce) (cherry picked from commit 3f9e43e026d904798998a3d94e7f2e9318fd4d85)
* lsa: add access_masks for accounts, secrets and trusted domains to IDL.Günther Deschner2009-05-261-1/+24
| | | | | | Guenther (cherry picked from commit 7c22eed419fe877c51c6c4d1fecea0e2e4aa0b1b) (cherry picked from commit 3821bd0dec854e4ded4f01f58a13a65068be5643)
* s3-spoolss: move SPL_ARCH_X defines to IDL.Günther Deschner2009-05-262-0/+16
| | | | | | Guenther (cherry picked from commit 7403dd39d608e07f107530819277738ebd20a320) (cherry picked from commit 37d0afc095e43d707ff3b86c9ebda22e8a10f77f)
* spoolss: add SPOOLSS_ARCHITECTURE_ALL to IDL.Günther Deschner2009-05-261-0/+2
| | | | | | Guenther (cherry picked from commit a4f558da79e5746124b79583ca608b394e635ad3) (cherry picked from commit 295035c7cf353a4e1ba5e6e8737ef78329acee8b)
* s3-build: re-run make samba3-idl.Günther Deschner2009-05-261-0/+92
| | | | | | Guenther (cherry picked from commit b716e57bef3b42c4be24b5d41c05dbc0665f5191) (cherry picked from commit 6c06db0bfb0a88c1a85f559bdda16156e1722cbc)
* initshutdown: add shutdown reason codes.Günther Deschner2009-05-261-0/+46
| | | | | | Guenther (cherry picked from commit c07f4a1299700cf6d530aee390972d3324ba0566) (cherry picked from commit ce9dcd96497aec1c66ce3df9bb4e83e3346b724a)