kai/samba.git
13 years agos3: Add a little test for the echo responder
Volker Lendecke [Wed, 6 Oct 2010 16:46:43 +0000 (18:46 +0200)]
s3: Add a little test for the echo responder

13 years agos3: Implement echo_TestSleep
Volker Lendecke [Wed, 6 Oct 2010 16:45:41 +0000 (18:45 +0200)]
s3: Implement echo_TestSleep

13 years agotevent: Do not use talloc_autofree_context
Volker Lendecke [Fri, 24 Sep 2010 17:13:05 +0000 (19:13 +0200)]
tevent: Do not use talloc_autofree_context

13 years agoMove talloc_enable_null_tracking() to the s3 daemons
Volker Lendecke [Fri, 24 Sep 2010 16:45:52 +0000 (18:45 +0200)]
Move talloc_enable_null_tracking() to the s3 daemons

13 years agos4:ldap.py - split it up and move SAM related stuff to sam.py
Matthias Dieter Wallnöfer [Thu, 7 Oct 2010 07:42:07 +0000 (09:42 +0200)]
s4:ldap.py - split it up and move SAM related stuff to sam.py

ldap.py would still need some additional split-up but it's a start.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct  8 14:05:18 UTC 2010 on sn-devel-104

13 years agos4:ldap_server: rewrite to socket layer to use tstream
Stefan Metzmacher [Wed, 22 Sep 2010 12:24:03 +0000 (14:24 +0200)]
s4:ldap_server: rewrite to socket layer to use tstream

This should make our sasl and tls handling much more robust
against partial sent pdus.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Oct  8 11:55:26 UTC 2010 on sn-devel-104

13 years agos4:lib/tls: buffer writes in tstream_tls_push_function()
Stefan Metzmacher [Fri, 8 Oct 2010 08:19:07 +0000 (10:19 +0200)]
s4:lib/tls: buffer writes in tstream_tls_push_function()

This works arround bugs in gnutls_handshake(),
which diesn't handle EAGAIN correctly, when they use the
push function.

Thanks to Marcel.Ritter@rrze.uni-erlangen.de and
Matthieu Patou <mat@samba.org> for the debugging work
on bug #7218.

metze

13 years agos4:lib/tls: make more clear what the immediate event is for
Stefan Metzmacher [Fri, 8 Oct 2010 07:39:49 +0000 (09:39 +0200)]
s4:lib/tls: make more clear what the immediate event is for

metze

13 years agos4:lib/tls: fix enabled logic in tstream_tls_params_server()
Stefan Metzmacher [Thu, 7 Oct 2010 09:16:48 +0000 (11:16 +0200)]
s4:lib/tls: fix enabled logic in tstream_tls_params_server()

metze

13 years agos3-waf: slowly getting modules to match how they look like in old build.
Günther Deschner [Thu, 7 Oct 2010 19:28:04 +0000 (21:28 +0200)]
s3-waf: slowly getting modules to match how they look like in old build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct  8 09:31:01 UTC 2010 on sn-devel-104

13 years agos3: Fix input check in is_encrypted_packet
Volker Lendecke [Wed, 6 Oct 2010 15:40:58 +0000 (17:40 +0200)]
s3: Fix input check in is_encrypted_packet

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Oct  8 07:40:52 UTC 2010 on sn-devel-104

13 years agoFix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of securit...
Jeremy Allison [Thu, 7 Oct 2010 23:56:36 +0000 (16:56 -0700)]
Fix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies of security descriptors.

As pointed out by an OEM, the code within smbd/posix_acl.c, even though passed
a const pointer to a security descriptor, still modifies the ACE entries within
it (which are not const pointers).

This means ACLs stored in the extended attribute by the acl_xattr module have
already been modified by the POSIX acl layer, and are not the original intent
of storing the "unmodified" ACL from the client.

Use dup_sec_desc to make a copy of the incoming ACL on talloc_tos() - that
is what is then modified inside smbd/posix_acl.c, leaving the original ACL
to be correctly stored in the xattr.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct  8 00:37:53 UTC 2010 on sn-devel-104

13 years agos3: Fix the async echo responder for netbios keepalives
Volker Lendecke [Wed, 6 Oct 2010 16:24:13 +0000 (18:24 +0200)]
s3: Fix the async echo responder for netbios keepalives

