summaryrefslogtreecommitdiff
path: root/librpc
Commit message (Collapse)AuthorAgeFilesLines
* libndr: Add ndr_map_error2errnoVolker Lendecke2012-02-132-0/+26
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 13 15:06:29 CET 2012 on sn-devel-104
* idl: wmi and dcom don't need python bindingsAndrew Tridgell2012-02-081-1/+1
| | | | the python generation for these IDL files is currently broken
* auth: provide private pointer and do not return original PAC signaturesAndrew Bartlett2012-01-291-2/+0
| | | | | | | | | | | There is no need to return the PAC signatures via the special-purpose torture element. Instead, use a private pointer on the auth_context in conjunction with the private PAC processing method. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104
* Introduce dump_data_fileVolker Lendecke2012-01-251-6/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104
* idl: add to_null attribute to the spoolss devicename arrayDavid Disseldorp2012-01-131-1/+1
| | | | | | | | OpenPrinterEx requests have also been observed in the wild carrying non-utf16 garbage after the device mode devicename field null terminator. Signed-off-by: Jeremy Allison <jra@samba.org>
* idl: add to_null attribute to the spoolss formname arrayDavid Disseldorp2012-01-131-1/+1
| | | | | | | | | | | | | | OpenPrinterEx requests have been observed in the wild carrying a device mode formname "A4" followed by non-utf16 garbage after the null terminator. Such requests currently fail during unmarshalling in the ndr_pull_charset() codepath, causing intermittent print job failures. This change ensures that garbage after the device mode formname null terminator is not processed in unmarshalling. https://bugzilla.samba.org/show_bug.cgi?id=8606 Signed-off-by: Jeremy Allison <jra@samba.org>
* ndr: add ndr_pull_charset_to_null()David Disseldorp2012-01-132-0/+32
| | | | | | | The same as ndr_pull_charset(), however only perform character conversion on bytes prior to and including the null terminator. Signed-off-by: Jeremy Allison <jra@samba.org>
* idl:dnsserver: Add DNS_DP_STATE enumeration for diretory partition stateAmitay Isaacs2011-12-231-1/+8
|
* idl: Avoid c++ style commentsVolker Lendecke2011-12-211-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 21 13:36:01 CET 2011 on sn-devel-104
* s4 dns: Implement RFC-compatible update prescanKai Blin2011-12-171-3/+4
|
* s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider2011-12-141-0/+3
| | | | | | | | | | Windows Server 2008 returns NT_STATUS_DOWNGRADE_DETECTED if you call netrServerAuthenticate2 during a domain join without setting the strong keys flag (128bit crypto). Only for NT4 we need to do a downgrade to the returned negotiate flags. See also 0970369ca0cb9ae465cff40e5c75739824daf1d0.
* Add DRSUAPI_DRS_UPDATE_(x) flagsDave Craft2011-12-081-0/+7
| | | | | | | | | | | | DRSUAPI_DRS_UPDATE flags are used in DRS_MSG_REPMOD_V1 message structure when repsFrom is modified via RPC. The RPCs are currently uncoded but samba_kcc maintains the flags (and uses them to identify what repsFrom changes are to be executed). These are currently helpful to samba_kcc and are intended to ultimately be used in RPCs. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add NTDSConnection schedule attr blobDave Craft2011-12-081-0/+20
| | | | | | | Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* librpc: Add support for struct timevalVolker Lendecke2011-12-022-0/+41
|
* librpc: Add support for struct timespecVolker Lendecke2011-12-022-0/+41
|
* idl:netlogon.idl - add the Active Directory Web Service bit (DS_SERVER_WEBSERV)Matthias Dieter Wallnöfer2011-11-261-0/+1
| | | | | | MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org>
* librpc: install drsuapi and drsblobs headers.Günther Deschner2011-11-211-2/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 21 17:24:28 CET 2011 on sn-devel-104
* s3: Fix bug 8371Volker Lendecke2011-11-181-0/+2
| | | | | | | | | ndr_set_flag or's in the given flag (ALIGN4). At this point, ndr->flags contains NOALIGN, which will persist. In ndr_push_DATA_BLOB NOALIGN overrides everything else, so that the ALIGN4 is not respected. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 18 09:33:37 CET 2011 on sn-devel-104
* samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2011-11-091-1/+1
| | | | | | | | | | | | | The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
* dns: Fix offset check in ndr_pull_componentKai Blin2011-11-041-1/+1
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Nov 4 17:25:16 CET 2011 on sn-devel-104
* nbt: Fix offset check in ndr_pull_componentKai Blin2011-11-041-1/+1
|
* s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin2011-11-041-1/+1
|
* dns: Build the python bindingsKai Blin2011-11-041-1/+6
|
* waf: convert NDR_NBT into shared library.Günther Deschner2011-11-032-7/+20
| | | | Guenther
* nbt: create standard ndr_pull/push interface for common netlogon samlogon ↵Günther Deschner2011-11-032-1/+61
| | | | | | replies. Guenther
* nbt: move netlogon_samlogon_response into librpc/ndr/ndr_nbt.h.Günther Deschner2011-11-031-0/+11
| | | | Guenther
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* s4: add some missing header dependencies.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* nbt: move nbt_string ndr functions to ndr/ndr_nbt.c helper.Günther Deschner2011-11-033-1/+187
| | | | Guenther
* nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner2011-11-034-3/+245
| | | | Guenther
* librpc: remove nbt dependency to svcctl.Günther Deschner2011-11-033-34/+34
| | | | Guenther
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-033-13/+10
| | | | Guenther
* s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2011-10-312-1/+6
| | | | | | Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp2011-10-311-0/+33
|
* idl: Improve MS-PAC IDLSimo Sorce2011-10-241-5/+9
| | | | | | | | | | Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
* s4-dns: Added support for multiple DNS_RPC_RECORDS structuresAmitay Isaacs2011-10-204-3/+93
| | | | | | | | | | Windows returns multiple DNS_RPC_RECORDS structures, but there is no well defined structure in [MS-DNSP] doc. Added hand-written code to parse ndr. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dns: Added more data types for dnsserver implementationAmitay Isaacs2011-10-201-376/+547
| | | | | | Windows uses WERROR on dnsserver pipe. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dnsp: Added typedefs to interpret dnsProperty attribute for dnsZone objectclassAmitay Isaacs2011-10-201-3/+123
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ndr.pc: needs samba-util not samba-hostconfigSimo Sorce2011-10-101-1/+1
|
* dnsserver.idl: avoid '//' commentsStefan Metzmacher2011-10-081-180/+180
| | | | | | The compiler on openindiana doesn't like them. metze
* build: ndrdump is only built with wafAndrew Bartlett2011-10-071-2/+0
| | | | | | We no longer need an #if (_SAMBA_BUILD >= 4) here. Andrew Bartlett
* drsuapi: added ncName attid in enumAndrew Tridgell2011-10-041-0/+1
|
* dns: build python bindings for dnsserver RPC protocolAndrew Tridgell2011-10-041-0/+5
|
* dns: filled in dnsserver.idl Andrew Tridgell2011-10-042-3/+1334
| | | | | | this fills in the functions and structures for the dnsserver RPC protocol. This protocol is used during a subdomain join to add the NS glue record to the parent domain
* dns: Move the dns_srv_record to the correct place in the idl fileKai Blin2011-10-021-7/+7
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Oct 2 13:35:49 CEST 2011 on sn-devel-104
* dns: Add support for TXT record to idl fileKai Blin2011-10-021-0/+6
|
* dns: The QCLASS is called IN, not IPKai Blin2011-09-281-1/+1
|
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* Fix bug #8458] - IE9 on Windows 7 cannot download files to samba 3.5.11 shareJeremy Allison2011-09-211-0/+1
| | | | Handle the SECINFO_LABEL flag in the same was as Win2k3.
* librpc: put NDR_NTPRINTING into ndr-samba grouping libraryAndrew Bartlett2011-09-081-1/+1
| | | | | | This assists with avoiding duplicate symobls now that ntprinting_migrate is a library. Andrew Bartlett