Andrew Tridgell
66aec3cf67
s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.c
...
the code is now generic to both V4 and V6
2011-06-06 12:26:11 +10:00
Andrew Tridgell
5d2dbf93b3
s4-ipv6: allow for IPv6 in dcerpc socket calls
2011-06-06 12:26:11 +10:00
Andrew Bartlett
14f99167f6
build: Remove --disable-s3build so we can rely on these subsystems
...
This will make it easier to write code that uses the whole codebase.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
2011-05-09 12:25:33 +02:00
Andrew Bartlett
cdd802af83
s4-messaging Rename messaging -> imessaging
...
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Andrew Bartlett
4c8de5ab13
s4-cluster Rename server_id.node -> vnn to match Samba3
2011-05-03 07:37:07 +02:00
Andrew Bartlett
85eb4377db
s4:cluster Rename .id to .pid in server_id
...
This also changes some DEBUG messages to use cluster_id_string()
rather than .id, to isolate them from this and other changes.
Andrew Bartlett
2011-05-03 07:37:06 +02:00
Stefan Metzmacher
578cbf1139
s4:libcli/smb2: convert smb2_connect_*() to tevent_req
...
metze
2011-04-28 20:35:49 +02:00
Andrew Bartlett
663dc94e63
auth: Move auth_session_info into IDL
...
This changes auth_session_info_transport to just be a wrapper, rather
than a copy that has to be kept in sync.
As auth_session_info was already wrapped in python, this required
changes to the existing pyauth wrapper and it's users.
Andrew Bartlett
2011-04-05 23:46:04 +02:00
Günther Deschner
b903c28939
librpc: bring more librpc prototypes in common.
...
Guenther
2011-03-23 23:59:11 +01:00
Stefan Metzmacher
72c1fe0081
librpc/rpc: move DCERPC_ flags to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13 20:45:53 +01:00
Stefan Metzmacher
c1a2fd1cd1
s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104
2011-03-13 17:46:02 +01:00
Stefan Metzmacher
81063f9a26
s4:librpc/rpc: remove unused dcerpc_request()
...
metze
2011-03-13 17:01:00 +01:00
Stefan Metzmacher
f8030ec080
s4:librpc/rpc: make dcerpc_request_recv() static
...
metze
2011-03-13 17:00:59 +01:00
Stefan Metzmacher
26351bf480
s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 16:53:16 +01:00
Stefan Metzmacher
fa0f0c2107
s4:pyrpc: fix memory leaks in error pathes
...
metze
2011-03-13 16:53:06 +01:00
Stefan Metzmacher
08dca92499
librpc/rpc: move struct dcerpc_binding to rpc_common.h
...
metze
2011-03-13 16:53:05 +01:00
Stefan Metzmacher
83c55ac67e
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
...
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
b0d54da746
s4:librpc/rpc: s/dcerpc_security/dcecli_security
...
We'll use 'dcerpc_security' for the generic dcerpc
client and server code.
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
4d4c6315fa
s4:librpc/rpc: remove unused dcerpc_ndr_request* code
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104
2011-03-13 11:19:59 +01:00
Stefan Metzmacher
b738e092a2
librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11 12:28:08 +01:00
Stefan Metzmacher
c774a50aaf
s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g
...
The name 'struct dcerpc_connection' will be used in the new generic
dcerpc code. It will be used for client and server.
metze
2011-03-11 11:02:23 +01:00
Andrew Tridgell
5ec284d152
build: moved librpc/rpc/*.c into a rpccommon library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-24 02:42:37 +01:00
Stefan Metzmacher
67004581e6
s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystem
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
2011-02-22 21:51:43 +01:00
Stefan Metzmacher
a308cdc371
s4:build: add RPC_NDR_ATSVC subsystem
...
metze
2011-02-22 21:04:23 +01:00
Andrew Tridgell
1bf4ff2ab2
s4-waf: added --enable-s3build configure option
...
this enables the build of the s3 binaries in the toplevel build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
acdfe48ebe
s4-ndr: added NDR_WBINT to ndr_tables
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:08 +01:00
Matthieu Patou
e37db96d2a
s4: avoid overwritting the dceprc.h file from toplevel librpc
...
Change back to what was the configuration of header_path before
177ddcb084
so that dcerpc.h is installed
in ${prefix}/include and not in ${prefix}/include/gen_ndr as the
toplevel librpc wants also to put a dcerpc.h file in this directory.
Add some documentation in order to avoid any new regression.
This change should fix problems for openchange team.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Feb 21 09:47:05 CET 2011 on sn-devel-104
2011-02-21 09:47:05 +01:00
Andrew Tridgell
bed374215f
s4-idl: rename s4 server_id.idl to server_id4.idl
...
this avoids a conflict with the new s3 server_id.idl
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 18:41:00 +11:00
Andrew Bartlett
cfeceedfab
librpc make ndr-standard a common library
2011-02-18 18:41:00 +11:00
Andrew Bartlett
177ddcb084
librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files
...
There isn't any reson to keep these private to source3 and source4 and
more, and doing so creates problems for the top level build.
Andrew Bartlett
2011-02-18 18:41:00 +11:00
Günther Deschner
3722f65359
librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
...
Simo, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
2011-02-14 18:54:38 +01:00
Matthieu Patou
f8a156dbe6
librpc: add bindings for dnsp in python
2011-02-13 01:23:05 +03:00
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
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
Andrew Tridgell
08a0096ab6
s4-idl: don't call a variable 'stat'
...
never call a structure member by the name of a standard C lib call. It
breaks the build on some systems.
2009-10-20 12:13:15 +11:00
Karolin Seeger
fa08d0b44b
Fix typo.
...
privilage -> privilege
Karolin
2009-10-19 09:47:33 +02:00
Andrew Tridgell
3c028ff88b
s4-smb: declare root_fid as a file handle
...
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-15 20:03:00 +11:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Jelmer Vernooij
c526a77896
librpc: Fix path to ndr_standard pc file.
2009-09-27 16:43:01 +02:00
Jelmer Vernooij
c5615211d4
provision: Avoid linking in multiple copies of security python module.
2009-09-23 15:24:10 +02:00
Andrew Bartlett
9d9bd31bf9
s4:py_security Add missing header
2009-09-20 20:32:47 -07:00
Andrew Bartlett
bfddb6816f
s4:provision Use code to store domain join in 'net join' as well
...
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-20 16:29:38 -07:00
Andrew Tridgell
92786aebf1
s4-resolve: fixed a crash bug on timeout
...
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-19 08:23:03 -07:00
Andrew Tridgell
e9a589feac
s4-server: kill main daemon if a task fails to initialise
...
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-18 18:05:55 -07:00
Matthieu Patou
aadf5e3910
pyldb: Don't segfault when invalid type is specified to as_sddl and from_sddl.
...
Fix bug #6723
2009-09-17 19:36:32 +02:00
Andrew Tridgell
f93d716516
s4-rpc: added NDR64 support
...
This adds support for the nd464 binding string option
2009-09-17 21:52:24 -07:00
Günther Deschner
2b16380a0e
ntlmssp: add some void decode calls (useful for ndrdump).
...
Guenther
2009-09-08 22:27:41 +02:00
Günther Deschner
4fd9a9d6de
schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
...
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.
Guenther
2009-09-08 14:55:10 +02:00
Günther Deschner
aabe577396
schannel: move schannel.idl to main directory.
...
Guenther
2009-08-26 15:43:05 +02:00
Andrew Bartlett
497234c1cb
s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd
...
The change to protocol version 1 was not intentional, and broke the
protocol established with the ntp.org project.
Andrew Bartlett
2009-08-22 11:14:22 +10:00
Stefan Metzmacher
87737f8946
s4:librpc/rpc: fix DEBUG() message
...
metze
2009-08-18 11:58:18 +02:00
Andrew Tridgell
ed051ce424
try to give some hint as to what is causing NDR string errors
2009-08-12 15:34:03 +10:00
Andrew Tridgell
e2d4ae1510
fixed several places that unnecessarily take a reference to the event context
...
These references were triggering the ambiguous talloc_free errors from
the recent talloc changes when the server is run using the 'standard'
process model instead of the 'single' process model. I am aiming to
move the build farm to use the 'standard' process model soon, as part
of an effort to make our test environment better match the real
deployment of Samba4.
The references are not needed as the way that the event context is
used is as the 'top parent', so when the event context is freed then
all of the structures that were taking a reference to the event
context were actually freed as well, thus making the references
redundent.
2009-08-07 17:24:48 +10:00
Stefan Metzmacher
258250f1ac
winsif.idl: add definition of winsif_WinsDoScanvengingNew()
...
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
8ad17b4501
winsif.idl: add definition of winsif_WinsStatusWHdl()
...
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
d3ec23f405
winsif.idl: add definition of winsif_WinsStatusNew()
...
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
50662d22d8
winsif.idl: add definition of winsif_WinsGetDbRecsByName()
...
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
e7466831a8
winsif.idl: add definition of winsif_WinsGetBrowserNames()
...
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
833f253d93
winsif.idl: add definition of winsif_WinsSetFlags()
...
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
655efd069d
winsif.idl: add definition of winsif_WinsDeleteWins()
...
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
5899bc002a
winsif.idl: add definition of winsif_WinsGetBrowserNames_Old()
...
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
5fd30f8dfb
winsif.idl: add definition of winsif_WinsGetNameAndAdd()
...
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
7bea52ab16
winsif.idl: add definition of winsif_WinsWorkerThreadUpdate()
...
metze
2009-07-31 14:38:40 +02:00
Stefan Metzmacher
47174d3130
winsif.idl: add definition of winsif_WinsResetCounters()
...
metze
2009-07-31 14:38:40 +02:00
Stefan Metzmacher
c91be0915e
winsif.idl: add definition of winsif_WinsSetPriorityClass()
...
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
6d0ab082ff
winsif.idl: add definition of winsif_WinsPullRange()
...
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
e29763fd3f
winsif.idl: add definition of winsif_WinsDelDbRecs()
...
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
b540aa4296
winsif.idl: add definition of winsif_WinsBackup()
...
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
7430582346
winsif.idl: add definition of winsif_WinsTerm()
...
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
39ec220d49
winsif.idl: add definition of winsif_WinsGetDbRecs()
...
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
f6084589f9
winsif.idl: add definition of winsif_WinsDoScavenging()
...
metze
2009-07-31 14:38:37 +02:00
Stefan Metzmacher
15c330af32
winsif.idl: add definition of winsif_WinsDoStaticInit()
...
metze
2009-07-31 14:38:37 +02:00