summaryrefslogtreecommitdiffstats
path: root/source3/include/rpc_dce.h
Commit message (Collapse)AuthorAgeFilesLines
* s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.Günther Deschner2010-07-161-2/+0
| | | | Guenther
* Move the remnants of rpc_parse code under registry/Simo Sorce2010-07-161-0/+3
| | | | | | | | The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc: Use IDL defined constants for length calculationsSimo Sorce2010-07-161-9/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: consolidate respones packet creation codeSimo Sorce2010-07-161-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused functions and headersSimo Sorce2010-07-161-16/+0
| | | | | | parse_rpc.c is dead, long live parse_rpc.c ! Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused functions and headersSimo Sorce2010-07-131-62/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused headersSimo Sorce2010-07-131-18/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:dcerpc Remove unused structure and functionsSimo Sorce2010-07-081-7/+0
|
* s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXTSimo Sorce2010-07-081-8/+1
|
* s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().Günther Deschner2010-07-071-1/+1
| | | | | | Guenther Signed-off-by: Simo Sorce <idra@samba.org>
* s3-dcerpc: remove more obsolete or duplicate headers.Günther Deschner2009-09-161-43/+1
| | | | Guenther
* s3-dcerpc: remove unsed auth type defines as seen on the wire.Günther Deschner2009-09-151-13/+0
| | | | Guenther
* s3-dcerpc: remove more unused structs.Günther Deschner2009-09-151-12/+0
| | | | Guenther
* s3-dcerpc: remove duplicate RPC_AUTH_LEVEL flags.Günther Deschner2009-09-151-9/+0
| | | | Guenther
* s3-schannel: remove unused code.Günther Deschner2009-09-111-6/+0
| | | | Guenther
* s3: remove unused RPC_AUTH_SCHANNEL_NEG struct and parsing functions.Günther Deschner2009-09-081-10/+0
| | | | Guenther
* s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.Günther Deschner2009-09-081-1/+1
| | | | | | | | The Schannel verifier (aka NL_AUTH_SIGNATURE) structure (32 byte) sent from a W2k8r2 DC is passed in a buffer with the size of a NL_AUTH_SHA2_SIGNATURE (56 byte). We should just ignore the remaining 12 zeroed bytes and proceed. Guenther
* s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner2009-08-281-3/+0
| | | | Guenther
* Remove "typedef struct ndr_syntax_id RPC_IFACE;"Volker Lendecke2009-07-051-6/+3
|
* Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-141-45/+0
| | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* s3: use generated dcerpc code.Günther Deschner2009-03-241-10/+0
| | | | Guenther
* s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner2009-03-181-2/+0
| | | | Guenther
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-0/+2
| | | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
* Simplify pipe_names: we only do ndr_transfer_syntax anywayVolker Lendecke2008-07-201-10/+0
| | | | (This used to be commit b808403af55a37f2ec0e87e60450505ddfc2edda)
* rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduceJelmer Vernooij2008-04-171-2/+2
| | | | | duplication. (This used to be commit 428654b473ba44b2f5340eefef0d4fcd51aff558)
* Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.Jelmer Vernooij2008-04-151-4/+1
| | | | (This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)
* Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner2008-04-021-4/+40
| | | | | | | | | | | | In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
* Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider2008-01-231-0/+2
| | | | | Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
* Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner2008-01-171-5/+0
| | | | | Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
* r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter2007-10-101-2/+0
| | | | | | | The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
* r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter2007-10-101-0/+2
| | | | | and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r18654: Rename "struct uuid" => "struct GUID" for consistency.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 5de76767e857e9d159ea46e2ded612ccd6d6bf19)
* r14597: Merge DCERPC_FAULT constants from Samba 4.Günther Deschner2007-10-101-0/+10
| | | | | Guenther (This used to be commit 3f195f8248c88ec8bf8ceb195575ce6bb49d7fc4)
* r14368: Remove redundant set of logon flags (now in rpc_netlogon.h).Günther Deschner2007-10-101-2/+0
| | | | | Guenther (This used to be commit 8d4290cb8ed75cf12fa45bcf3e93cfe1a5567919)
* r13407: Change the credentials code to be more like the Samba4 structure,Jeremy Allison2007-10-101-2/+9
| | | | | | | | | makes fixes much easier to port. Fix the size of dc->sess_key to be 16 bytes, not 8 bytes - only store 8 bytes in the inter-smbd store in secrets.tdb though. Should fix some uses of the dc->sess_key where we where assuming we could read 16 bytes. Jeremy. (This used to be commit 5b3c2e63c73fee8949108abe19ac7a448a033a7f)
* r11950: If we got a connection oriented cancel pdu we would spin processing it.Jeremy Allison2007-10-101-9/+21
| | | | | | | Fix that, and also add in comments for all possible CL and CO PDU types. Make sure we process them correctly. Jeremy. (This used to be commit 672113a627aa9060795871bc2ea3a02e696d7d7d)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-98/+33
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.Jeremy Allison2007-10-101-20/+16
| | | | | Jeremy. (This used to be commit fd6e342746edfda2f25df1ae0067d359b756e0cd)
* r7696: Don't try and be clever and read an 8 byte int and 3 pad bytesJeremy Allison2007-10-101-1/+1
| | | | | | | as a uint32 - you'll just get it wrong (as I did :-). Second attempt to fix the Apple client issues. Jeremy. (This used to be commit d2aa5bc7aaa9fe11fa4748f99e4ba49be08aa639)
* r7385: Rewrite the RPC bind parsing functions to follow the spec. I haven't yetJeremy Allison2007-10-101-106/+73
| | | | | | | tested this so I may have screwed this up - however it now follows the DCE spec. valgrinded tests to follow.... Jeremy. (This used to be commit 877e0a61f5821c89149b1403d08675dd7db8039e)
* r991: Allow winbindd to use the domain trust account passwordGerald Carter2007-10-101-1/+2
| | | | | | | for setting up an schannel connection. This solves the problem of a Samba DC running winbind, trusting a native mode AD domain, and needing to enumerate AD users via wbinfo -u. (This used to be commit e9f109d1b38e0b0adec9b7e9a907f90a79d297ea)
* r704: BUG 1315: fix for schannel client connections to server's that don't ↵Gerald Carter2007-10-101-1/+3
| | | | | | support 128 bit encryption (This used to be commit 316ba5ad89ddfa445d44d28141c5901fc64aec90)
* r196: merging struct uuid from trunkGerald Carter2007-10-101-16/+2
| | | | (This used to be commit 911a28361b9d8dd50597627f245ebfb57c6294fb)
* commit sign only patch from Andrew; bug 167; tested using 2k & XP ↵Gerald Carter2003-10-011-2/+9
| | | | | | clientspreviously joined to the Samba domain (This used to be commit 3802f5895ee18507c6f467bd11db0b1147a6fdfd)
* Attempt at fixing bug #283. There however is no solution.Gerald Carter2003-08-141-2/+2
| | | | | | | | | | | | | | | | | | There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain. (This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
* RPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho.Jeremy Allison2003-08-081-2/+2
| | | | | Jeremy. (This used to be commit 68590b9e2266cf76b46a68cca0acaa47733811fe)
* Jeremy requested that I get my NTLMSSP patch into CVS. He didn't requestAndrew Bartlett2003-07-141-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the schannel code, but I've included that anyway. :-) This patch revives the client-side NTLMSSP support for RPC named pipes in Samba, and cleans up the client and server schannel code. The use of the new code is enabled by the 'sign', 'seal' and 'schannel' commands in rpcclient. The aim was to prove that our separate NTLMSSP client library actually implements NTLMSSP signing and sealing as per Microsoft's NTLMv1 implementation, in the hope that knowing this will assist us in correctly implementing NTLMSSP signing for SMB packets. (Still not yet functional) This patch replaces the NTLMSSP implementation in rpc_client/cli_pipe.c with calls to libsmb/ntlmssp.c. In the process, we have gained the ability to use the more secure NT password, and the ability to sign-only, instead of having to seal the pipe connection. (Previously we were limited to sealing, and could only use the LM-password derived key). Our new client-side NTLMSSP code also needed alteration to cope with our comparatively simple server-side implementation. A future step is to replace it with calls to the same NTLMSSP library. Also included in this patch is the schannel 'sign only' patch I submitted to the team earlier. While not enabled (and not functional, at this stage) the work in this patch makes the code paths *much* easier to follow. I have also included similar hooks in rpccleint to allow the use of schannel on *any* pipe. rpcclient now defaults to not using schannel (or any other extra per-pipe authenticiation) for any connection. The 'schannel' command enables schannel for all pipes until disabled. This code is also much more secure than the previous code, as changes to our cli_pipe routines ensure that the authentication footer cannot be removed by an attacker, and more error states are correctly handled. (The same needs to be done to our server) Andrew Bartlett (This used to be commit 5472ddc9eaf4e79c5b2e1c8ee8c7f190dc285f19)
* Fixes to make SCHANNEL work in 3.0 against a W2K DC. Still need to fixJeremy Allison2003-04-161-2/+2
| | | | | | multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC. Jeremy. (This used to be commit ff66d4097088409205b6bad5124a78ef9946010d)