summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2010-10-21s4-waf: make NDR_STANDARD a grouping library and add NDR_SAMBA4Andrew Tridgell1-1/+10
this collects a number of subsystems into logical groups Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: removed dependencies on missing subsystemsAndrew Tridgell1-1/+1
these were left over from the old config.mk system
2010-10-21s4-ndr: make NDR_TABLE a private libraryAndrew Tridgell1-1/+2
this greatly reduces the size of ndrdump, and saves us a fair bit of duplication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-17dcerpc_samr: Fix -l arguments for dcerpc_samr and dcerpc_atsvc.Jelmer Vernooij2-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 17 19:15:43 UTC 2010 on sn-devel-104
2010-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij1-1/+1
2010-10-11librpc: Remove unnecessary dependency on libsamba-hostconfig.Jelmer Vernooij1-4/+4
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-1/+1
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
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-27s4-netlogon: added RODC DNS update call fwded to dnsupdate taskAndrew Tridgell1-1/+11
when we get a netlogon RODC DNS update, we send it to the dnsupdate task
2010-09-27s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher1-0/+5
metze
2010-09-27waf: add more NDR subsystems for shared IDL files.Günther Deschner1-2/+2
Guenther
2010-09-24s4-waf: add NDR_EVENTLOG.Günther Deschner1-2/+2
Guenther
2010-09-24s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.Günther Deschner1-1/+1
Guenther
2010-09-23s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.Günther Deschner1-222/+0
Guenther
2010-09-23s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idlAnatoliy Atanasov1-1/+1
2010-09-23s4:irpc: add padding to the IPRC header for 8 byte alignmentStefan Metzmacher1-0/+1
As we marshall the iprc header and the payload to the ndr_push context, we should pad the irpc header to let the payload start at an 8 byte boundary. This way we get the alignment still be correct if we remove the header before passing the raw payload to the caller. As we use IRPC more and more for complex NDR marshalled structures we need to get this right, in order to not get random ndr_pull failures. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-23s4-waf: add NDR_LSARPC and NDR_SAMR.Günther Deschner1-2/+2
Guenther
2010-09-23s4-waf: move two more NDR_ subsystems to main directory.Günther Deschner1-13/+0
Guenther
2010-09-23waf: move majority of shared NDR_ subsystems to main wscript_build.Günther Deschner1-240/+0
(so they can be used by s3 waf later) Guenther
2010-09-22ndrdump: Move blackbox test to standard python namespace.Jelmer Vernooij1-20/+0
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>
2010-09-17idl: build python interfaces for winbind and idmap IDLAndrew Tridgell1-0/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett1-0/+5
This must be done in winbindd as it already has the schannel connection and the credential chain. If we re-established that elsewhere, we would break the chain in winbindd. Andrew Bartlett Signed-Off-By: Andrew Tridgell <tridge@samba.org>
2010-09-16s4-pyrpc: added py_return_ndr_struct()Andrew Tridgell2-0/+34
This can be used to return structures from other python interfaces as python objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-auth: set the RODC bit for RODC schannelAndrew Tridgell1-1/+4
When we are using SEC_CHAN_RODC we need to set the NETLOGON_NEG_RODC_PASSTHROUGH bit in the negotiated flags in ServerAuthenticate2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-schannel: fixed reference to context after freeAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-rodc: add a trigger message for REPL_SECRET to auth_samAndrew Tridgell1-0/+7
when an RODC tries to authenticate against an account and the account has no password information it needs to send a message to the drepl server to tell it to try and replicate the secret information from a writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-10s4/fsmo: Change return type from NTSTATUS to WERROR for drepl_takeFSMOroleAnatoliy Atanasov1-1/+1
This removed an unnecessary conversion of the return type in drepl_take_FSMO_role.
2010-09-10s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transferNadezhda Ivanova1-0/+16
Basically the candidate owner makes a getncchanges call with extended op 6 when they want to become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute in its database with the new owner, and replicates the change to the candidate, who then becomes the owner. The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov@postpath.com> who kindly helped to debug it.
2010-09-08s4-waf: fix bin/python/samba/dcerpc/nbt.so.Günther Deschner1-1/+5
Thanks to Brad Hards for pointing this out. Guenther
2010-09-07Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel6-7/+34
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-05s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitionsKamen Mazdrashki1-3/+1
Sorry for the 'custom' definition first time
2010-09-04librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher1-0/+3
metze
2010-09-04s4:librpc/rpc: implement dcerpc_bh_set_timeout()Stefan Metzmacher1-0/+18
metze
2010-09-04librpc/rpc: add set_timeout() to dcerpc_binding_handle_opsStefan Metzmacher1-0/+2
metze
2010-09-03s4:libcli/wbclient: use irpc_binding_handle_by_name()Stefan Metzmacher1-0/+5
metze
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij5-229/+244
2010-08-28s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update ↵Kamen Mazdrashki1-0/+11
internal cache This IRPC calls is to be used whenever repsFrom/repsTo are changed by administrative tool or KCC (i.e. Topology changes). At present, only KCC may change topology.
2010-08-27pyrpc: Add py_check_dcerpc_type().Jelmer Vernooij3-0/+95
This function checks whether the type of a PyObject matches a DCE/RPC Python type. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2010-08-23s4-pyrpc: use s4_event_context_init()Andrew Tridgell1-1/+1
This fixes a crash when using kerberos and the python dcercpc interface, which requires event nesting Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-22librpc: add python bindings for the netlogon pipeAndrew Tridgell1-0/+6
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-22pidl: give the varible name for bad type in python callsAndrew Tridgell1-1/+1
This makes it much clearer which argument to a function had the wrong type
2010-08-20librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.cStefan Metzmacher1-0/+9
metze
2010-08-17build fixBrad Hards1-1/+5
2010-08-12s4:librpc/rpc: make struct dcerpc_binding_handle privateStefan Metzmacher1-10/+0
metze
2010-08-12s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backendStefan Metzmacher3-4/+411
metze
2010-08-12librpc/rpc: add dcerpc_binding_handle abstrationStefan Metzmacher2-3/+118
metze
2010-08-12s4:librpc/rpc: fix dcerpc_log_packet() prototypeStefan Metzmacher2-6/+6
metze