This fixes a crash in the echo responder when the client started to send the
NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the
packet length, so the code writing the signing seqnum overwrote memory after
the malloc'ed area for the 4 byte keepalive packet.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct  7 19:47:35 UTC 2010 on sn-devel-104

13 years agoFile winattr test
Abhidnya P Chirmule [Thu, 30 Sep 2010 10:56:25 +0000 (16:26 +0530)]
File winattr test

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct  7 16:51:19 UTC 2010 on sn-devel-104

13 years agoFile BirthTime test
Abhidnya P Chirmule [Wed, 29 Sep 2010 12:30:49 +0000 (18:00 +0530)]
File BirthTime test

13 years agos3-spoolss: make it possible to have and announce a [prnproc$] share on the printserver.
Günther Deschner [Sat, 2 Oct 2010 20:17:46 +0000 (22:17 +0200)]
s3-spoolss: make it possible to have and announce a [prnproc$] share on the printserver.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct  7 16:09:14 UTC 2010 on sn-devel-104

13 years agos3-rpcclient: add openprinter_ex command.
Günther Deschner [Sat, 2 Oct 2010 19:54:32 +0000 (21:54 +0200)]
s3-rpcclient: add openprinter_ex command.

Guenther

13 years agos4-smbtorture: re-arrange openprinterex tests.
Günther Deschner [Sat, 2 Oct 2010 19:53:54 +0000 (21:53 +0200)]
s4-smbtorture: re-arrange openprinterex tests.

Guenther

13 years agos3-docs: fix typo in "add port command" smb.conf manpage.
Günther Deschner [Sun, 3 Oct 2010 04:55:34 +0000 (06:55 +0200)]
s3-docs: fix typo in "add port command" smb.conf manpage.

Guenther

13 years agosamr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
Günther Deschner [Thu, 7 Oct 2010 11:01:29 +0000 (13:01 +0200)]
samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct  7 12:04:32 UTC 2010 on sn-devel-104

13 years agos4-samr: Fix dcesrv_samr_QueryGroupMember.
Günther Deschner [Thu, 7 Oct 2010 10:45:45 +0000 (12:45 +0200)]
s4-samr: Fix dcesrv_samr_QueryGroupMember.

Guenther

13 years agos3-samr: fix _samr_QueryGroupMember().
Günther Deschner [Thu, 7 Oct 2010 10:45:04 +0000 (12:45 +0200)]
s3-samr: fix _samr_QueryGroupMember().

that array contains attributes, not sid types.

Guenther

13 years agoRevert "s4:ldap_server: rewrite to socket layer to use tstream"
Stefan Metzmacher [Tue, 5 Oct 2010 05:47:51 +0000 (07:47 +0200)]
Revert "s4:ldap_server: rewrite to socket layer to use tstream"

This reverts commit b53fbc75acc525f2e2450370e704a62791271788.

There are problems with problems with broken gnutls versions.

We can readd this once we have the needed configure checks to
detect the bug in gnutls. See https://bugzilla.samba.org/show_bug.cgi?id=7218.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Oct  7 10:31:18 UTC 2010 on sn-devel-104

13 years agos4:dsdb/common/util_samr.c - use an LDB constant for result checking
Matthias Dieter Wallnöfer [Wed, 6 Oct 2010 18:45:36 +0000 (20:45 +0200)]
s4:dsdb/common/util_samr.c - use an LDB constant for result checking

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Oct  7 07:40:31 UTC 2010 on sn-devel-104

13 years agos4:dsdb/common/util.c - provide message set functions for integer types
Matthias Dieter Wallnöfer [Wed, 6 Oct 2010 17:11:58 +0000 (19:11 +0200)]
s4:dsdb/common/util.c - provide message set functions for integer types

They will be used by the samldb LDB module

13 years agoscript: improvements to bisect-test.py
Andrew Tridgell [Thu, 7 Oct 2010 03:20:15 +0000 (14:20 +1100)]
script: improvements to bisect-test.py

- allow control of all the commands (eg. specify configure command)

- do a bisect reset at the end

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Oct  7 04:11:21 UTC 2010 on sn-devel-104

