summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06build: added librpc build scriptAndrew Tridgell1-0/+732
2010-04-02s4-rpc: fixed a talloc loop in continue_ntlmssp_connection()Andrew Tridgell1-0/+24
We were creating a memory loop which caused havoc when the connection was torn down.
2010-04-02pyrpc: do the pipe connect on a real memory contextAndrew Tridgell1-1/+1
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-03-23s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymoreStefan Metzmacher1-1/+0
metze
2010-03-19s4:librpc/rpc: add NCACN_INTERNAL from s3Stefan Metzmacher1-1/+1
metze
2010-03-18s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubsStefan Metzmacher3-4/+7
metze
2010-03-17s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()Stefan Metzmacher1-0/+7
metze
2010-03-12s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based ↵Stefan Metzmacher1-10/+12
dcerpc_binding_handle stubs metze
2010-03-12s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based ↵Stefan Metzmacher1-16/+22
dcerpc_binding_handle stubs metze
2010-03-12s4:librpc/rpc: prepare dcerpc dependecies before pidl changesStefan Metzmacher1-5/+5
metze
2010-03-12s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructureStefan Metzmacher2-0/+19
metze
2010-03-05s4-rpc: don't use s->credentials after it is freedAndrew Tridgell1-2/+1
2010-03-01s4:librpc/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher2-3/+3
metze
2010-02-17Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now ↵Jeremy Allison1-6/+4
cope with this. Jeremy" This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f. As tridge requested, we need this to work with older S3 servers, not just for smbtorture4. Jeremy.
2010-02-17Got back to 16-byte padding on auth RPC. S3 clients and servers now cope ↵Jeremy Allison1-4/+6
with this. Jeremy
2010-02-17s4-rpc: paranoid check for auth_lengthAndrew Tridgell1-0/+11
This is not strictly needed as the ndr_pull_advance() checks it a few lines further down, but I want to save Jeremy getting more grey hairs :-)
2010-02-16s4-rpc: don't use auth padding in rpc bind requests as it breaks s3Andrew Tridgell1-0/+7
The s3 RPC server returns a bind_nak if it gets a rpc bind with auth padding. This change forces a padding length of zero to maximimise compatibility with s3 servers. I've left the padding code in as a #if 0 to make it easier for us to test/fix the s3 server code, which should be changed to correctly handle arbitrary auth padding in all rpc requests with auth trailers.
2010-02-16s4-dcerpc: fixed auth padding to be relative to the stub, not packetAndrew Tridgell1-5/+7
The recent dcerpc padding changes made our padding relative to the packet header, instead of the start of the stub. Surprisingly, this broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2 is very fussy about the padding it gets in some circumstances.
2010-02-14a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell2-11/+16
The last change broke net vampire against w2k8r2
2010-02-13s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell2-52/+83
Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
2010-02-11s4: Switch to S3-style id mapping data types.Kai Blin1-3/+10
2010-02-09s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer1-4/+0
This was needed only by Python 2.3 which we no longer support.
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-26s4:winsrepl.idl: add random interface uuidStefan Metzmacher1-1/+4
This is needed to include the wrepl interface into ndrdump. metze
2010-01-21pyxattr: Fix memory leaks.Jelmer Vernooij1-1/+1
2010-01-21pyxattr: Fix return value, raise exception, fix memory leak.Jelmer Vernooij1-1/+6
2010-01-21s4: allow python code to dump NTACL object as wellMatthieu Patou1-0/+94
2010-01-21s4: add python bindings for wrap_(s|g)etxattrMatthieu Patou1-0/+11
2009-12-31pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().Jelmer Vernooij1-0/+36
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-14torture: add new tests for dfsblobsMatthieu Patou1-1/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4:dcerpc - fix DEBUG output warningMatthias Dieter Wallnöfer1-3/+4
2009-10-28Add in Metze's new code to ndr encode the user.DOSATTRIBStefan (metze) Metzmacher1-1/+1
blobs. Next I'll change the create timestamp and dos attribute code to use this.
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
2009-10-20s4-idl: don't call a variable 'stat'Andrew Tridgell1-2/+2
never call a structure member by the name of a standard C lib call. It breaks the build on some systems.
2009-10-19Fix typo.Karolin Seeger1-1/+1
privilage -> privilege Karolin
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-1/+1
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-1/+1
2009-09-27librpc: Fix path to ndr_standard pc file.Jelmer Vernooij1-1/+1
2009-09-23provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij2-28/+0
2009-09-20s4:py_security Add missing headerAndrew Bartlett1-0/+23
2009-09-20s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett1-0/+5
This ensures we only have one codepath to store the secret, and therefore that we have a single choke point for setting the saltPrincipal, which we were previously skipping. Andrew Bartlett
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-0/+7
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-09-17pyldb: Don't segfault when invalid type is specified to as_sddl and from_sddl.Matthieu Patou1-2/+2
Fix bug #6723
2009-09-17s4-rpc: added NDR64 supportAndrew Tridgell5-7/+31
This adds support for the nd464 binding string option
2009-09-08ntlmssp: add some void decode calls (useful for ndrdump).Günther Deschner1-1/+7
Guenther
2009-09-08schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.Günther Deschner1-1/+1
These actually belong netlogon but we for now want to keep netlogon as a security providor separate. Guenther
2009-08-26schannel: move schannel.idl to main directory.Günther Deschner2-45/+1
Guenther
2009-08-22s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpdAndrew Bartlett1-2/+4
The change to protocol version 1 was not intentional, and broke the protocol established with the ntp.org project. Andrew Bartlett