summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-08-12s4:librpc/rpc: autodetect the need of async call logicStefan Metzmacher2-8/+6
metze
2010-08-09s4-build: use @PACKAGE_VERSION@ in s4 pc.in filesAndrew Tridgell3-3/+3
this gets replaced by vnum from the build rule
2010-08-05s4-dns: fix dnsp for old buildAndrew Tridgell1-1/+6
2010-08-05s4-dns: expanded the DNSP code to handle more record typeAndrew Tridgell1-1/+1
2010-08-05dns: first version of dsnRecord parserAndrew Tridgell1-1/+6
2010-08-02s4:librpc/rpc: avoid using DCERPC_NDR_REF_ALLOC for epm_Map()Stefan Metzmacher1-2/+2
metze
2010-07-31s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()Stefan Metzmacher1-0/+16
metze
2010-07-19waf-idl: put the gen_ndr/README file for source3 backAndrew Tridgell1-0/+3
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably accidentially.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell4-20/+20
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-13dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce1-67/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner2-31/+1
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-19pyrpc: Fix reference counting when using secondary connections.Jelmer Vernooij2-18/+43
2010-06-15dcerpc-samr: Fix library name.Jelmer Vernooij1-1/+1
2010-06-13librpc: Install the right headers.Jelmer Vernooij1-2/+2
2010-06-13librpc: Fix netlogon.h file to install - not the torture one but the oneJelmer Vernooij1-1/+1
generated by pidl.
2010-05-24s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmapAndrew Bartlett2-27/+7
These structures now match those in use in the source3 code. I'm not sure if this is the better API or not, but it is far, far safer to remove a pointer than to add one. Andrew Bartlett
2010-05-24s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett3-3/+3
This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett
2010-05-20librpc: finally merge ndr_string.c.Günther Deschner3-707/+2
Guenther
2010-05-18s4:librpc: fix the autoconf buildStefan Metzmacher1-1/+6
metze
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij7-50/+35
2010-05-14s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.Günther Deschner1-1/+1
Guenther
2010-05-12s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobsStefan Metzmacher1-1/+1
It already comes via RPC_NDR_DRSBLOBS. metze
2010-05-02s4: Fix python binding for drsblobsMatthieu Patou1-1/+1
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
2010-04-29s4-rap: add rap print helpers.Günther Deschner2-3/+2
Guenther