13 years agowaf: fixed exit status of test suites
Andrew Tridgell [Thu, 7 Oct 2010 01:25:42 +0000 (12:25 +1100)]
waf: fixed exit status of test suites

use RUN_COMMAND() to handle signal errors and exit status

13 years ago s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to the list...
Ira Cooper [Wed, 6 Oct 2010 16:24:27 +0000 (12:24 -0400)]
s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to the list of accepted socket settings.

    These are both exclusive to Solaris/OpenSolaris.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct  7 00:26:39 UTC 2010 on sn-devel-104

13 years agotevent: Only call handlers that ask for events
Volker Lendecke [Wed, 6 Oct 2010 16:47:08 +0000 (18:47 +0200)]
tevent: Only call handlers that ask for events

The s3 libsmbclient puts two different handlers on a single fd for readability
and writability. With select this works fine, however without this patch we
unconditionally call the write handler even if the socket is only readable. We
should have called the read handler instead.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct  6 23:40:24 UTC 2010 on sn-devel-104

13 years agoFix crash in SMB2 rename found by gentest. We must always have an lcomp
Jeremy Allison [Tue, 5 Oct 2010 23:47:23 +0000 (16:47 -0700)]
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.

Jeremy.

13 years agomaintainers: delete the old MAINTAINERS file
Andrew Tridgell [Wed, 6 Oct 2010 22:18:31 +0000 (09:18 +1100)]
maintainers: delete the old MAINTAINERS file

this contains some quite obsolete information

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 22:58:52 UTC 2010 on sn-devel-104

13 years agomaintainers: added initial MAINTAINERS.txt
Andrew Tridgell [Wed, 6 Oct 2010 21:23:22 +0000 (08:23 +1100)]
maintainers: added initial MAINTAINERS.txt

initially with no subsystems maintained. Some initial maintainers will
be added soon after discussion.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 22:07:01 UTC 2010 on sn-devel-104

13 years agos3: Make the write end of the echo responder pipe non-blocking
Volker Lendecke [Wed, 6 Oct 2010 13:05:59 +0000 (15:05 +0200)]
s3: Make the write end of the echo responder pipe non-blocking

Without this, we can get a writable pipe end, but the writev call on the pipe
will block.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Oct  6 13:57:30 UTC 2010 on sn-devel-104

13 years agos3-build: use the simpler "make bin/smbtorture" for s4 torture
Andrew Tridgell [Wed, 6 Oct 2010 12:13:14 +0000 (23:13 +1100)]
s3-build: use the simpler "make bin/smbtorture" for s4 torture

and the same for bin/ndrdump

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 12:58:21 UTC 2010 on sn-devel-104

13 years agowaf: allow for commands like "make bin/smbtorture"
Andrew Tridgell [Wed, 6 Oct 2010 12:12:44 +0000 (23:12 +1100)]
waf: allow for commands like "make bin/smbtorture"

I finally worked out the GNU make syntax for this

13 years agos3-spoolss: added another intermittent failure to knownfail
Andrew Tridgell [Wed, 6 Oct 2010 11:06:46 +0000 (22:06 +1100)]
s3-spoolss: added another intermittent failure to knownfail

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 11:55:00 UTC 2010 on sn-devel-104

13 years agoautobuild: only add autobuild.log if it exists
Andrew Tridgell [Wed, 6 Oct 2010 09:15:48 +0000 (20:15 +1100)]
autobuild: only add autobuild.log if it exists

this makes running autobuild on other than sn-devel easier

13 years agowaf: fixed some python3.x portability issues
Andrew Tridgell [Wed, 6 Oct 2010 09:11:01 +0000 (20:11 +1100)]
waf: fixed some python3.x portability issues

these have crept into the tree over time. Maybe we should add testing
of a range of python versions to autobuild?

13 years agowaf: update to waf version 1.5.19
Andrew Tridgell [Wed, 6 Oct 2010 07:55:38 +0000 (18:55 +1100)]
waf: update to waf version 1.5.19

this includes a number of perforance improvements and bug
fixes. Thanks to Thomas for all the recent improvements!

13 years agos4:samldb LDB module - remove "type" parameter of "samldb_fill_object"
Matthias Dieter Wallnöfer [Wed, 6 Oct 2010 09:37:28 +0000 (11:37 +0200)]
s4:samldb LDB module - remove "type" parameter of "samldb_fill_object"

