Andrew Tridgell
b0fb567f04
s4-waf: more dependencies on talloc
...
these are needed so we can support a system talloc without using the
bundled talloc.h
2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
dadc24fb0f
s4-waf: install dcerpc_atsvc.pc
2010-04-06 20:27:11 +10:00
Andrew Tridgell
bd44f14d8f
s4-waf: enable the pc_files in the build rules
2010-04-06 20:27:10 +10:00
Andrew Tridgell
bd7bf0e1a9
s4-waf: install the rest of our python files
2010-04-06 20:27:10 +10:00
Andrew Tridgell
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
03998d0970
s4-waf: started adding auto-install of include files
2010-04-06 20:27:09 +10:00
Andrew Tridgell
2974f8d947
build: fixed libcli/ndr_netlogon.c dependency rules
2010-04-06 20:26:59 +10:00
Andrew Tridgell
fe7d1a18b9
build: don't need the S4 in the PIDL prefix
2010-04-06 20:26:52 +10:00
Andrew Tridgell
9f47c0e7b7
build: updates for current master build
2010-04-06 20:26:49 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
8f1b809d2c
build: nearly there on samba4 build
2010-04-06 20:26:47 +10:00
Andrew Tridgell
e916aff9e1
build: much nicer pidl rules
2010-04-06 20:26:47 +10:00
Andrew Tridgell
36e6d11dce
build: add README to explain gen_ndr, and ensure directory exists
2010-04-06 20:26:40 +10:00
Andrew Tridgell
9129c3b3b6
build: fixes from ita
2010-04-06 20:26:40 +10:00
Andrew Tridgell
d29cbc3c55
build: added librpc build script
2010-04-06 20:26:39 +10:00
Andrew Tridgell
7d692f970a
s4-rpc: fixed a talloc loop in continue_ntlmssp_connection()
...
We were creating a memory loop which caused havoc when the connection
was torn down.
2010-04-02 19:44:02 +11:00
Andrew Tridgell
a8d213c151
pyrpc: do the pipe connect on a real memory context
2010-04-02 18:52:29 +11:00
Andrew Tridgell
fae84f98e3
libutil: moved the networking defines to util_net.h
...
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Stefan Metzmacher
ec30022233
s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymore
...
metze
2010-03-23 18:44:34 +01:00
Stefan Metzmacher
f4700296b3
s4:librpc/rpc: add NCACN_INTERNAL from s3
...
metze
2010-03-19 17:38:32 +01:00
Stefan Metzmacher
5e9ce495ee
s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs
...
metze
2010-03-18 13:34:04 +01:00
Stefan Metzmacher
04221518da
s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()
...
metze
2010-03-17 18:26:15 +01:00
Stefan Metzmacher
7b76c118ad
s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:48 +01:00
Stefan Metzmacher
398f477941
s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:48 +01:00
Stefan Metzmacher
d95ca90030
s4:librpc/rpc: prepare dcerpc dependecies before pidl changes
...
metze
2010-03-12 15:25:41 +01:00
Stefan Metzmacher
6677a5431c
s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure
...
metze
2010-03-12 15:25:41 +01:00
Andrew Tridgell
f01f124969
s4-rpc: don't use s->credentials after it is freed
2010-03-05 16:12:05 +11:00
Stefan Metzmacher
8ba2128e1e
s4:librpc/rpc: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:55 +01:00
Jeremy Allison
9abce9f7c9
Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy"
...
This reverts commit 38c50c7027
.
As tridge requested, we need this to work with older S3
servers, not just for smbtorture4.
Jeremy.
2010-02-17 19:42:49 -08:00
Jeremy Allison
38c50c7027
Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy
2010-02-17 16:43:11 -08:00
Andrew Tridgell
eb8800e611
s4-rpc: paranoid check for auth_length
...
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-17 10:54:05 +11:00
Andrew Tridgell
e3a272c3f2
s4-rpc: don't use auth padding in rpc bind requests as it breaks s3
...
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-16 22:42:59 +11:00
Andrew Tridgell
1e13d3fb07
s4-dcerpc: fixed auth padding to be relative to the stub, not packet
...
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-16 21:10:52 +11:00
Andrew Tridgell
259129e8f4
a4-dcerpc: another attempt at dcerpc auth padding
...
The last change broke net vampire against w2k8r2
2010-02-14 18:44:21 +11:00
Andrew Tridgell
da86f08605
s4-rpc: be more careful about DCERPC auth padding
...
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-13 23:12:29 +11:00
Kai Blin
ea055e8c79
s4: Switch to S3-style id mapping data types.
2010-02-11 23:56:35 +01:00
Matthias Dieter Wallnöfer
e34637b2a6
s4:Remove "Py_RETURN_NONE" compatibility code
...
This was needed only by Python 2.3 which we no longer support.
2010-02-09 17:53:09 +01:00
Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
137fd79f44
s4:winsrepl.idl: add random interface uuid
...
This is needed to include the wrepl interface into
ndrdump.
metze
2010-01-26 15:23:24 +01:00
Jelmer Vernooij
253a232d30
pyxattr: Fix memory leaks.
2010-01-21 16:44:12 +13:00
Jelmer Vernooij
7092e220b5
pyxattr: Fix return value, raise exception, fix memory leak.
2010-01-21 16:29:15 +13:00
Matthieu Patou
1a143b8a59
s4: allow python code to dump NTACL object as well
2010-01-21 07:11:18 +13:00
Matthieu Patou
c80ecd9964
s4: add python bindings for wrap_(s|g)etxattr
2010-01-21 07:11:13 +13:00
Jelmer Vernooij
ea5af6e30c
pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:30 +11:00
Matthieu Patou
155bdea7b2
torture: add new tests for dfsblobs
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Matthias Dieter Wallnöfer
e60388cf6d
s4:dcerpc - fix DEBUG output warning
2009-11-06 22:04:59 +01:00
Stefan (metze) Metzmacher
25f96a4058
Add in Metze's new code to ndr encode the user.DOSATTRIB
...
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
2009-10-28 15:42:47 -07:00
Andrew Tridgell
3050f83288
s4-python: we need to include Python.h first
...
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-23 16:23:01 +11:00