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-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-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-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-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 | 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-02-28 | spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the type | Stefan Metzmacher | 2 | -0/+33 | |
metze | |||||
2011-02-28 | TODO test/review librpc/ndr: remove align2 hack for relative pointers | Stefan Metzmacher | 1 | -5/+1 | |
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-17 | idl: naming a structure 'VERSION' is not a good idea! | Andrew Tridgell | 1 | -1/+1 | |
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-10 | librpc: move preg.idl to main directory. | Günther Deschner | 2 | -0/+92 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104 | |||||
2011-02-08 | libndr: apply some const and make is_valid_policy_hnd a callback to ↵ | Günther Deschner | 2 | -5/+3 | |
policy_handle_empty. Guenther | |||||
2011-02-08 | libndr: share some uuid helpers. | Günther Deschner | 2 | -0/+20 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104 | |||||
2011-02-08 | ndr: merge ndr_map_error2string and ndr_errstr. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-08 | ndr: move null_ndr_syntax_id to the common libndr location. | Günther Deschner | 2 | -0/+6 | |
Guenther | |||||
2011-02-08 | ndr: merge duplicate ndr_map_error2ntstatus() functions. | Günther Deschner | 1 | -0/+25 | |
Guenther | |||||
2011-01-25 | libndr: move ndr_print_bool to ndr_basic.c | Günther Deschner | 2 | -0/+7 | |
Guenther | |||||
2011-01-12 | idl: Add IDL for remote key backup protocol (rkbp) | Matthieu Patou | 2 | -0/+217 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-01-01 | wmi: Remove unnecessary noprint statements. | Jelmer Vernooij | 2 | -11/+7 | |
2010-12-21 | dns: cope with trailing '.' in dns_name | Andrew Tridgell | 1 | -1/+7 | |
2010-12-21 | librpc/ndr/ndr_*.c - remove "const" from OIDs | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
2010-12-21 | dns: fixed the padding for dnsp_name fields in LDAP | Andrew Tridgell | 1 | -4/+18 | |
all names are NUL terminated, but may have additional padding as well Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Dec 21 03:26:26 CET 2010 on sn-devel-104 | |||||
2010-12-21 | dnsp: fixed parsing of dns_name structures | Andrew Tridgell | 1 | -3/+4 | |
its not a pad byte, its a trailing zero | |||||
2010-12-08 | ndr: Another try to support the build on non-IPv6 systems | Kai Blin | 1 | -2/+4 | |
Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 10:26:00 CET 2010 on sn-devel-104 | |||||
2010-11-26 | librpc: fix builds without IPv6 suport (HP-UX 11.00) | Björn Jacke | 1 | -0/+2 | |
Kai, please check. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Nov 26 03:07:21 CET 2010 on sn-devel-104 | |||||
2010-11-03 | librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594 | Michael Adam | 1 | -2/+2 | |
This fixes the calculation of needed space for destination unicode charset. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 3 23:28:07 UTC 2010 on sn-devel-104 | |||||
2010-10-31 | idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values | Kamen Mazdrashki | 1 | -24/+24 | |
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes. | |||||
2010-10-27 | ndr: Make sure ndr_dns.c has no lines wider than 80 chars | Kai Blin | 2 | -104/+153 | |
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Oct 27 21:17:50 UTC 2010 on sn-devel-104 | |||||
2010-10-27 | librpc/ndr/ndr.c - fix some counter types | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
The "depth" is "uint32_t" Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 27 08:13:40 UTC 2010 on sn-devel-104 | |||||
2010-10-27 | librpc Make ndrdump use printf() rather than having to mess with DEBUG() | Andrew Bartlett | 2 | -0/+20 | |
This means it no longer needs to force the debug level etc. (this builds on the fine work by Volker to create dump_data_cb()) Andrew Bartlett | |||||
2010-10-23 | s4 dns: Better error handling when parsing invalid or unknown records | Kai Blin | 1 | -5/+14 | |
2010-10-23 | s4 dns: Allow more components as part of a domain name | Kai Blin | 1 | -1/+1 | |
2010-10-23 | s4 dns: Fix a data corruption in the dns_string parsing | Kai Blin | 1 | -8/+4 | |
2010-10-23 | s4 dns: Reply to a name request with an A record. | Kai Blin | 2 | -5/+95 | |
The first real answer to a DNS request. Still uses hardcoded reply. | |||||
2010-10-23 | ndr dns: Add simple parser | Kai Blin | 3 | -0/+214 | |
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -4/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-10-05 | Revert "libndr: fix "excess elements in struct initializer" warning." | Günther Deschner | 1 | -1/+0 | |
This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1. | |||||
2010-10-05 | libndr: fix "excess elements in struct initializer" warning. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-10-05 | ndr: Handle the case of string array with all null terminated strings | Matthieu Patou | 1 | -4/+16 | |
2010-10-04 | dnsp: Parse TXT records | Kai Blin | 2 | -0/+56 | |
2010-10-04 | ndr: Implement push function for IPv6 addresses | Kai Blin | 2 | -4/+12 | |
Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches. | |||||
2010-10-04 | ndr: Add support for pulling/printing an ipv6address type | Kai Blin | 2 | -2/+51 | |
2010-09-28 | librpc/ndr: remove 'async' from ndr_interface_call | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2010-09-16 | pidl: prevent ndr_print_*() dying on NULL pointers | Andrew Tridgell | 2 | -0/+11 | |
when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them |