It's a bit redundant given that we have the "type" variable on "ac".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Oct  6 10:20:45 UTC 2010 on sn-devel-104

13 years agoidtree: fix right shift of signed ints, crash on large ids on AIX
Rusty Russell [Tue, 5 Oct 2010 02:36:19 +0000 (13:06 +1030)]
idtree: fix right shift of signed ints, crash on large ids on AIX

Right-shifting signed integers in undefined; indeed it seems that on
AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives
0, not 1 as we might expect.

The obvious fix is to make id and oid unsigned: l (level count) is also
logically unsigned.

(Note: Samba doesn't generally get to ids > 1 billion, but ctdb does)

Reported-by: Chris Cowan <cc@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@samba.org>
Autobuild-Date: Wed Oct  6 08:31:09 UTC 2010 on sn-devel-104

13 years agos4-heimdal: disable using the system compile_et for now
Andrew Tridgell [Wed, 6 Oct 2010 07:03:07 +0000 (18:03 +1100)]
s4-heimdal: disable using the system compile_et for now

just checking that compile_et exists isn't enough. It has to actually
work. Quite a few build farm systems have /usr/bin/compile_et, but it
gets link errors when you try to use it (missing symbols et_list_lock
and et_list_unlock)

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 07:48:16 UTC 2010 on sn-devel-104

13 years agowaf: fixed the problem with com_err on Ubuntu 9.04
Andrew Tridgell [Wed, 6 Oct 2010 04:23:58 +0000 (15:23 +1100)]
waf: fixed the problem with com_err on Ubuntu 9.04

this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and
headers options even for libraries found with pkgconfig.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 05:06:42 UTC 2010 on sn-devel-104

13 years agos4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
Kamen Mazdrashki [Wed, 6 Oct 2010 02:12:58 +0000 (05:12 +0300)]
s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct  6 02:54:56 UTC 2010 on sn-devel-104

13 years agoFix crash in SMB2 rename found by gentest. We must always have an lcomp
Jeremy Allison [Tue, 5 Oct 2010 23:47:23 +0000 (16:47 -0700)]
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
in the destination struct for a rename, so set the flag appropriately.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct  6 00:29:51 UTC 2010 on sn-devel-104

13 years agoheimdal-build: Require com_err library to provide com_right_r function.
Jelmer Vernooij [Tue, 5 Oct 2010 15:15:14 +0000 (17:15 +0200)]
heimdal-build: Require com_err library to provide com_right_r function.

13 years agoland: Fix stage description during failure.
Jelmer Vernooij [Tue, 5 Oct 2010 10:43:09 +0000 (12:43 +0200)]
land: Fix stage description during failure.

13 years agoland: Print out failed test in case of subunit failures.
Jelmer Vernooij [Tue, 5 Oct 2010 10:39:30 +0000 (12:39 +0200)]
land: Print out failed test in case of subunit failures.

13 years agoheimdal-com_err: fix the build for systems with older 'com_err' library
Kamen Mazdrashki [Tue, 5 Oct 2010 20:08:24 +0000 (23:08 +0300)]
heimdal-com_err: fix the build for systems with older 'com_err' library

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 21:36:41 UTC 2010 on sn-devel-104

13 years agoselftest: make it more obvious we only expect the printjob tests to fail.
Günther Deschner [Tue, 5 Oct 2010 20:21:54 +0000 (22:21 +0200)]
selftest: make it more obvious we only expect the printjob tests to fail.

Guenther

13 years agoRevert "libndr: fix "excess elements in struct initializer" warning."
Günther Deschner [Tue, 5 Oct 2010 19:50:21 +0000 (21:50 +0200)]
Revert "libndr: fix "excess elements in struct initializer" warning."

This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1.

13 years agos3-waf: add slightly different mkbuildoptions awk script for waf.
Günther Deschner [Tue, 5 Oct 2010 16:08:51 +0000 (18:08 +0200)]
s3-waf: add slightly different mkbuildoptions awk script for waf.

This allows to run make test (w/o smbtorture4 for now) using waf.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 18:24:55 UTC 2010 on sn-devel-104

13 years agos3-waf: use more of the NDR_ subsystems.
Günther Deschner [Tue, 5 Oct 2010 15:01:14 +0000 (17:01 +0200)]
s3-waf: use more of the NDR_ subsystems.

Guenther

13 years agoFix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.
Jeremy Allison [Mon, 4 Oct 2010 22:48:04 +0000 (15:48 -0700)]
Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.

From pjb1008@cam.ac.uk - Service numbers start from 0.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct  5 17:32:34 UTC 2010 on sn-devel-104

13 years agos4:subtree_delete LDB module - remove the DN from an error message
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 14:41:17 +0000 (16:41 +0200)]
s4:subtree_delete LDB module - remove the DN from an error message

