summaryrefslogtreecommitdiff
path: root/librpc/ndr
AgeCommit message (Collapse)AuthorFilesLines
2010-10-23s4 dns: Better error handling when parsing invalid or unknown recordsKai Blin1-5/+14
2010-10-23s4 dns: Allow more components as part of a domain nameKai Blin1-1/+1
2010-10-23s4 dns: Fix a data corruption in the dns_string parsingKai Blin1-8/+4
2010-10-23s4 dns: Reply to a name request with an A record.Kai Blin2-5/+95
The first real answer to a DNS request. Still uses hardcoded reply.
2010-10-23ndr dns: Add simple parserKai Blin3-0/+214
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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-05Revert "libndr: fix "excess elements in struct initializer" warning."Günther Deschner1-1/+0
This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1.
2010-10-05libndr: fix "excess elements in struct initializer" warning.Günther Deschner1-0/+1
Guenther
2010-10-05ndr: Handle the case of string array with all null terminated stringsMatthieu Patou1-4/+16
2010-10-04dnsp: Parse TXT recordsKai Blin2-0/+56
2010-10-04ndr: Implement push function for IPv6 addressesKai Blin2-4/+12
Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches.
2010-10-04ndr: Add support for pulling/printing an ipv6address typeKai Blin2-2/+51
2010-09-28librpc/ndr: remove 'async' from ndr_interface_callStefan Metzmacher1-1/+0
metze
2010-09-16pidl: prevent ndr_print_*() dying on NULL pointersAndrew Tridgell2-0/+11
when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them
2010-08-30librpc/ndr: correctly implement ndr_charset_length()Stefan Metzmacher1-2/+14
Before we ignored the charset type. metze
2010-08-25s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.Günther Deschner2-127/+34
Also remove bogus trustCurrentPasswords struct which we just had because our IDL was incorrect. Guenther
2010-08-21s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processedKamen Mazdrashki1-0/+6
2010-08-21s4-drsuapi: Implement custom printing for drsuapi protocol forKamen Mazdrashki1-0/+107
drsuapi_DsReplicaAttribute and drsuapi_DsAttributeValueCtr objects This makes tracing what data has been transferred much easier
2010-08-14ndr: allow ndr_print to print DATA_BLOBAndrew Tridgell3-6/+64
this prints DATA_BLOB structures using the ndr->print() calls Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14dnsp: dnsp_name is 2 byte alignedAndrew Tridgell1-0/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-05s4-dns: ndr_dnsp helper functionsAndrew Tridgell2-0/+123
these handle the dnsp_name type
2010-06-29s3-librpc: Fixed GUID_from_data_blob() with length of 32.Andreas Schneider1-5/+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.
2010-06-28librpc: Use switch in GUID_from_data_blob().Andreas Schneider1-7/+16
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner1-0/+1
Guenther
2010-05-27libndr: add support for relative_rap_convert.Günther Deschner2-0/+2
Will not harm anyone, is only used for rare short (2byte) relative pointers, and relative_rap_convert is always 0 so far (as all init functions using struct ndr_pull will zero the struct). Guenther
2010-05-20librpc: finally merge ndr_string.c.Günther Deschner1-0/+720
Guenther
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij15-129/+93
2010-05-14ntprinting: add ntprinting.idl.Günther Deschner2-0/+94
This generates convenient unmarshalling routines for pulling out spoolss related information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb. Guenther
2010-04-30rap: add rap_status to IDL.Günther Deschner2-0/+5
Guenther
2010-04-30rap: let the rap print function be autogenerated again.Günther Deschner2-41/+0
Guenther
2010-04-29s4-rap: add rap print helpers.Günther Deschner2-0/+86
Guenther
2010-04-22spoolss: pretty-print a struct spoolss_Time.Günther Deschner2-0/+28
Guenther
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-03-24s4/drs: Pretty print for drsuapi_SecBufferTypeKamen Mazdrashki1-0/+23
It is a type and mask combined in one DRS field so we have to make a custom ndr_print implementation for this type
2010-03-24s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1Kamen Mazdrashki1-0/+11
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-2/+4
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-03-05spoolss: rollback GetPrinterData[Ex] IDL.Günther Deschner2-209/+0
Guenther
2010-03-05spoolss: rollback SetPrinterData{Ex} IDL.Günther Deschner2-84/+0
Guenther
2010-02-20librpc/ndr Remove unused macrosAndrew Bartlett1-16/+0
Since the change to the way we pull these OIDs from the wire, these macros are unused. Andrew Bartlett
2010-02-19librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher1-2/+8
metze
2010-02-18spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner1-0/+237
devmode relative pointer down to sd). Guenther
2010-02-18spoolss: add spoolss_security_descriptor.Günther Deschner2-0/+59
Guenther
2010-02-18ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher1-2/+2
metze
2010-02-18spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher1-1/+4
metze
2010-02-18libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher1-0/+6
metze
2010-02-18libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher1-0/+3
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze
2010-02-18libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher2-3/+87
This is based on Guenther's initial code. metze
2010-02-18libndr: store a subcontext buffer size in ndr_push_subcontext_start.Günther Deschner2-0/+2
Guenther
2010-02-18libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵Stefan Metzmacher1-1/+6
with the RELATIVE_REVERSE flag metze
2010-02-18libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processingGünther Deschner2-0/+6
can be disabled for single structure elements. Guenther