summaryrefslogtreecommitdiff
path: root/librpc
AgeCommit message (Collapse)AuthorFilesLines
2011-12-14s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider1-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.
2011-12-08Add DRSUAPI_DRS_UPDATE_(x) flagsDave Craft1-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>
2011-12-08Add NTDSConnection schedule attr blobDave Craft1-0/+20
Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-12-02librpc: Add support for struct timevalVolker Lendecke2-0/+41
2011-12-02librpc: Add support for struct timespecVolker Lendecke2-0/+41
2011-11-26idl:netlogon.idl - add the Active Directory Web Service bit (DS_SERVER_WEBSERV)Matthias Dieter Wallnöfer1-0/+1
MS-NRPC 2.2.1.2.1 Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-21librpc: install drsuapi and drsblobs headers.Günther Deschner1-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
2011-11-18s3: Fix bug 8371Volker Lendecke1-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
2011-11-09samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner1-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
2011-11-04dns: Fix offset check in ndr_pull_componentKai Blin1-1/+1
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Nov 4 17:25:16 CET 2011 on sn-devel-104
2011-11-04nbt: Fix offset check in ndr_pull_componentKai Blin1-1/+1
2011-11-04s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin1-1/+1
2011-11-04dns: Build the python bindingsKai Blin1-1/+6
2011-11-03waf: convert NDR_NBT into shared library.Günther Deschner2-7/+20
Guenther
2011-11-03nbt: create standard ndr_pull/push interface for common netlogon samlogon ↵Günther Deschner2-1/+61
replies. Guenther
2011-11-03nbt: move netlogon_samlogon_response into librpc/ndr/ndr_nbt.h.Günther Deschner1-0/+11
Guenther
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-1/+1
Guenther
2011-11-03s4: add some missing header dependencies.Günther Deschner1-1/+1
Guenther
2011-11-03nbt: move nbt_string ndr functions to ndr/ndr_nbt.c helper.Günther Deschner3-1/+187
Guenther
2011-11-03nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner4-3/+245
Guenther
2011-11-03librpc: remove nbt dependency to svcctl.Günther Deschner3-34/+34
Guenther
2011-11-03librpc: remove nbt dependency to samr.Günther Deschner3-13/+10
Guenther
2011-10-31s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2-1/+6
Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-31idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp1-0/+33
2011-10-24idl: Improve MS-PAC IDLSimo Sorce1-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
2011-10-20s4-dns: Added support for multiple DNS_RPC_RECORDS structuresAmitay Isaacs4-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>
2011-10-20s4-dns: Added more data types for dnsserver implementationAmitay Isaacs1-376/+547
Windows uses WERROR on dnsserver pipe. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20dnsp: Added typedefs to interpret dnsProperty attribute for dnsZone objectclassAmitay Isaacs1-3/+123
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-10ndr.pc: needs samba-util not samba-hostconfigSimo Sorce1-1/+1
2011-10-08dnsserver.idl: avoid '//' commentsStefan Metzmacher1-180/+180
The compiler on openindiana doesn't like them. metze
2011-10-07build: ndrdump is only built with wafAndrew Bartlett1-2/+0
We no longer need an #if (_SAMBA_BUILD >= 4) here. Andrew Bartlett
2011-10-04drsuapi: added ncName attid in enumAndrew Tridgell1-0/+1
2011-10-04dns: build python bindings for dnsserver RPC protocolAndrew Tridgell1-0/+5
2011-10-04dns: filled in dnsserver.idl Andrew Tridgell2-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
2011-10-02dns: Move the dns_srv_record to the correct place in the idl fileKai Blin1-7/+7
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Oct 2 13:35:49 CEST 2011 on sn-devel-104
2011-10-02dns: Add support for TXT record to idl fileKai Blin1-0/+6
2011-09-28dns: The QCLASS is called IN, not IPKai Blin1-1/+1
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett1-1/+1
2011-09-21Fix bug #8458] - IE9 on Windows 7 cannot download files to samba 3.5.11 shareJeremy Allison1-0/+1
Handle the SECINFO_LABEL flag in the same was as Win2k3.
2011-09-08librpc: put NDR_NTPRINTING into ndr-samba grouping libraryAndrew Bartlett1-1/+1
This assists with avoiding duplicate symobls now that ntprinting_migrate is a library. Andrew Bartlett
2011-09-08libndr: add checking to all pull/push functions of base typesAndrew Tridgell1-0/+34
this checks that the passed in ndr_flags are valid Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08libndr: moved the NDR_* flags to have less overlapAndrew Tridgell1-8/+36
We have 3 different types of flags values in our NDR layer. We've recently found bugs where these types of flags have been mixed up, especially by people adding hand written ndr code for tricky structures. We previously got away with this because (for example) NDR_SCALARS and NDR_IN had the same value, so mixing up the two concepts sometimes worked. Unfortunately it also led to bugs where we didn't do what was expected, such as in our smbtorture ndr test suite, where passing a ndr_flags value of zero led to only checking that two empty structures were equal. This changes the values of the NDR_IN|NDR_OUT and NDR_SCALARS|NDR_BUFFERS values to be in different bit ranges, and adds macros for checking the validity of passed in flags. A followup patch modifies the ndr calls to use these macros, and pidl to generate them. This should catch misuse of the APIs. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05ndr: range check on push of dom_sid blobAndrew Tridgell1-1/+4
this ensures we get an error if we try to push a dom_sid with too many sub_auths Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05drsblobs: fixed alignment of drs blobs authentication informationAndrew Tridgell1-5/+5
the two types of ndr flags were being mixed up, so NDR_BUFFERS was being interpreted as LIBNDR_FLAG_NOALIGN Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-31security.idl add new well-known SIDsChristian Ambach1-0/+8
http://support.microsoft.com/kb/243330/en-us lists some new well-known SIDS in the BUILTIN domain
2011-08-21dcerpc-binding: Install header file.Jelmer Vernooij1-0/+1
2011-08-21wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij1-3/+4
explicitly specified that they don't need one.
2011-08-09ndr_drsuapi: fix compiler warningStefan Metzmacher1-2/+3
metze
2011-08-08build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett1-39/+39
OpenChange needs this library. Andrew Bartlett
2011-08-08build: provide tevent-util as a public libraryAndrew Bartlett1-1/+1
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett