Günther Deschner
ad0a3185ce
librpc: move preg.idl to main directory.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
2011-02-10 13:56:49 +01:00
Günther Deschner
4086c1e382
s4-waf: split out wscript_build for ndrdump binary.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 8 14:50:54 CET 2011 on sn-devel-104
2011-02-08 14:50:54 +01:00
Andrew Tridgell
9f9b363447
s4-idl: make the source4 idl build independent of build directory
...
this allows the source4 idl to be built from any top level directory
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Bartlett
a3e99356ab
s4-waf Don't install any Samba packages into PYTHONDIR
...
This causes the parts of Samba installed into PYTHONARCHDIR to then be
missed in mixed python/C module namespaces.
Andrew Bartlett
2011-02-02 15:21:13 +11:00
Günther Deschner
dd35fe181c
waf: share libndr.so between samba3 and samba4.
...
Guenther
2011-01-25 11:42:46 +01:00
Matthias Dieter Wallnöfer
0932c91186
s4:librpc/rpc/dcerpc_connect.c - fix uninitialised variable
2011-01-12 19:52:19 +01:00
Matthieu Patou
25ae380fab
idl: Add IDL for remote key backup protocol (rkbp)
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12 09:08:06 +01:00
Matthieu Patou
9d9c212858
idl: remove protected storage
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12 09:06:04 +01:00
Jelmer Vernooij
5792fa90ac
s4-python: Only set BASETYPE flag if subclassing is supported.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01 03:39:58 +01:00
Jelmer Vernooij
09a2f14c84
pyrpc: Add prototype for init function.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104
2010-12-18 03:04:23 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Stefan Metzmacher
5fcbb16760
s4:pyrpc_util: s/typename/type_name to avoid c++ warnings
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
2010-12-09 17:55:57 +01:00
Stefan Metzmacher
63574fda0e
s4:python: add PyString_FromStringOrNULL() to pyrpc_util
...
metze
2010-12-08 19:06:52 +01:00
Andrew Tridgell
735c1cd2da
s4-pkgconfig: add @LIB_RPATH@ to our link flags
...
this is only set when rpath is used on install. It ensures that
applications that link against Samba libraries get the rpath right
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-08 12:46:00 +01:00
Andrew Bartlett
4ea840c3a5
s4-librpc Handle all types of GUID in the GUID() initialiser
...
By taking a length-limited string, we can parse binary and string GUID
values, which is particularly useful when reading from ldb.
Andrew Bartlett
2010-12-01 00:14:40 +01:00
Matthias Dieter Wallnöfer
258dc02a9d
s4:role transfer - use always type "enum drepl_role_master" for role specifications
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
2010-11-27 16:03:42 +01:00
Arnaud Faucher
2ac5cedb71
Avoid the use of PyAPI_DATA, which is for internal Python API's.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
2010-11-22 00:52:56 +01:00
Andrew Tridgell
808edd0293
s4-rpc: make rpc connect less verbose
2010-11-21 23:10:14 +11:00
Ricardo Jorge
bd7647f0f9
pyrpc: Build the samba.dcerpc.srvsvc module.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 19:52:36 CET 2010 on sn-devel-104
2010-11-20 19:52:35 +01:00
Jelmer Vernooij
4217734a51
credentials: Lowercase library name,
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-07 01:48:44 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Andrew Tridgell
679eba61ea
s4-build: removed some unnecessary dependencies
...
based on running waf --symbol-check
2010-10-30 23:49:01 +11:00
Andrew Tridgell
f5251c064e
s4-ndr: make ndr-table a subsystem
...
its already part of the ndr-samba4 library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Stefan Metzmacher
ba6afbdfb7
s4:librpc: we don't need dcerpc client bindings for dns.idl
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 26 19:35:59 UTC 2010 on sn-devel-104
2010-10-26 19:35:59 +00:00
Jelmer Vernooij
a702c07e02
talloc: change pytalloc-util to be a public library.
2010-10-26 10:17:19 -07:00
Jelmer Vernooij
a74e8be6d1
waf: Stop automaticaly changing dashes to underscores in library names.
2010-10-26 10:17:18 -07:00
Jelmer Vernooij
e4d9e974da
waf: Don't auto-lowercase library names.
2010-10-26 10:17:18 -07:00
Jelmer Vernooij
8cf61377aa
waf: Remove lib prefix from libraries manually.
2010-10-26 10:17:17 -07:00
Jelmer Vernooij
20b5268556
dcerpc_dns: Change back to subsystem for the moment.
2010-10-26 10:17:17 -07:00
Jelmer Vernooij
d9cbcdd410
s4: Drop duplicate 'lib' prefix for private libraries.
2010-10-26 10:17:16 -07:00
Stefan Metzmacher
005b50ad68
s4:librpc: we don't need dcerpc client bindings for dns.idl
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 24 11:23:50 UTC 2010 on sn-devel-104
2010-10-24 11:23:50 +00:00
Jelmer Vernooij
8c99517a0c
waf: Lowercase several library names.
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
833480d3ad
s4: Rename LIBSAMBA-* to libsamba-*
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
ca16d805bd
s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
bc44fcc6fb
s4: Rename NDR_TABLE to ndr_table.
2010-10-23 22:24:06 +00:00
Kai Blin
719a6bbfed
ndr dns: Add simple parser
2010-10-23 10:17:05 +00:00
Kai Blin
97868713a0
idl: Add idl describing DNS structures
2010-10-23 10:17:05 +00:00
Andrew Tridgell
4fa0ceb751
waf: RPC_NDR_WINBIND is samba4 specific
...
this caused problems with the s3 waf build
2010-10-21 20:56:38 +11:00
Andrew Tridgell
97ce2d8965
s4-librpc: fixed depenencies for libcli/security
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:27 +11:00
Andrew Tridgell
11bce8ce03
librpc: added a few more NDR_* targets to NDR_SAMBA
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00
Andrew Tridgell
b4dd1accc8
s4-waf: don't depend directly on python modules
...
build rules should not list dependencies on python modules. Instead,
if code needs the module it should use the python API import calls to
access the module.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00
Andrew Tridgell
cffbccb5cb
s4-waf: make NDR_STANDARD a grouping library and add NDR_SAMBA4
...
this collects a number of subsystems into logical groups
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:25 +11:00
Andrew Tridgell
2dcb596e83
s4-waf: removed dependencies on missing subsystems
...
these were left over from the old config.mk system
2010-10-21 19:03:24 +11:00
Andrew Tridgell
0ad5937b4e
s4-ndr: make NDR_TABLE a private library
...
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-21 19:03:24 +11:00
Jelmer Vernooij
fb8bbd2506
dcerpc_samr: Fix -l arguments for dcerpc_samr and dcerpc_atsvc.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 17 19:15:43 UTC 2010 on sn-devel-104
2010-10-17 19:15:42 +00:00
Jelmer Vernooij
5324b943e7
wafsamba: Fix handling of pyembed/pyext.
2010-10-10 23:54:04 +00:00
Jelmer Vernooij
d0c7ae5cd5
librpc: Remove unnecessary dependency on libsamba-hostconfig.
2010-10-11 01:06:36 +02:00
Jelmer Vernooij
c15e919a09
wafsamba: Clarify needs_python argument name, use pyembed/pyext where
...
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-10 03:54:01 +00:00
Andrew Tridgell
9bae4cd3d9
s4-rpc: added target_principal binding handle option
...
this allows you to specify a target SPN for a connection
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01 22:31:57 -07:00
Andrew Tridgell
c4d2b6fbc2
s4-netlogon: added RODC DNS update call fwded to dnsupdate task
...
when we get a netlogon RODC DNS update, we send it to the dnsupdate
task
2010-09-27 22:55:05 -07:00
Stefan Metzmacher
d9d4ded71a
s4:irpc: optionaly pass the security_token via IRPC requests.
...
metze
2010-09-27 09:59:21 -07:00
Günther Deschner
f2310cacde
waf: add more NDR subsystems for shared IDL files.
...
Guenther
2010-09-27 07:12:09 +02:00
Günther Deschner
bd5f932eef
s4-waf: add NDR_EVENTLOG.
...
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
204ba65772
s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.
...
Guenther
2010-09-24 21:10:47 -07:00
Günther Deschner
0261b96bd8
s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.
...
Guenther
2010-09-23 14:48:34 -07:00
Anatoliy Atanasov
411e6bc3f2
s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl
2010-09-23 13:34:08 -07:00
Stefan Metzmacher
be0ed310b3
s4:irpc: add padding to the IPRC header for 8 byte alignment
...
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-23 08:41:04 -07:00
Günther Deschner
ce6ef803ce
s4-waf: add NDR_LSARPC and NDR_SAMR.
...
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
43e3555ed9
s4-waf: move two more NDR_ subsystems to main directory.
...
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
031dd8cc62
waf: move majority of shared NDR_ subsystems to main wscript_build.
...
(so they can be used by s3 waf later)
Guenther
2010-09-23 01:01:40 -07:00
Jelmer Vernooij
5a75fb194a
ndrdump: Move blackbox test to standard python namespace.
2010-09-22 17:48:23 -07:00
Andrew Tridgell
8efd1074c2
s4-pyrpc: fixed build on python 2.4
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-20 15:27:45 -07:00
Kamen Mazdrashki
c79861a14e
s4-pyrpc: Print location and type name we got when checking for types
2010-09-17 13:53:03 +03:00
Andrew Tridgell
fb81cc080d
s4-pyrpc: allow python to access irpc interfaces
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Tridgell
1c7c1a86ec
idl: build python interfaces for winbind and idmap IDL
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Bartlett
39bd61e018
s4-winbind Add a proxy method to update DNS records with a read-write DC
...
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-17 19:02:18 +10:00
Andrew Tridgell
e5ac820b9e
s4-pyrpc: added py_return_ndr_struct()
...
This can be used to return structures from other python interfaces as
python objects
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
67ac8555b1
s4-auth: set the RODC bit for RODC schannel
...
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-15 15:39:34 +10:00
Andrew Tridgell
52445e1583
s4-schannel: fixed reference to context after free
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15 15:39:34 +10:00
Andrew Tridgell
13a8745cae
s4-rodc: add a trigger message for REPL_SECRET to auth_sam
...
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-15 15:39:34 +10:00
Anatoliy Atanasov
788bfc8a25
s4/fsmo: Change return type from NTSTATUS to WERROR for drepl_takeFSMOrole
...
This removed an unnecessary conversion of the return type in
drepl_take_FSMO_role.
2010-09-10 13:44:20 +03:00
Nadezhda Ivanova
657b7039c3
s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transfer
...
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-10 13:08:17 +03:00
Günther Deschner
3fb5aba9cf
s4-waf: fix bin/python/samba/dcerpc/nbt.so.
...
Thanks to Brad Hards for pointing this out.
Guenther
2010-09-08 23:26:41 +02:00
Julien Kerihuel
e5e5a1110f
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp 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-07 09:55:14 +10:00
Kamen Mazdrashki
dea5c7b948
s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
...
Sorry for the 'custom' definition first time
2010-09-05 23:34:28 +03:00
Stefan Metzmacher
54d2dce7b1
librpc/rpc: add dcerpc_binding_handle_set_timeout()
...
metze
2010-09-04 09:01:19 +02:00
Stefan Metzmacher
99a26edcb3
s4:librpc/rpc: implement dcerpc_bh_set_timeout()
...
metze
2010-09-04 09:01:12 +02:00
Stefan Metzmacher
27918981de
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
...
metze
2010-09-04 09:01:11 +02:00
Stefan Metzmacher
52d4a97afc
s4:libcli/wbclient: use irpc_binding_handle_by_name()
...
metze
2010-09-03 17:00:21 +02:00
Jelmer Vernooij
0bc53f7d9f
pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.
2010-09-03 02:39:38 +02:00
Kamen Mazdrashki
b954834ad1
s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update 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-28 23:38:59 +03:00
Jelmer Vernooij
64552e11dd
pyrpc: Add py_check_dcerpc_type().
...
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-27 04:41:40 +02:00
Andrew Tridgell
f0803de830
s4-pyrpc: use s4_event_context_init()
...
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-23 15:55:39 +10:00
Andrew Tridgell
a2012dfc6b
librpc: add python bindings for the netlogon pipe
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-22 14:57:34 +10:00
Andrew Tridgell
24159a59a3
pidl: give the varible name for bad type in python calls
...
This makes it much clearer which argument to a function had the wrong
type
2010-08-22 14:57:34 +10:00
Stefan Metzmacher
fe7819ae6f
librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.c
...
metze
2010-08-20 18:09:25 +02:00
Brad Hards
8f3542c58e
build fix
2010-08-17 08:44:28 +10:00
Stefan Metzmacher
b34209006f
s4:librpc/rpc: make struct dcerpc_binding_handle private
...
metze
2010-08-12 14:31:21 +02:00
Stefan Metzmacher
7eef08cc63
s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
4030bc9b2d
librpc/rpc: add dcerpc_binding_handle abstration
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
2828318743
s4:librpc/rpc: fix dcerpc_log_packet() prototype
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
af89b460f7
s4:librpc/rpc: autodetect the need of async call logic
...
metze
2010-08-12 14:31:16 +02:00
Andrew Tridgell
56db40d5fd
s4-build: use @PACKAGE_VERSION@ in s4 pc.in files
...
this gets replaced by vnum from the build rule
2010-08-09 12:27:23 +10:00
Andrew Tridgell
febd35ecd2
s4-dns: fix dnsp for old build
2010-08-05 17:31:29 +10:00
Andrew Tridgell
8892748085
s4-dns: expanded the DNSP code to handle more record type
2010-08-05 17:31:29 +10:00
Andrew Tridgell
2883bc94c7
dns: first version of dsnRecord parser
2010-08-05 17:31:28 +10:00
Stefan Metzmacher
31782e5295
s4:librpc/rpc: avoid using DCERPC_NDR_REF_ALLOC for epm_Map()
...
metze
2010-08-02 17:42:50 +02:00
Stefan Metzmacher
1675619656
s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()
...
metze
2010-07-31 09:07:45 +02:00
Andrew Tridgell
a709e423d2
waf-idl: put the gen_ndr/README file for source3 back
...
This was removed by 100d37fc46
, probably
accidentially.
2010-07-19 22:17:17 +10:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
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-16 18:24:27 +10:00
Simo Sorce
e340aa40d1
dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:10 +02:00
Günther Deschner
716f9d6847
s4-dcerpc: move some util functions up to main librpc directory.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:09 +02:00
Andrew Tridgell
4cb423f527
s4-python: python is not always in /usr/bin
...
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-24 18:46:57 +10:00
Jelmer Vernooij
5060367bf9
pyrpc: Fix reference counting when using secondary connections.
2010-06-19 22:46:44 +02:00
Jelmer Vernooij
d913aacfe4
dcerpc-samr: Fix library name.
2010-06-15 17:22:46 +02:00
Jelmer Vernooij
d319c83f1f
librpc: Install the right headers.
2010-06-13 19:55:53 +02:00
Jelmer Vernooij
c3550c9c28
librpc: Fix netlogon.h file to install - not the torture one but the one
...
generated by pidl.
2010-06-13 19:26:48 +02:00
Andrew Bartlett
974ed9cf2c
s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap
...
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-24 23:08:56 +10:00
Andrew Bartlett
6c726745a4
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
...
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-24 23:08:11 +10:00
Günther Deschner
b75384546a
librpc: finally merge ndr_string.c.
...
Guenther
2010-05-20 13:57:22 +02:00
Stefan Metzmacher
6f264106a4
s4:librpc: fix the autoconf build
...
metze
2010-05-18 15:31:11 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Günther Deschner
3edb95a487
s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.
...
Guenther
2010-05-14 14:51:44 +02:00
Stefan Metzmacher
e8139ac14a
s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs
...
It already comes via RPC_NDR_DRSBLOBS.
metze
2010-05-12 19:30:55 +02:00
Matthieu Patou
df6d0db21d
s4: Fix python binding for drsblobs
...
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
2010-05-02 15:59:49 +02:00
Günther Deschner
f85a4ab778
s4-rap: add rap print helpers.
...
Guenther
2010-04-29 12:05:41 +02:00
Günther Deschner
2c5b3fc40b
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
...
Guenther
2010-04-28 23:23:38 +02:00
Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Andrew Tridgell
ef05007257
s4-rpc: fixed the build with the old build system
...
../librpc/gen_ndr/ndr_drsblobs.o was being linked in twice into
drsblobs.so
2010-04-16 15:33:07 +10:00
Matthieu Patou
9c2aed862d
s4: Add python binding to waf so that the drsblobs.so is also built in waf
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Matthieu Patou
6d9ce1fee3
s4: Fix python binding for drsblobs
...
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Stefan Metzmacher
61e53c0782
s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
fed16f4015
librpc/rpc: add dcerpc_fault_to_nt_status()
...
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
a68eb378a5
s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of NT_STATUS_IS_ERR
...
Everything but NT_STATUS_OK is an error here.
metze
2010-04-13 16:01:40 +02:00
Stefan Metzmacher
59b1078ec5
s4:librpc/rpc: make PyErr_SetDCERPCStatus() static
...
metze
2010-04-13 16:01:40 +02:00
Stefan Metzmacher
e95e2e8262
s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
...
metze
2010-04-09 16:28:30 +02:00
Kamen Mazdrashki
80d8f37b26
s4/was: Add 'drsblobs' Python module
2010-04-09 12:21:29 +03:00
Kamen Mazdrashki
3629fb9927
s4: Add 'drsblobs' Python module
...
This module is be very useful when it comes to making
torture tests.
2010-04-09 12:21:28 +03:00
Jelmer Vernooij
814e20e7da
pynet: Create a net class.
2010-04-08 23:22:55 +02:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
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