summaryrefslogtreecommitdiffstats
path: root/librpc
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #8458 - IE9 on Windows 7 cannot download files to samba 3.5.11 shareJeremy Allison2011-10-083-0/+3
| | | | Handle the SECINFO_LABEL flag in the same way as Win2k3.
* rerun 'make samba3-idl'Stefan Metzmacher2011-03-0214-782/+782
| | | | | | | metze The last 10 patches address bug #7567 (printing from Windows 7 fails with 0x000003e6 (in AD w2k8r2 controlled domain)).
* librpc/ndr: handle NOALIGN flag for relative pointers and alignment DATA_BLOBsStefan Metzmacher2011-03-022-5/+14
| | | | | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 1 17:11:03 CET 2011 on sn-devel-104 (cherry picked from commit ef224aa004d5f1726d8dca020e0ef96d8c58565e) (cherry picked from commit 1ea17bacdb09d28a12a8b6ddeba3ac285cd9f905) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* spoolss.idl: align spoolss_DriverFileInfo relative pointer to 4 byteStefan Metzmacher2011-03-021-1/+1
| | | | | | | | metze (cherry picked from commit b6ece01c7922adeb3c9e718bc8cc610cae7c543c) (cherry picked from commit ba1a72cb153892e491af91a6bb61e1820135fa12) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the typeStefan Metzmacher2011-03-023-1/+34
| | | | | | | | metze (cherry picked from commit 341330600aebcec92fba64ea343888c15a0c3d44) (cherry picked from commit 757471a5fcd4f95da28402bae6c9ceccff7d6548) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc/ndr: remove align2 hack for relative pointersStefan Metzmacher2011-03-021-5/+1
| | | | | | | | metze (cherry picked from commit 23f6f449792d889538e0d0028bb8fbd5c807b0da) (cherry picked from commit 9313b5d1da24406dd7d26afb2488fee0cbea44a9) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc: align nstring and nstring_array to 2 byteStefan Metzmacher2011-03-021-2/+2
| | | | | | | | metze (cherry picked from commit 712ef2590d0ee59a4a659926cdf8aac6e968dfa8) (cherry picked from commit 0fb64a26b3b35b75f2f548d882bed41aa0386c6b) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc/ndr: ndr align relative pointers based on the given flagsStefan Metzmacher2011-03-021-0/+26
| | | | | | | | | | | We used to do this only for the reverse relative pointers and now we always do it. metze (cherry picked from commit 84b884eb4bec38b721d6c38704f12d1d2c601bcb) (cherry picked from commit 6648ce8990a97da739d4be69657e9ace6198068c) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc/ndr: let ndr_push/pull_DATA_BLOB() look at LIBNDR_FLAG_REMAINING ↵Stefan Metzmacher2011-03-021-4/+5
| | | | | | | | | | before LIBNDR_ALIGN_FLAGS metze (cherry picked from commit 6c3a49ced333988b21d86e47b2b1dd1a5957e15c) (cherry picked from commit 5f8b7f95e9ce5946f048b242dbbaa14897aea919) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* spoolss: pretty-print a struct spoolss_Time.Günther Deschner2011-03-025-17/+30
| | | | | | | Guenther (cherry picked from commit 440075247d11a7852d8567753f426fa67f41d875) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* spoolss: fix potential crash bug in spoolss_PrinterEnumValues push path.Günther Deschner2011-03-021-1/+1
| | | | | | | | Guenther (cherry picked from commit 45952b56797982d27731b20d97f5648c9414814a) (cherry picked from commit ad68e45b505331683a2510de20f113a7c20e68e1) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc/rpc: display DCERPC_FAULT_SEC_PKG_ERROR nicely in dcerpc_errstr()Stefan Metzmacher2011-02-051-0/+1
| | | | metze
* rerun 'make samba3-idl'Stefan Metzmacher2011-02-051-0/+1
| | | | metze
* dcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERRORStefan Metzmacher2011-02-051-0/+1
| | | | | | metze (cherry picked from commit 8d07deaeaacbd376f9824ac350c01510e05a76ca) (cherry picked from commit 85358c0534472fde71e304ddada678b61637ba40)
* rerun: make samba3-idlStefan Metzmacher2010-08-163-14/+77
| | | | metze
* librpc: split out a separate GUID_from_ndr_blob() functionAndrew Tridgell2010-07-082-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).
* s3-librpc: Fixed GUID_from_data_blob() with length of 32.Andreas Schneider2010-07-011-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).
* s3: re-run make samba3-idl.Günther Deschner2010-03-184-20/+20
| | | | Guenther
* winreg: fix winreg_QueryValue IDL.Günther Deschner2010-03-181-1/+1
| | | | | | | | | | | | | | | Note that before this change pidl generated code that just dereferenced size_is and length_is values from unique pointers without checking whether these pointers were actually NULL. With this change, pidl now throws a warning like: warning: Got pointer for `data_size', expected fully derefenced variable which is not correct, probably because pidl does not evaluate the C expression. Guenther (cherry picked from commit f258e98e177f0f75bab99654b9f32b10bb7ce37f)
* s3: re-run make samba3-idl.Günther Deschner2010-03-116-387/+166
| | | | Guenther
* spoolss: fix spoolss_EnumPrinterDataEx IDL.Günther Deschner2010-03-111-2/+2
| | | | | Guenther (cherry picked from commit 4df1047e8398a9af4df94c7e245d993d1f60ef5f)
* spoolss: rollback GetPrinterData[Ex] IDL.Günther Deschner2010-03-113-238/+4
| | | | | Guenther (cherry picked from commit 0e779b573bf5c27bf08ceefa09a7e2b07691f948)
* spoolss: rollback SetPrinterData{Ex} IDL.Günther Deschner2010-03-113-113/+6
| | | | | Guenther (cherry picked from commit 0528515be44c40603827bb153ff0e2bac7b0f041)
* librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher2010-02-191-2/+8
| | | | | | | | metze (cherry picked from commit 76aa37f653fec2d511921768381db7da661750cb) The last 24 patches address bug #6888 (REGRESSION: printing support for 64 bit windows clients broken).
* spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner2010-02-194-239/+239
| | | | | | | devmode relative pointer down to sd). Guenther (cherry picked from commit 0a8011aa98ccaa81dc6ba2d30672ef4856fc31d8)
* spoolss: add spoolss_security_descriptor.Günther Deschner2010-02-195-52/+115
| | | | | Guenther (cherry picked from commit 28817424935e5b6eaf465fe993dedc2b0a0cf177)
* s3: re-run make samba3-idl.Günther Deschner2010-02-195-1243/+1607
| | | | Guenther
* security: make two bitmaps public.Günther Deschner2010-02-191-2/+2
| | | | | Guenther (cherry picked from commit f10a2d773d141f67319e19b45c40101bb9cb6cf4)
* spoolss: make two bitmaps public.Günther Deschner2010-02-191-2/+2
| | | | | Guenther (cherry picked from commit 8c4ff98ea11ff06e20bea73596e9643d8194a890)
* spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵Stefan Metzmacher2010-02-191-8/+8
| | | | | | | add missing subcontexts. Guenther (cherry picked from commit 8f52957369bf8ce7591d5d9a1436ccb7e384c612)
* spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵Günther Deschner2010-02-191-10/+10
| | | | | | | pointers. Guenther (cherry picked from commit 6d0a39741dacd81e33b25a91fa28cdf983d10d84)
* ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher2010-02-191-2/+2
| | | | | metze (cherry picked from commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f)
* spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher2010-02-191-1/+4
| | | | | metze (cherry picked from commit a4c3aeb79306190b09e284a6a28e3b40fbc5823b)
* libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher2010-02-191-0/+6
| | | | | metze (cherry picked from commit 8310f02414efd3b792857ed20c636c4c114e1ba2)
* libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher2010-02-191-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)
* libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher2010-02-192-3/+87
| | | | | | | This is based on Guenther's initial code. metze (cherry picked from commit 31c7780c16651b284009874cf3da04587dc36d19)
* libndr: store a subcontext buffer size in ndr_push_subcontext_start.Günther Deschner2010-02-192-0/+2
| | | | | Guenther (cherry picked from commit 05347754ee61f06466d6d9b7f390001992f793ce)
* libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵Stefan Metzmacher2010-02-191-1/+6
| | | | | | | with the RELATIVE_REVERSE flag metze (cherry picked from commit b5f9c44da55abb28222441a7e064a2a25891981f)
* libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse ↵Günther Deschner2010-02-193-0/+7
| | | | | | | processing can be disabled for single structure elements. Guenther (cherry picked from commit a2c34296fa6ca2ffb69cb69698a9b5f81803e8a8)
* libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner2010-02-192-0/+4
| | | | | Guenther (cherry picked from commit ee13a51b0514ec3ac4ca9c532c2b101a08ec9784)
* libndr: change subcontext buffer allocation to allocate on subcontext_start.Günther Deschner2010-02-191-3/+7
| | | | | Guenther (cherry picked from commit c9fa97b01774d767acfabaf1eec7a6aad1510440)
* librpc/ndr: make ndr_push_relative_ptr2() staticStefan Metzmacher2010-02-192-2/+1
| | | | metze
* librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher2010-02-191-1/+2
| | | | | metze (cherry picked from commit e03591111a1b9c2f05c29a7afac4641f23f455f4)
* librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher2010-02-191-2/+4
| | | | | metze (cherry picked from commit b423bd2115e006f9af5d40cf5b651e03739d53a0)
* spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101.Günther Deschner2010-02-191-10/+20
| | | | | Guenther (cherry picked from commit bfd6edb3e9339d602eb6514ff50c3bb6c671174e)
* s3: re-run make full_idl.Günther Deschner2010-02-196-172/+344
| | | | | Guenther (cherry picked from commit c869328b1642043480f9600c88bcce9da37959b1)
* libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner2010-02-192-0/+26
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-12-181-9/+0
| | | | Guenther
* spoolss: more mork on SetPrinterInfo() levels.Günther Deschner2009-12-184-82/+102
| | | | | Guenther (cherry picked from commit be95cb6f8357334af08d1502910a429328b85bc5)
* spoolss: add spoolss_DriverInfo7.Günther Deschner2009-12-184-0/+245
| | | | | Guenther (cherry picked from commit 64e588f868c23bf4c836f4029a285885db5d087e)