summaryrefslogtreecommitdiff
path: root/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
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-06-28krb5pac.idl: add PAC_CONSTRAINED_DELEGATION (S4U_DELEGATION_INFO)Stefan Metzmacher1-1/+13
metze
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 Bartlett2-0/+85
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 Bartlett2-1/+27
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney1-0/+6
Introduce a new flag, LIBNDR_FLAG_STR_RAW8, which indicates that libndr should not attempt to convert the corresponding byte sequence, and place the responsibility on the caller to do so later. This is needed in cases where the string is known to be 8-bit and either NULL terminated or of known length, but in an unspecified character set. For example, when pulling PT_STRING8 properties from an exchange server via libmapi + libndr, the codepage is neither known nor in the control of the caller, and is determined by subsequent properties requested from the server. Therefore the client would like to fetch all properties in one large batch, and convert the resulting strings locally. This commit also includes some (basic) tests of each of the flags' respective behaviors with the ndr push/pull string functions, in a new source4 torture test suite ndr.ndr_string. Signed-off-by: Sean Finney <seanius@seanius.net>
2011-05-17s4-dfs: fix bugs in idl and adapt code accordinglyMatthieu Patou1-15/+2
2011-05-16s3-printing: Get the location info from cups.Günther Deschner1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-16s3-rap: add rap_NetRemoteTOD to IDL.Günther Deschner1-0/+22
Guenther
2011-04-13s3: Add wbint_LookupSidsVolker Lendecke1-3/+3
This will be called from wb_lookupsids to query remote DCs via lsa Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-07lsa: use lsa_TrustedAccessMask in some more places in the lsa IDL.Günther Deschner1-3/+3
Guenther
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-1/+17
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2011-04-05librpc/idl Add [nopython] to krb5pac ndrdump functionsAndrew Bartlett1-5/+5
These functions are not real RPC functions, but are used to help ndrdump operate. They don't need python bindings. Andrew Bartlett
2011-03-21idmap.idl: Fix whitespaceVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 21 13:36:48 CET 2011 on sn-devel-104
2011-03-18rap: add rap_NetSessionGetInfo to IDL.Günther Deschner1-0/+11
Guenther
2011-03-18rap: add rap_NetUserDelete IDL.Günther Deschner1-0/+7
Guenther
2011-03-18rap: add rap_NetUserAdd IDL.Günther Deschner1-0/+11
Guenther
2011-03-16idl: define printcap IPC message formatDavid Disseldorp2-1/+19
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-10frstrans.idl: add idl for RawGetFileDataAsync() and RdcGetFileDataAsync()Stefan Metzmacher1-2/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 15:18:22 CET 2011 on sn-devel-104
2011-03-08s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider1-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-02librpc/idl: remove unused string defines from idl_types.hStefan Metzmacher1-23/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 2 14:09:44 CET 2011 on sn-devel-104
2011-03-02rap: add rap_NetSessionEnum to IDL.Günther Deschner1-0/+30
Guenther
2011-03-01librpc/idl Add helper structures for use by samba3 in auth_session_infoAndrew Bartlett2-0/+23
The unix info and in particular unix token needs to be preserved into the struct auth_session_info. Andrew Bartlett
2011-03-01spoolss.idl: align spoolss_DriverFileInfo relative pointer to 4 byteStefan Metzmacher1-1/+1
metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 1 02:12:37 CET 2011 on sn-devel-104
2011-02-28spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the typeStefan Metzmacher1-1/+1
metze
2011-02-28TODO test/review librpc: align nstring and nstring_array to 2 byteStefan Metzmacher1-2/+2
metze
2011-02-17idl: naming a structure 'VERSION' is not a good idea!Andrew Tridgell1-2/+2
this renames it to ntlmssp_VERSION Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-13librpc: add bindings for dnsp in pythonMatthieu Patou1-1/+6
2011-02-10librpc: move preg.idl to main directory.Günther Deschner2-1/+50
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-10libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett1-11/+6
This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10auth.idl fix size_is() reference in IDLAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10libcli/named_pipe_auth Remove support for unused levels 0-2.Andrew Bartlett1-24/+0
The only client and server for this code uses level 3 exclusively. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-09s4-auth Add auth.idl to encode auth subsystem structures in IDLAndrew Bartlett2-1/+71
This is not only a useful way to encode stuff, it also allows python to handle the structures, and natrually allows them to be NDR encoded. Andrew Bartlett
2011-02-02s3-waf: no need to call pidl with --samba3-ndr-client anymore.Günther Deschner1-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 21:38:23 CET 2011 on sn-devel-104
2011-02-02netlogon.idl: remove pointless union arms of netr_DELTA_UNIONStefan Metzmacher1-16/+4
These were just padding, which was needed as we didn't have 'ms_union' support. metze
2011-02-02netlogon.idl: use 'ms_union' as specified in [MS-NRPC]Stefan Metzmacher1-0/+1
metze
2011-02-02netlogon.idl: add missing [default]; union armsStefan Metzmacher1-0/+4
metze
2011-01-31s4-smbtorture: add samr_changepassworduser3 ndr torture tests.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104