Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-30 | Fix convert_string() to take a *converted_size arg. and return a bool. | Jeremy Allison | 1 | -6/+6 | |
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | This doesn't look like it has anything to do with character set conversion, ↵ | Jeremy Allison | 1 | -7/+10 | |
but it does :-). Turns out one of the *really* significant differences between convert_string() in source4 and source3, is that the one in source3 will return 0 for byte length converted when called with dest_len = 0 whereas the one in source4 returns (size_t)-1 and sets errno to E2BIG. Allow the ndr_string code to cope with the (arguably correct) way that the source4 implementation works. This code only gets excercised in the print spooler tests, which aren't run in source4, which is why this bug has lasted for so long. You don't want to know how long it took me to find this :-). Jeremy. | |||||
2011-03-29 | Ensure convert_string_XXX is always called with a valid converted_size pointer. | Jeremy Allison | 1 | -1/+2 | |
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104 | |||||
2011-03-27 | librpc: Add some error checking to dcerpc_floor_pack_rhs_if_version_data | Volker Lendecke | 1 | -1/+5 | |
2011-03-27 | librpc: Fix Coverity ID 2198: NULL_RETURNS | Volker Lendecke | 1 | -3/+14 | |
2011-03-24 | librpc: Return an error if we a broken floor. | Andreas Schneider | 1 | -4/+9 | |
Pair-Programmed-With: Simo Sorce <idra@samba.org> | |||||
2011-03-24 | cleanup: fix some trailing spaces | Simo Sorce | 1 | -4/+4 | |
2011-03-24 | librpc: Added a dcerpc_binding_dup() function. | Andreas Schneider | 2 | -0/+82 | |
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 2 | -11/+11 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-03-23 | librpc: bring more librpc prototypes in common. | Günther Deschner | 1 | -0/+12 | |
Guenther | |||||
2011-03-23 | ndrdump - make "in_pipes" and "out_pipes" const | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
In order to suppress a build warning. | |||||
2011-03-21 | idmap.idl: Fix whitespace | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 21 13:36:48 CET 2011 on sn-devel-104 | |||||
2011-03-18 | rap: add rap_NetSessionGetInfo to IDL. | Günther Deschner | 1 | -0/+11 | |
Guenther | |||||
2011-03-18 | rap: add rap_NetUserDelete IDL. | Günther Deschner | 1 | -0/+7 | |
Guenther | |||||
2011-03-18 | rap: add rap_NetUserAdd IDL. | Günther Deschner | 1 | -0/+11 | |
Guenther | |||||
2011-03-16 | idl: define printcap IPC message format | David Disseldorp | 3 | -1/+24 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-03-15 | rpc: make ndr/ndr_svcctl.h public | Andrew Tridgell | 1 | -2/+2 | |
this is used by public header gen_ndr/ndr_svcctl.h | |||||
2011-03-13 | librpc/rpc: move DCERPC_ flags to rpc_common.h | Stefan Metzmacher | 1 | -0/+54 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104 | |||||
2011-03-13 | librpc/rpc: add dcerpc_binding_handle_raw_call() | Stefan Metzmacher | 2 | -0/+70 | |
metze | |||||
2011-03-13 | librpc/rpc: move struct dcerpc_binding to rpc_common.h | Stefan Metzmacher | 1 | -0/+14 | |
metze | |||||
2011-03-13 | librpc/rpc: move enum dcerpc_transport_t to rpc_common.h | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-03-11 | librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h | Stefan Metzmacher | 1 | -2/+101 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104 | |||||
2011-03-10 | frstrans.idl: add idl for RawGetFileDataAsync() and RdcGetFileDataAsync() | Stefan Metzmacher | 1 | -2/+10 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 15:18:22 CET 2011 on sn-devel-104 | |||||
2011-03-10 | librpc/tools/ndrdump: add support for dcerpc 'pipe' elements in functions | Stefan Metzmacher | 1 | -5/+73 | |
metze | |||||
2011-03-10 | librpc/ndr: add ndr_push_pipe_chunk_trailer() and ndr_check_pipe_chunk_trailer() | Stefan Metzmacher | 2 | -0/+36 | |
metze | |||||
2011-03-10 | librpc/ndr: add ndr_interface_call_pipe | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2011-03-09 | librpc/ndr use hyper for uid_t/gid_t rather than udlong | Andrew Bartlett | 1 | -4/+4 | |
This has 8 byte alignment, which is what was specified in pidl for these types. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 9 09:03:09 CET 2011 on sn-devel-104 | |||||
2011-03-08 | s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind. | Andreas Schneider | 1 | -1/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-02 | librpc/idl: remove unused string defines from idl_types.h | Stefan Metzmacher | 1 | -23/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 2 14:09:44 CET 2011 on sn-devel-104 | |||||
2011-03-02 | librpc/rpc: let ndr_pull_spoolss_EnumPrinterDataEx() use a subcontext | Stefan Metzmacher | 1 | -1/+4 | |
This is not strictly needed, but it's good to have the logic in common with the other Enum* calls. This also allows us to play with the NDR_RELATIVE_REVERSE flag. metze | |||||
2011-03-02 | rap: add rap_NetSessionEnum to IDL. | Günther Deschner | 1 | -0/+30 | |
Guenther | |||||
2011-03-01 | librpc/ndr: handle NOALIGN flag for relative pointers and alignment DATA_BLOBs | Stefan Metzmacher | 2 | -5/+14 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 1 17:11:03 CET 2011 on sn-devel-104 | |||||
2011-03-01 | librpc/idl Add helper structures for use by samba3 in auth_session_info | Andrew Bartlett | 2 | -0/+23 | |
The unix info and in particular unix token needs to be preserved into the struct auth_session_info. Andrew Bartlett | |||||
2011-03-01 | pidl Add support for uid_t and gid_t types | Andrew Bartlett | 2 | -0/+62 | |
These are mapped to uint64_t, which should be big enough. This is proposed to be used for internal Samba representations, where it would be more painful to convert all the callers to an uint64_t calling convention. Andrew Bartlett | |||||
2011-03-01 | spoolss.idl: align spoolss_DriverFileInfo relative pointer to 4 byte | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 1 02:12:37 CET 2011 on sn-devel-104 | |||||
2011-02-28 | spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the type | Stefan Metzmacher | 3 | -1/+34 | |
metze | |||||
2011-02-28 | TODO test/review librpc/ndr: remove align2 hack for relative pointers | Stefan Metzmacher | 1 | -5/+1 | |
metze | |||||
2011-02-28 | TODO test/review librpc: align nstring and nstring_array to 2 byte | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-02-28 | librpc/ndr: ndr align relative pointers based on the given flags | Stefan Metzmacher | 1 | -0/+26 | |
We used to do this only for the reverse relative pointers and now we always do it. metze | |||||
2011-02-28 | TODO test/review librpc/ndr: let ndr_push/pull_DATA_BLOB() look at ↵ | Stefan Metzmacher | 1 | -4/+5 | |
LIBNDR_FLAG_REMAINING before LIBNDR_ALIGN_FLAGS metze | |||||
2011-02-24 | build: moved librpc/rpc/*.c into a rpccommon library | Andrew Tridgell | 6 | -0/+111 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104 | |||||
2011-02-22 | s4:build: add RPC_NDR_ATSVC subsystem | Stefan Metzmacher | 1 | -2/+12 | |
metze | |||||
2011-02-18 | librpc make ndr-standard a common library | Andrew Bartlett | 1 | -0/+11 | |
2011-02-18 | librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files | Andrew Bartlett | 1 | -0/+14 | |
There isn't any reson to keep these private to source3 and source4 and more, and doing so creates problems for the top level build. Andrew Bartlett | |||||
2011-02-17 | idl: naming a structure 'VERSION' is not a good idea! | Andrew Tridgell | 2 | -3/+3 | |
this renames it to ntlmssp_VERSION Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-02-17 | libndr: remove prototype for nonexisting function ndr_print_ipv4_addr(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-02-14 | librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so). | Günther Deschner | 2 | -5/+18 | |
Simo, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104 | |||||
2011-02-13 | librpc: add bindings for dnsp in python | Matthieu Patou | 2 | -1/+11 | |
2011-02-11 | s4-build: fixed export of krb5pac.h, needed by other public headers | Andrew Tridgell | 1 | -3/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Feb 11 01:45:55 CET 2011 on sn-devel-104 | |||||
2011-02-10 | librpc: move preg.idl to main directory. | Günther Deschner | 5 | -1/+147 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104 |