summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2012-04-03s4:librpc/rpc: also parse ncacn_packet pdus with LIBNDR_FLAG_OBJECT_PRESENTStefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 23:06:31 CEST 2012 on sn-devel-104
2012-04-03s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layerStefan Metzmacher1-1/+1
If the transfer syntax is NDR64, it's only for the payload not for the dcerpc pdus. metze
2012-03-20libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2-5/+4
ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-16Remove more unnecessary shebang lines in python files.Jelmer Vernooij1-2/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 02:48:52 CET 2012 on sn-devel-104
2012-03-15s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send()Stefan Metzmacher1-4/+1
metze
2012-03-15s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send()Stefan Metzmacher1-4/+7
metze
2012-03-15s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_*Stefan Metzmacher1-0/+29
metze
2012-03-15s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_*Stefan Metzmacher1-0/+29
metze
2012-03-15s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_reqStefan Metzmacher2-114/+161
Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
2012-03-15s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_reqStefan Metzmacher2-111/+169
Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
2012-03-15s4:librpc/rpc: also notify requests which are not shipped about a dead ↵Stefan Metzmacher1-0/+11
connection metze
2012-03-15s4:librpc/rpc: ship requests via an immediate eventStefan Metzmacher2-7/+56
Deep inside dcerpc_ship_next_request() some code path could trigger dcerpc_connection_dead(), which means it's not safe to do any processing after calling dcerpc_ship_next_request(). metze
2012-03-15s4:librpc/rpc: if the connecion is dead we're doneStefan Metzmacher1-0/+1
There's no point in doing anymore processing, it can just lead to crashes. metze
2012-03-15s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.Stefan Metzmacher1-0/+2
metze
2012-03-09s4-librpc: Remove unused new_evAndrew Bartlett1-3/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 9 07:18:45 CET 2012 on sn-devel-104
2012-03-07s4:librpc/rpc: make dcerpc_bh_raw_call_* more robust against disconnects and ↵Stefan Metzmacher1-0/+15
timeouts Using tevent_req_defer_callback() should make the situation a bit better, until we have a common robust low level dcerpc library. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 18:44:24 CET 2012 on sn-devel-104
2012-03-07s4:librpc/rpc: make dcerpc_bh_is_connected() more robustStefan Metzmacher1-0/+8
metze
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_connect_send()Michael Adam1-0/+1
2012-02-27s4:librpc/dcerpc_smb2: make use of smb2cli_session_application_key()Stefan Metzmacher1-2/+13
metze
2012-01-04s4:pyrpc: add 'user_session_key' getter to the connection objectStefan Metzmacher2-1/+45
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-11-04dns: Build the python bindingsKai Blin1-0/+6
2011-11-03waf: convert NDR_NBT into shared library.Günther Deschner1-4/+4
Guenther
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner2-1/+3
Guenther
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-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-1/+1
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
2011-10-04dns: build python bindings for dnsserver RPC protocolAndrew Tridgell1-0/+6
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-09-06s4:librpc: rpc_common.h was move to dcerpc-bindingStefan Metzmacher1-1/+1
metze
2011-08-26build: Add dcerpc-binding to dcerpc.pcAndrew Bartlett1-1/+1
This will help projects like OpenChange that depend on this code, now that it has been split between two libraries. Andrew Bartlett
2011-08-19py_security: Fix comparison between two dom_sid objectsAmitay Isaacs1-1/+9
dom_sid_compare() function can return values other than -1, 0, 1. Python requires compare function to return value from [-1, 0, 1]. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-18credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-18cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij1-1/+1
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 Vernooij5-46/+49
2011-08-08build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett1-1/+1
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-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>