summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2012-01-04s4:pyrpc: add 'user_session_key' getter to the connection objectStefan Metzmacher1-0/+44
This gets the session key from gensec for usage in DRSUAPI. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 4 22:31:52 CET 2012 on sn-devel-104
2011-12-22s4-librpc: Fix netlogon schannel client connect.Andreas Schneider1-0/+2
As a client we request as much flags as possible. The server checks which flags it supports and returns the same negotiation flags or less. So we need to store the negotiate flags from the server. We need them later if we have to call netr_LogonGetCapabilities.
2011-12-14s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider1-9/+40
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-11-30s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher1-4/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher1-2/+3
metze
2011-11-11s4-librpc: do not limit to the first IP when trying to do a rpc connectionMatthieu Patou1-7/+25
The function continue_ip_resolve_name was calling resolve_name_recv which returns only the first IP for a given hostname. Instead we use resolve_name_multiple_recv which returns all the IP for a given hostname. This kind of problem can occur if a host has more than 1 IP but is listenning only on 1.
2011-10-28s4:librpc/dcerpc_smb2: fix smb2_write_callback()Stefan Metzmacher1-5/+9
The should use smb2_write_recv() to get the result. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 28 09:55:48 CEST 2011 on sn-devel-104
2011-10-28s4:librpc/dcerpc_smb: fix smb_write_callback()Stefan Metzmacher1-5/+10
The should use smb_raw_write_recv() to get the result. metze
2011-10-19libcli: move ioctl function field defs to smb_constantsDavid Disseldorp1-1/+1
Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett1-1/+2
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-13s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett1-1/+1
This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
2011-09-22s4-rpc: show binding string in failed rpc bindsAndrew Tridgell1-1/+2
this makes debugging some RPC auth issues easier
2011-09-14s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-2/+2
We should return the same in all places. metze
2011-09-13s4-subdomain more work on sub-domain joinAndrew Bartlett1-0/+13
we can now create a subdomain of an existing windows domain using: samba-tool domain join sub.domain.dns.name subdomain The ordering of the creation of the key records is quite tricky, especially for the NTDSDSA object Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-09-13s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij1-3/+3
places.
2011-08-13s4:librpc: use tevent_ fn names instead of legacy event_ onesSimo Sorce3-9/+9
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-1/+1
2011-08-04s4-librpc: Fix double free.Andreas Schneider2-11/+13
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Aug 4 12:31:18 CEST 2011 on sn-devel-104
2011-08-03gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett1-2/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without argumentsMatthias Dieter Wallnöfer1-1/+1
Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett3-4/+4
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.cAndrew Tridgell1-43/+6
the code is now generic to both V4 and V6
2011-06-06s4-ipv6: allow for IPv6 in dcerpc socket callsAndrew Tridgell1-2/+2
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-2/+2
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-04-28s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher1-15/+17
metze
2011-03-23librpc: bring more librpc prototypes in common.Günther Deschner1-13/+0
Guenther
2011-03-13librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher1-54/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state privateStefan Metzmacher2-43/+44
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104
2011-03-13s4:librpc/rpc: remove unused dcerpc_request()Stefan Metzmacher2-28/+0
metze
2011-03-13s4:librpc/rpc: make dcerpc_request_recv() staticStefan Metzmacher1-3/+6
metze
2011-03-13s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()Stefan Metzmacher1-3/+11
metze
2011-03-13s4:pyrpc: fix memory leaks in error pathesStefan Metzmacher1-0/+2
metze
2011-03-13librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher1-15/+0
metze
2011-03-13librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher1-10/+4
metze
2011-03-13s4:librpc/rpc: s/dcerpc_security/dcecli_securityStefan Metzmacher2-4/+4
We'll use 'dcerpc_security' for the generic dcerpc client and server code. metze
2011-03-13s4:librpc/rpc: remove unused dcerpc_ndr_request* codeStefan Metzmacher2-204/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104
2011-03-11librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher1-121/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/gStefan Metzmacher6-98/+98
The name 'struct dcerpc_connection' will be used in the new generic dcerpc code. It will be used for client and server. metze
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell5-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-01-12s4:librpc/rpc/dcerpc_connect.c - fix uninitialised variableMatthias Dieter Wallnöfer1-0/+1
2011-01-01s4-python: Only set BASETYPE flag if subclassing is supported.Jelmer Vernooij1-2/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2010-12-18pyrpc: Add prototype for init function.Jelmer Vernooij1-0/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104
2010-12-09s4:pyrpc_util: s/typename/type_name to avoid c++ warningsStefan Metzmacher2-6/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
2010-12-08s4:python: add PyString_FromStringOrNULL() to pyrpc_utilStefan Metzmacher2-0/+10
metze
2010-11-22Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher1-5/+0
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
2010-11-21s4-rpc: make rpc connect less verboseAndrew Tridgell1-1/+1
2010-10-01s4-rpc: added target_principal binding handle optionAndrew Tridgell4-2/+14
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-20s4-pyrpc: fixed build on python 2.4Andrew Tridgell2-4/+4
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-17s4-pyrpc: Print location and type name we got when checking for typesKamen Mazdrashki1-1/+1
2010-09-17s4-pyrpc: allow python to access irpc interfacesAndrew Tridgell2-10/+53
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>