summaryrefslogtreecommitdiff
path: root/librpc
AgeCommit message (Collapse)AuthorFilesLines
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
2011-08-06idl: We don't need a context for FRSRPC_COMM_PKT_CHUNK_CO_EXTENTION_2 and ↵Matthieu Patou1-2/+2
avoid colision on bop attribute Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Aug 6 00:50:47 CEST 2011 on sn-devel-104
2011-08-01eventlog6.idl: fix definition of eventlog6_StringArrayStefan Metzmacher1-1/+1
This is an array of string, not an array of characters. metze
2011-07-29nbt: Add comment explaining that these responses are manually encodedAndrew Bartlett1-1/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28nbt: fix WinXP S3 domain join: alignment of nbt_netlogon_response_from_pdcAndrew Bartlett1-1/+1
This fixes WinXP joining a Samba3 domain, which was broken on hosts with an even number of characters in the host name. The alignment requested in the structure was ignored because of the overall NDR_NOALIGN set on the packet. Andrew Bartlett Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jul 28 00:30:26 CEST 2011 on sn-devel-104
2011-07-20security.idl: Use gid_t for gid in security_unix_tokenAndrew Bartlett1-1/+1
2011-07-20s3-auth Remove seperate guest booleanAndrew Bartlett1-1/+0
Instead, we base our guest calculations on the presence or absense of the authenticated users group in the token, ensuring that we have only one canonical source of this important piece of authorization data Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20auth: remove now unused auth3_session_info from auth.idlAndrew Bartlett1-11/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth use auth_user_info not netr_SamInfo3 in auth3_session_infoAndrew Bartlett1-2/+2
This makes auth3_session_info identical to auth_session_info The logic to convert the info3 to a struct auth_user_info is essentially moved up the stack from the named pipe proxy in source3/rpc_server to create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20auth: use char * pointers in auth.idlAndrew Bartlett1-10/+10
We need to use this, and not utf8string because we need to transport NULL pointers correctly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth import auth3_session_info into IDLAndrew Bartlett1-1/+23
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20auth: Put 'guest' and 'system' booleans into auth_user_info_unixAndrew Bartlett1-0/+6
This will allow a transformation of auth3_session_info into auth_session_info by substitution. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-15lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, notGünther Deschner1-1/+1
lsa_TrustDomainInfoAuthInfoInternal. Guenther
2011-07-15lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner1-1/+1
Guenther
2011-07-06librpc/ndr remove _SAMBA_BUILD_ conditionalsAndrew Bartlett3-8/+0
2011-07-05build: Add missing dep on UTIL_TEVENTAndrew Bartlett1-1/+1
2011-06-28krb5pac.idl: add PAC_CONSTRAINED_DELEGATION (S4U_DELEGATION_INFO)Stefan Metzmacher1-1/+13
metze
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett1-1/+0
As discussed in 'CH_DISPLAY and gettext' on the samba-technical list: http://lists.samba.org/archive/samba-technical/2011-June/078190.html Setting this to a value other than 'unix charset' does not make sense, as any system where the filesytem charset does not equal the terminal charset will already have problems with programs as simple as 'ls'. It also means that our output could not be pasted as our input in interactive programs or onto our command line, as we never did translate in the DISPLAY -> UNIX direction. The d_printf() calls are retained in case we need to revisit this, and to support display_set_stderr(). Andrew Bartlett
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2-3/+3
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-15librpc: fix buildwarning in NDR_WMI.Günther Deschner2-0/+25
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 15 17:23:49 CEST 2011 on sn-devel-104
2011-06-10librpc/ndr/ndr_table.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-06-10librpc/ndr/ndr_spoolss_buf.h: fix licence/copyrightGünther Deschner1-0/+23
Guenther
2011-06-10librpc/ndr/ndr_dns.h: fix licence/copyrightGünther Deschner1-0/+25
Guenther
2011-06-10librpc/ndr/ndr_compression.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-06-10librpc/ndr/ndr_backupkey.h: fix licence/copyrightGünther Deschner1-0/+21
Guenther
2011-06-09server_id.idl: change unique_id to hyperStefan Metzmacher1-1/+1
This makes it consistent to pid. metze
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-0/+7
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett3-1/+92
The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett3-1/+34
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01Fix type mixing warnings.Jeremy Allison1-2/+2