summaryrefslogtreecommitdiffstats
path: root/source4/librpc
Commit message (Collapse)AuthorAgeFilesLines
* s4-librpc: do not limit to the first IP when trying to do a rpc connectionMatthieu Patou2011-11-111-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.
* dns: Build the python bindingsKai Blin2011-11-041-0/+6
|
* waf: convert NDR_NBT into shared library.Günther Deschner2011-11-031-4/+4
| | | | Guenther
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-032-1/+3
| | | | Guenther
* s4:librpc/dcerpc_smb2: fix smb2_write_callback()Stefan Metzmacher2011-10-281-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
* s4:librpc/dcerpc_smb: fix smb_write_callback()Stefan Metzmacher2011-10-281-5/+10
| | | | | | The should use smb_raw_write_recv() to get the result. metze
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-191-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>
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-181-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>
* s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett2011-10-131-1/+1
| | | | | | This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-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
* dns: build python bindings for dnsserver RPC protocolAndrew Tridgell2011-10-041-0/+6
|
* s4-rpc: show binding string in failed rpc bindsAndrew Tridgell2011-09-221-1/+2
| | | | this makes debugging some RPC auth issues easier
* s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-09-141-2/+2
| | | | | | We should return the same in all places. metze
* s4-subdomain more work on sub-domain joinAndrew Bartlett2011-09-131-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>
* s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij2011-09-131-3/+3
| | | | places.
* s4:librpc: rpc_common.h was move to dcerpc-bindingStefan Metzmacher2011-09-061-1/+1
| | | | metze
* build: Add dcerpc-binding to dcerpc.pcAndrew Bartlett2011-08-261-1/+1
| | | | | | | This will help projects like OpenChange that depend on this code, now that it has been split between two libraries. Andrew Bartlett
* py_security: Fix comparison between two dom_sid objectsAmitay Isaacs2011-08-191-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>
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-181-1/+1
|
* s4:librpc: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-133-9/+9
|
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-105-46/+49
|
* build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett2011-08-081-1/+1
| | | | | | OpenChange needs this library. Andrew Bartlett
* build: provide tevent-util as a public libraryAndrew Bartlett2011-08-081-1/+1
| | | | | | | This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
* s4-librpc: Fix double free.Andreas Schneider2011-08-042-11/+13
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Aug 4 12:31:18 CEST 2011 on sn-devel-104
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-031-2/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* winsif.idl: fix comment about a pidl bugStefan Metzmacher2011-08-011-2/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Aug 1 17:47:05 CEST 2011 on sn-devel-104
* cli_raw: Make name lowercase.Jelmer Vernooij2011-07-231-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
* s4-librpc Remove unsued server_id4.idlAndrew Bartlett2011-06-101-13/+0
|
* librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett2011-06-093-66/+2
| | | | | | | | | 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>
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-094-11/+4
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett2011-06-091-1/+1
| | | | | | | | This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without argumentsMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | | | Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-063-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
* s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.cAndrew Tridgell2011-06-061-43/+6
| | | | the code is now generic to both V4 and V6
* s4-ipv6: allow for IPv6 in dcerpc socket callsAndrew Tridgell2011-06-061-2/+2
|
* build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett2011-05-091-6/+1
| | | | | | | | | This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-2/+2
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett2011-05-031-1/+1
|
* s4:cluster Rename .id to .pid in server_idAndrew Bartlett2011-05-031-1/+2
| | | | | | | This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
* s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher2011-04-281-15/+17
| | | | metze
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-052-0/+85
| | | | | | | | | | 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
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-231-13/+0
| | | | Guenther
* librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher2011-03-131-54/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
* s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state privateStefan Metzmacher2011-03-132-43/+44
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104
* s4:librpc/rpc: remove unused dcerpc_request()Stefan Metzmacher2011-03-132-28/+0
| | | | metze
* s4:librpc/rpc: make dcerpc_request_recv() staticStefan Metzmacher2011-03-131-3/+6
| | | | metze
* s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()Stefan Metzmacher2011-03-131-3/+11
| | | | metze
* s4:pyrpc: fix memory leaks in error pathesStefan Metzmacher2011-03-131-0/+2
| | | | metze
* librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher2011-03-131-15/+0
| | | | metze