It may looks funny but the DN output prevents older ADUC versions (tested with
release 2000) to perform subtree deletes properly. Version 2008 has this fixed.

Additionally some smaller changes ("%u" for printing unsigned integers,
module name prefix, nicer line-wrap).

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct  5 16:48:19 UTC 2010 on sn-devel-104

13 years agos4:setup/provision_rootdse_add.ldif - provide informations in the right order
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 13:57:45 +0000 (15:57 +0200)]
s4:setup/provision_rootdse_add.ldif - provide informations in the right order

Doesn't change much - but nicer to read.

Btw: is the testdata/samba3 stuff still needed ("provision_samba3sam.ldif"...)?
It seems a bit outdated.

13 years agos3-selftest: enable smb2 torture tests against samba3.
Günther Deschner [Tue, 5 Oct 2010 10:19:58 +0000 (12:19 +0200)]
s3-selftest: enable smb2 torture tests against samba3.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104

13 years agos4-selftest: move spoolss to skip list.
Günther Deschner [Tue, 5 Oct 2010 13:07:19 +0000 (15:07 +0200)]
s4-selftest: move spoolss to skip list.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 13:51:28 UTC 2010 on sn-devel-104

13 years agolibndr: fix "excess elements in struct initializer" warning.
Günther Deschner [Tue, 5 Oct 2010 12:59:09 +0000 (14:59 +0200)]
libndr: fix "excess elements in struct initializer" warning.

Guenther

13 years agos3-reg_parse: fix uninitialized variable in srprs_key().
Günther Deschner [Tue, 5 Oct 2010 12:58:52 +0000 (14:58 +0200)]
s3-reg_parse: fix uninitialized variable in srprs_key().

Guenther

13 years agos3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().
Günther Deschner [Tue, 5 Oct 2010 12:57:59 +0000 (14:57 +0200)]
s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().

Guenther

13 years agoland: Fix failure detection.
Jelmer Vernooij [Tue, 5 Oct 2010 09:48:16 +0000 (11:48 +0200)]
land: Fix failure detection.

What subprocess.Popen.poll() returns is a exit code, not a status.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct  5 13:05:25 UTC 2010 on sn-devel-104

13 years agoland: Simplify retry checker.
Jelmer Vernooij [Tue, 5 Oct 2010 09:15:56 +0000 (11:15 +0200)]
land: Simplify retry checker.

13 years agos4-provision: Reset "debuglevel" after "provision" take place
Kamen Mazdrashki [Sun, 3 Oct 2010 01:33:02 +0000 (04:33 +0300)]
s4-provision: Reset "debuglevel" after "provision" take place

Otherwise "provision" resets our current debug level and
we don't get debug messages we may expect onwards

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 11:32:50 UTC 2010 on sn-devel-104

13 years agos4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it
Kamen Mazdrashki [Sun, 3 Oct 2010 01:30:14 +0000 (04:30 +0300)]
s4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it

which leads to warning that we are trying to steal
a context with references

13 years agos4-test: Fix PYTHONPATH for python.drs_ tests
Kamen Mazdrashki [Mon, 4 Oct 2010 23:47:08 +0000 (02:47 +0300)]
s4-test: Fix PYTHONPATH for python.drs_ tests

13 years agos4-test: Use absolute path for 'samba4srcdir'
Kamen Mazdrashki [Mon, 4 Oct 2010 23:45:38 +0000 (02:45 +0300)]
s4-test: Use absolute path for 'samba4srcdir'

13 years agos3-waf: convert NSS_INFO into a subsystem.
Günther Deschner [Tue, 5 Oct 2010 09:38:45 +0000 (11:38 +0200)]
s3-waf: convert NSS_INFO into a subsystem.

