Andrew Tridgell [Tue, 23 Feb 2010 08:04:54 +0000 (19:04 +1100)]
build: run the lib/replace rules first
Andrew Tridgell [Tue, 23 Feb 2010 08:04:40 +0000 (19:04 +1100)]
build: added ASN1 and ERRTABLE build targets
Andrew Tridgell [Tue, 23 Feb 2010 08:04:16 +0000 (19:04 +1100)]
build: auto generate ASN1 and ET rules
Andrew Tridgell [Tue, 23 Feb 2010 05:48:38 +0000 (16:48 +1100)]
build: auto-strip empty dependencies
Andrew Tridgell [Tue, 23 Feb 2010 05:48:23 +0000 (16:48 +1100)]
build: added LIBREPLACE_NETWORK
Andrew Tridgell [Tue, 23 Feb 2010 05:26:59 +0000 (16:26 +1100)]
build: don't distinguish system and local libs in wscript files
Andrew Tridgell [Tue, 23 Feb 2010 05:26:39 +0000 (16:26 +1100)]
build: add heimdal_build
Andrew Tridgell [Tue, 23 Feb 2010 05:26:22 +0000 (16:26 +1100)]
build: add libresolv
Andrew Tridgell [Tue, 23 Feb 2010 05:25:59 +0000 (16:25 +1100)]
build: fixed handling of heimdal_build/internal.mk
Andrew Tridgell [Tue, 23 Feb 2010 04:01:24 +0000 (15:01 +1100)]
build: LIBLDB hack not needed any more
Andrew Tridgell [Wed, 17 Mar 2010 09:21:26 +0000 (20:21 +1100)]
build: on the fly dependency checking
Andrew Tridgell [Tue, 23 Feb 2010 03:59:47 +0000 (14:59 +1100)]
build: improve the wscript generator
Andrew Tridgell [Tue, 23 Feb 2010 03:43:06 +0000 (14:43 +1100)]
build: auto-remove circular dependencies
Andrew Tridgell [Tue, 23 Feb 2010 02:04:34 +0000 (13:04 +1100)]
build: check for circular build dependencies
Andrew Tridgell [Tue, 23 Feb 2010 01:18:04 +0000 (12:18 +1100)]
build: death to singletons
Andrew Tridgell [Tue, 23 Feb 2010 00:55:28 +0000 (11:55 +1100)]
build: simpler BUILD_SUBDIR
Andrew Tridgell [Tue, 23 Feb 2010 00:54:31 +0000 (11:54 +1100)]
build: more header checks
Andrew Tridgell [Tue, 23 Feb 2010 00:53:59 +0000 (11:53 +1100)]
build: use runonce for config checks
Andrew Tridgell [Tue, 23 Feb 2010 00:17:06 +0000 (11:17 +1100)]
build: added public_headers support
Andrew Tridgell [Tue, 23 Feb 2010 00:16:44 +0000 (11:16 +1100)]
build: added BUILD_SUBDIR() wrapper
Andrew Tridgell [Mon, 22 Feb 2010 22:04:44 +0000 (09:04 +1100)]
build: recognise manpages keyword
Andrew Tridgell [Mon, 22 Feb 2010 21:56:35 +0000 (08:56 +1100)]
build: added autoproto stub
Andrew Tridgell [Mon, 22 Feb 2010 21:38:18 +0000 (08:38 +1100)]
build: LIBLDB alias
Andrew Tridgell [Mon, 22 Feb 2010 21:37:33 +0000 (08:37 +1100)]
build: added top level script
Andrew Tridgell [Mon, 22 Feb 2010 21:30:28 +0000 (08:30 +1100)]
build: put config.h in top dir by default
Andrew Tridgell [Mon, 22 Feb 2010 21:28:29 +0000 (08:28 +1100)]
build: allow override of config.h location
Andrew Tridgell [Mon, 22 Feb 2010 21:26:55 +0000 (08:26 +1100)]
build: more developer flags
Andrew Tridgell [Mon, 22 Feb 2010 21:09:46 +0000 (08:09 +1100)]
build: s4 wants config.h in include/
Andrew Tridgell [Mon, 22 Feb 2010 21:04:00 +0000 (08:04 +1100)]
build: add dummy flags for auto-generated scripts
Andrew Tridgell [Mon, 22 Feb 2010 21:03:30 +0000 (08:03 +1100)]
build: first attempt at a script to auto-convert config.mk files to wscript
Andrew Tridgell [Wed, 17 Mar 2010 09:26:03 +0000 (20:26 +1100)]
build: added ADD_CFLAGS() and started of Samba4 build
Andrew Tridgell [Mon, 22 Feb 2010 00:59:23 +0000 (11:59 +1100)]
build: SAMBA_BUILD_ENV() is now in conf.*
Andrew Tridgell [Mon, 22 Feb 2010 00:59:06 +0000 (11:59 +1100)]
build: moved lib -> shared
- remove lib dep creation, it's done by waf
Andrew Tridgell [Mon, 22 Feb 2010 00:58:37 +0000 (11:58 +1100)]
build: tdb does not depend on talloc
Andrew Tridgell [Wed, 17 Mar 2010 09:32:15 +0000 (20:32 +1100)]
build: added waf build rules for ldb
Andrew Tridgell [Sun, 21 Feb 2010 02:56:58 +0000 (13:56 +1100)]
build: some more config checks
Andrew Tridgell [Sun, 21 Feb 2010 02:56:32 +0000 (13:56 +1100)]
build: added recursive library handling
Andrew Tridgell [Sun, 21 Feb 2010 02:55:58 +0000 (13:55 +1100)]
build: added target directory options
Andrew Tridgell [Wed, 17 Mar 2010 09:31:46 +0000 (20:31 +1100)]
build: neater way to find libreplace and start on tevent waf build
Andrew Tridgell [Sat, 20 Feb 2010 22:17:50 +0000 (09:17 +1100)]
build: added waf to the tree, so everyone uses the same version
Andrew Tridgell [Sat, 20 Feb 2010 13:40:26 +0000 (00:40 +1100)]
build: added some comments for tdb build
Andrew Tridgell [Sat, 20 Feb 2010 13:27:37 +0000 (00:27 +1100)]
build: more binaries for waf tdb build
Andrew Tridgell [Sat, 20 Feb 2010 13:24:40 +0000 (00:24 +1100)]
build: added waf build for tdb
Andrew Tridgell [Sat, 20 Feb 2010 13:24:28 +0000 (00:24 +1100)]
build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functions
Andrew Tridgell [Sat, 20 Feb 2010 12:29:59 +0000 (23:29 +1100)]
build: updates to waf scripts for replace and talloc
Andrew Tridgell [Sat, 20 Feb 2010 05:25:37 +0000 (16:25 +1100)]
build: a first attempt at waf build for talloc and libreplace
very rough so far
Günther Deschner [Tue, 6 Apr 2010 10:13:54 +0000 (12:13 +0200)]
s4-smbtorture: fix correct result error code in SetForm spoolss test.
Guenther
Günther Deschner [Tue, 6 Apr 2010 08:55:55 +0000 (10:55 +0200)]
s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
Guenther
Jeremy Allison [Tue, 6 Apr 2010 02:33:55 +0000 (19:33 -0700)]
Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>.
Jeremy.
Jelmer Vernooij [Tue, 6 Apr 2010 01:55:10 +0000 (03:55 +0200)]
selftest: Remove python2.4-isms
Jeremy Allison [Mon, 5 Apr 2010 21:16:21 +0000 (14:16 -0700)]
Fix issue with aio where r/w lock wasn't kept across aio read operations.
Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.
Jeremy
Volker Lendecke [Mon, 5 Apr 2010 20:50:59 +0000 (13:50 -0700)]
Fix related to bug #7326 - can't read/write any files with full_audit
Volker Lendecke [Mon, 5 Apr 2010 14:01:32 +0000 (16:01 +0200)]
s3: Fix a cut&paste error in winbindd_list_groups_done
Matthias Dieter Wallnöfer [Mon, 5 Apr 2010 10:06:02 +0000 (12:06 +0200)]
Revert "s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available"
This reverts commit
3e091a82167f51b7d9abf00755bede9354932c6b.
This should be fixed through the new build system when it lands in "master".
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 20:06:45 +0000 (22:06 +0200)]
s4:python/samba/__init__.py - import "sys" for "ensure_external_module" method
Volker Lendecke [Sun, 4 Apr 2010 20:49:38 +0000 (22:49 +0200)]
libwbclient: Fix a memleak in wbcListTrusts
Volker Lendecke [Sun, 4 Apr 2010 20:49:18 +0000 (22:49 +0200)]
libwbclient: Fix memleaks in tests
Volker Lendecke [Sun, 4 Apr 2010 20:26:40 +0000 (22:26 +0200)]
libwbclient: Fix a memleak in wbcListTrusts
Volker Lendecke [Sun, 4 Apr 2010 18:09:36 +0000 (20:09 +0200)]
s3: Fix the GNU ld version detection on SLES
On SLES 11 "ld -v" gives
GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19
The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
Kai Blin [Sun, 4 Apr 2010 11:51:02 +0000 (13:51 +0200)]
lib/replace: Don't use StrnCpy inside crypt.c
With this and the int32_t/int64_t change, talloc crossbuilds to android
Kai Blin [Sun, 4 Apr 2010 11:42:15 +0000 (13:42 +0200)]
lib/replace: use correct inttypes in crypt.c
This makes the android crossbuild slightly less broken.
Volker Lendecke [Sun, 4 Apr 2010 10:12:12 +0000 (12:12 +0200)]
libwbclient: Streamline result processing of wbcCredentialCache()
Volker Lendecke [Sun, 4 Apr 2010 10:11:08 +0000 (12:11 +0200)]
libwbclient: Fix a memleak in wbcCredentialCache
Jelmer Vernooij [Sat, 3 Apr 2010 22:42:52 +0000 (00:42 +0200)]
s4-python: Move dsdb_convert_schema_to_openldap to dsdb.
Jelmer Vernooij [Sat, 3 Apr 2010 22:40:01 +0000 (00:40 +0200)]
s4-python: Move set_opaque_integer -> dsdb.
Jelmer Vernooij [Sat, 3 Apr 2010 22:30:34 +0000 (00:30 +0200)]
s4-python: Avoid importing glue directly.
Jelmer Vernooij [Sat, 3 Apr 2010 22:22:29 +0000 (00:22 +0200)]
s4-python: Remove convenience macro PyErr_SetStringError.
This macro assumed that all errors were runtime errors.
Jelmer Vernooij [Sat, 3 Apr 2010 22:21:09 +0000 (00:21 +0200)]
s4-python: Move samdb_server_site_name to dsdb module.
Jelmer Vernooij [Sat, 3 Apr 2010 22:14:23 +0000 (00:14 +0200)]
s4-python: Move dsdb constants to a separate python module.
Jelmer Vernooij [Sat, 3 Apr 2010 21:44:18 +0000 (23:44 +0200)]
s4-python: Remove remaining constants.
Jelmer Vernooij [Sat, 3 Apr 2010 21:33:47 +0000 (23:33 +0200)]
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
Jelmer Vernooij [Sat, 3 Apr 2010 21:18:23 +0000 (23:18 +0200)]
s4-python: Remove duplicate definition of GUID_DRS_* constants.
Jelmer Vernooij [Thu, 1 Apr 2010 14:24:24 +0000 (16:24 +0200)]
selftest: for clarity, rename test to testsuite
Volker Lendecke [Sat, 3 Apr 2010 19:45:55 +0000 (21:45 +0200)]
libwbclient: Both talloc_free and wbcFreeMemory deal with NULL
This is in line with the ANSI C standard definition of free(NULL)
Andrew Tridgell [Sat, 3 Apr 2010 02:30:05 +0000 (13:30 +1100)]
socket-wrapper: not all systems have FIONREAD defined
tru64 for example
Volker Lendecke [Fri, 2 Apr 2010 18:34:58 +0000 (20:34 +0200)]
s3: Add wbinfo --logoff
Volker Lendecke [Fri, 2 Apr 2010 18:28:44 +0000 (20:28 +0200)]
s3: Remove some pointless break statements
Jeff Layton [Fri, 2 Apr 2010 10:26:09 +0000 (06:26 -0400)]
Update URL in README.cifs-utils
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Andrew Tridgell [Fri, 2 Apr 2010 08:08:24 +0000 (19:08 +1100)]
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.
Volker Lendecke [Fri, 2 Apr 2010 08:11:12 +0000 (10:11 +0200)]
s3: Fix a comment
Andrew Tridgell [Fri, 2 Apr 2010 07:31:30 +0000 (18:31 +1100)]
s4-python: added --debuglevel to our python scripts
very useful for debugging our cPython extensions, such as dcerpc
modules
Andrew Tridgell [Fri, 2 Apr 2010 07:21:14 +0000 (18:21 +1100)]
s4-pyglue: setup talloc logging in python modules
Andrew Tridgell [Fri, 2 Apr 2010 07:20:51 +0000 (18:20 +1100)]
pyrpc: do the pipe connect on a real memory context
Andrew Tridgell [Fri, 2 Apr 2010 07:19:47 +0000 (18:19 +1100)]
debug: enable talloc logging
we want to ensure talloc warnings are printed in the log
Andrew Tridgell [Fri, 2 Apr 2010 07:18:53 +0000 (18:18 +1100)]
talloc: a useful bit of debug code
this is useful when tracking down talloc loops. It is probably too
expensive to have on by default.
Andrew Tridgell [Fri, 2 Apr 2010 07:17:52 +0000 (18:17 +1100)]
talloc: add a define for TALLOC_MAX_DEPTH
Thanks to the suggestion from simo
Andrew Tridgell [Fri, 2 Apr 2010 01:02:55 +0000 (12:02 +1100)]
talloc: change talloc minor version to 2.0.2
this has the talloc_is_parent() bugfix
Andrew Tridgell [Fri, 2 Apr 2010 00:59:49 +0000 (11:59 +1100)]
talloc: limit the depth that talloc will go for talloc_is_parent()
We have a bug in the dcerpc registry code that can cause a talloc loop
that chews unlimited CPU because of talloc_is_parent() during a
talloc_free()
Jeremy Allison [Thu, 1 Apr 2010 23:47:59 +0000 (16:47 -0700)]
Move initialize_async_io_handler() inside of smbd/aio.c.
Call from actual aio read or write. No reason to call this globally on startup.
Jeremy.
Jeremy Allison [Thu, 1 Apr 2010 22:01:43 +0000 (15:01 -0700)]
Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
Ensure we don't regress.
Jeremy.
Stefan Metzmacher [Thu, 1 Apr 2010 16:10:47 +0000 (18:10 +0200)]
s3:winbindd: remove unused variables
metze
Stefan Metzmacher [Thu, 1 Apr 2010 14:23:06 +0000 (16:23 +0200)]
s3:winbindd: fix problems with SIGCHLD handling (bug #7317)
The main problem is that we call CatchChild() within the
parent winbindd, which overwrites the signal handler
that was registered by winbindd_setup_sig_chld_handler().
That means winbindd_sig_chld_handler() and winbind_child_died()
are never triggered when a winbindd domain child dies.
As a result will get "broken pipe" for all requests to that domain.
To reduce the risk of similar bugs in future we call
CatchChild() in winbindd_reinit_after_fork() now.
We also use a full winbindd_reinit_after_fork() in the
cache validation child now instead instead of just resetting
the SIGCHLD handler by hand. This will also fix possible
tdb problems on systems without pread/pwrite and disabled mmap
as we now correctly reopen the tdb handle for the child.
metze
Volker Lendecke [Thu, 1 Apr 2010 14:32:44 +0000 (16:32 +0200)]
s3: Ensure NULL termination before printing in winbindd_pam_logoff
Jelmer Vernooij [Thu, 1 Apr 2010 13:32:32 +0000 (15:32 +0200)]
s4-python: Ensure __init__ exists in samba.external, or importing will fail.
Jelmer Vernooij [Thu, 1 Apr 2010 13:20:25 +0000 (15:20 +0200)]
s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
Volker Lendecke [Thu, 1 Apr 2010 13:13:37 +0000 (15:13 +0200)]
s3: Fix a typo in winbindd_pam_logoff
Jelmer Vernooij [Thu, 1 Apr 2010 12:47:54 +0000 (14:47 +0200)]
subunitrun: Find testtools and subunit when they're not provided by the
system.
Stefan Metzmacher [Wed, 31 Mar 2010 18:54:18 +0000 (20:54 +0200)]
s3:winbindd: correctly invalidate the cached connection
There're maybe additional TCP connection for ncacn_ip_tcp.
metze
Stefan Metzmacher [Wed, 31 Mar 2010 18:20:26 +0000 (20:20 +0200)]
s3:winbindd: only set child_domain in the child
metze
Stefan Metzmacher [Thu, 1 Apr 2010 07:29:38 +0000 (09:29 +0200)]
s3:winbindd: make sure we don't try rpc requests against unaccessable domains
This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.
metze