We don't do the fancy symlinking to idmap modules though.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 10:50:53 UTC 2010 on sn-devel-104

13 years agos3-waf: add RPCCLI_WINREG subsystem.
Günther Deschner [Mon, 27 Sep 2010 05:30:41 +0000 (07:30 +0200)]
s3-waf: add RPCCLI_WINREG subsystem.

Guenther

13 years agos3: Stop using the write cache after an oplock break
Volker Lendecke [Sat, 2 Oct 2010 15:07:00 +0000 (17:07 +0200)]
s3: Stop using the write cache after an oplock break

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Oct  5 10:09:38 UTC 2010 on sn-devel-104

13 years agos4:samldb LDB module - simplify/unify the message handling on add and modify operations
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 10:40:07 +0000 (12:40 +0200)]
s4:samldb LDB module - simplify/unify the message handling on add and modify operations

- Perform only shallow copies (should be enough)
- Perform only one copy per operation (also on modifications)
- Build a new request on modify operations if needed ("modified" flag) - this
  makes it look cleaner
- Fix an important bug: the "el" pointers could have changed after
  modifications. Therefore we have to refresh them on the FLAG_DELETE checks

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct  5 09:24:57 UTC 2010 on sn-devel-104

13 years agos4:samldb LDB module - assign better memory contexts on two places
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 07:59:30 +0000 (09:59 +0200)]
s4:samldb LDB module - assign better memory contexts on two places

13 years agos4:kdc - use "userAccountControl" always unsigned
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 07:27:36 +0000 (09:27 +0200)]
s4:kdc - use "userAccountControl" always unsigned

It doesn't change much but it's nicer to have it consistent.

13 years agos4:ldb_modules.c - fix a typo
Matthias Dieter Wallnöfer [Mon, 4 Oct 2010 16:57:00 +0000 (18:57 +0200)]
s4:ldb_modules.c - fix a typo

13 years agos4-test: changed the gentest test to use a fixed seed.
Andrew Tridgell [Tue, 5 Oct 2010 07:55:28 +0000 (18:55 +1100)]
s4-test: changed the gentest test to use a fixed seed.

we need our test suite to produce repeatable results

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct  5 08:43:00 UTC 2010 on sn-devel-104

13 years agotorture: complete dfs referral tests
Matthieu Patou [Sat, 4 Sep 2010 08:04:18 +0000 (12:04 +0400)]
torture: complete dfs referral tests

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Oct  5 08:01:39 UTC 2010 on sn-devel-104

13 years agodfs: Fix wrong size of referral, change order of dc referral
Matthieu Patou [Fri, 3 Sep 2010 21:03:53 +0000 (01:03 +0400)]
dfs: Fix wrong size of referral, change order of dc referral

Order of referral is now like w2k8/w2k8r2 as it seems it has an
influence on how clients manage to get it.

13 years agoidl: dfsblobs fix glitches in the implementation
Matthieu Patou [Fri, 3 Sep 2010 20:39:16 +0000 (00:39 +0400)]
idl: dfsblobs fix glitches in the implementation

13 years agondr: Handle the case of string array with all null terminated strings
Matthieu Patou [Sat, 4 Sep 2010 16:08:05 +0000 (20:08 +0400)]
ndr: Handle the case of string array with all null terminated strings

13 years agowaf: workaround for the 'make install' breakage
Andrew Tridgell [Tue, 5 Oct 2010 06:17:31 +0000 (17:17 +1100)]
waf: workaround for the 'make install' breakage

This is a temporary workaround until Jelmer gets a chance to look at
this

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct  5 06:57:59 UTC 2010 on sn-devel-104

13 years agoAdd missing dependencies for com_err.
Jelmer Vernooij [Mon, 4 Oct 2010 22:36:21 +0000 (00:36 +0200)]
Add missing dependencies for com_err.

13 years agoldb: Refer to ldb(3), not ldb(7).
Jelmer Vernooij [Mon, 4 Oct 2010 19:19:47 +0000 (21:19 +0200)]
ldb: Refer to ldb(3), not ldb(7).

13 years agoheimdal-build: Simplify calls to convenience functions.
Jelmer Vernooij [Mon, 4 Oct 2010 16:05:00 +0000 (18:05 +0200)]
heimdal-build: Simplify calls to convenience functions.

13 years agoheimdal-build: Add HEIMDAL_BINARY convenience method.
Jelmer Vernooij [Mon, 4 Oct 2010 15:17:00 +0000 (17:17 +0200)]
heimdal-build: Add HEIMDAL_BINARY convenience method.

13 years agoheimdal-build: Implement HEIMDAL_LIBRARY with fewer wafsamba functions.
Jelmer Vernooij [Mon, 4 Oct 2010 14:48:34 +0000 (16:48 +0200)]
heimdal-build: Implement HEIMDAL_LIBRARY with fewer wafsamba functions.

13 years agoheimdal-build: Add heimdal specific subsystem function.
Jelmer Vernooij [Mon, 4 Oct 2010 14:27:16 +0000 (16:27 +0200)]
heimdal-build: Add heimdal specific subsystem function.

13 years agoheimdal-build: Add custom heimdal generator.
Jelmer Vernooij [Mon, 4 Oct 2010 14:19:29 +0000 (16:19 +0200)]
heimdal-build: Add custom heimdal generator.

13 years agoheimdal: Fix name of hx509 library.
Jelmer Vernooij [Mon, 4 Oct 2010 14:14:10 +0000 (16:14 +0200)]
heimdal: Fix name of hx509 library.

13 years agoheimdal: Fix name of kdc library.
Jelmer Vernooij [Mon, 4 Oct 2010 14:03:21 +0000 (16:03 +0200)]
heimdal: Fix name of kdc library.

13 years agoheimdal: Fix name of 'hdb'.
Jelmer Vernooij [Mon, 4 Oct 2010 14:00:17 +0000 (16:00 +0200)]
heimdal: Fix name of 'hdb'.

13 years agoheimdal: Fix library name of heimntlm.
Jelmer Vernooij [Mon, 4 Oct 2010 13:56:42 +0000 (15:56 +0200)]
heimdal: Fix library name of heimntlm.

13 years agoheimdal: Fix library name of gssapi.
Jelmer Vernooij [Mon, 4 Oct 2010 13:54:07 +0000 (15:54 +0200)]
heimdal: Fix library name of gssapi.

13 years agoheimdal: Fix names of roken, wind libraries.
Jelmer Vernooij [Mon, 4 Oct 2010 13:50:05 +0000 (15:50 +0200)]
heimdal: Fix names of roken, wind libraries.

13 years agounittests: add a test to avoid regression on previous fix
Matthieu Patou [Mon, 4 Oct 2010 18:56:20 +0000 (22:56 +0400)]
unittests: add a test to avoid regression on previous fix

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct  4 20:23:31 UTC 2010 on sn-devel-104

13 years agounittests: makes the unit tests for ldb.python back in order
Matthieu Patou [Mon, 4 Oct 2010 18:54:46 +0000 (22:54 +0400)]
unittests: makes the unit tests for ldb.python back in order

13 years agopyldb: test return code before trying to talloc_steal
Matthieu Patou [Sun, 3 Oct 2010 20:43:33 +0000 (00:43 +0400)]
pyldb: test return code before trying to talloc_steal

Otherwise you can have an error on the talloc_steal as the req can have
been not talloced yet

13 years agos4:ldap_server: rewrite to socket layer to use tstream
Stefan Metzmacher [Wed, 22 Sep 2010 12:24:03 +0000 (14:24 +0200)]
s4:ldap_server: rewrite to socket layer to use tstream

This should make our sasl and tls handling much more robust
against partial sent pdus.

metze

13 years agodnsp: Add support for parsing HINFO records
Kai Blin [Mon, 16 Aug 2010 19:22:52 +0000 (21:22 +0200)]
dnsp: Add support for parsing HINFO records

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Mon Oct  4 19:41:38 UTC 2010 on sn-devel-104

13 years agodnsp: Parse TXT records
Kai Blin [Fri, 13 Aug 2010 09:09:09 +0000 (11:09 +0200)]
dnsp: Parse TXT records

13 years agodnsp: Add MX record parsing
Kai Blin [Thu, 12 Aug 2010 13:46:42 +0000 (15:46 +0200)]
dnsp: Add MX record parsing