Jelmer Vernooij [Sun, 4 Apr 2010 01:08:05 +0000 (03:08 +0200)]
urgent_replication: Use standard comments rather than docstrings.
Andreas Schneider [Thu, 1 Apr 2010 10:45:58 +0000 (12:45 +0200)]
s3-spoolss: Added a winreg_getform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Thu, 1 Apr 2010 09:51:59 +0000 (11:51 +0200)]
s3-spoolss: Added a winreg_setform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 13:31:21 +0000 (15:31 +0200)]
s3-spoolss: Added a winreg_deleteform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 11:04:04 +0000 (13:04 +0200)]
s3-spoolss: Added a winreg_addform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 11:03:09 +0000 (13:03 +0200)]
s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 30 Mar 2010 12:46:32 +0000 (14:46 +0200)]
s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Tue, 6 Apr 2010 15:01:15 +0000 (17:01 +0200)]
s3-spoolss: Added a delete_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Wed, 17 Mar 2010 14:59:10 +0000 (15:59 +0100)]
s3-spoolss: Added a enum_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:30:05 +0000 (12:30 +0100)]
s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Fri, 12 Mar 2010 16:31:21 +0000 (17:31 +0100)]
s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:27:51 +0000 (12:27 +0100)]
s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:24:59 +0000 (12:24 +0100)]
s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:24:40 +0000 (12:24 +0100)]
s3-spoolss: Added a function to open a regkey using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
Matthias Dieter Wallnöfer [Wed, 7 Apr 2010 13:02:23 +0000 (15:02 +0200)]
s4:WHATSNEW4.txt - further updates and corrections
Some are inspired by ekacnet.
Matthias Dieter Wallnöfer [Wed, 7 Apr 2010 12:33:09 +0000 (14:33 +0200)]
s4:pyregistry.c - fix indentation
Matthias Dieter Wallnöfer [Wed, 7 Apr 2010 12:20:18 +0000 (14:20 +0200)]
s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference
Günther Deschner [Wed, 7 Apr 2010 12:56:07 +0000 (14:56 +0200)]
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
Guenther
Günther Deschner [Wed, 7 Apr 2010 12:38:31 +0000 (14:38 +0200)]
s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
Guenther
Günther Deschner [Wed, 7 Apr 2010 12:37:30 +0000 (14:37 +0200)]
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
Guenther
Björn Jacke [Wed, 7 Apr 2010 10:21:07 +0000 (12:21 +0200)]
s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does
Günther Deschner [Tue, 6 Apr 2010 22:39:17 +0000 (00:39 +0200)]
s4-smbtorture: merge badname spoolss openprinter tests.
Guenther
Günther Deschner [Tue, 6 Apr 2010 22:38:02 +0000 (00:38 +0200)]
s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.
Guenther
Jeremy Allison [Tue, 6 Apr 2010 23:31:26 +0000 (16:31 -0700)]
Ensure we total up the correct number of creds requested in a compound request.
Jeremy Allison [Tue, 6 Apr 2010 22:43:35 +0000 (15:43 -0700)]
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
Set to 64k by default.
Jeremy.
Jelmer Vernooij [Tue, 6 Apr 2010 22:32:24 +0000 (00:32 +0200)]
Support 'make test TESTS=foo' again.
Jelmer Vernooij [Tue, 6 Apr 2010 22:26:28 +0000 (00:26 +0200)]
s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601.
Günther Deschner [Tue, 6 Apr 2010 11:23:22 +0000 (13:23 +0200)]
s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
Matthias Dieter Wallnöfer [Tue, 6 Apr 2010 12:52:38 +0000 (14:52 +0200)]
s4:param/secrets.c - add some "char *" casts
Also this quiets some warnings.
Matthias Dieter Wallnöfer [Tue, 6 Apr 2010 12:36:06 +0000 (14:36 +0200)]
s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning
Matthias Dieter Wallnöfer [Tue, 6 Apr 2010 12:32:27 +0000 (14:32 +0200)]
s4:torture - remove unused variables
Matthias Dieter Wallnöfer [Tue, 6 Apr 2010 12:26:20 +0000 (14:26 +0200)]
s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
Matthias Dieter Wallnöfer [Tue, 6 Apr 2010 12:09:38 +0000 (14:09 +0200)]
LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
Jelmer Vernooij [Tue, 6 Apr 2010 12:24:24 +0000 (14:24 +0200)]
s4-python: Fix compilation of samba._ldb.
Christian Ambach [Mon, 5 Apr 2010 12:12:52 +0000 (14:12 +0200)]
fix a segfault in the notify subsystem
When the notify_array cannot be loaded correctly,
do not keep the half-baked parsing results in the global variable.
This can lead to segfaults next time notify_load is entered and
the seqnum has not changed. This has been seen in a case
where mixed smbd versions were running in a CTDB cluster
(versions with and w/o commit
c216d1e6 that changed the
notify_entry structure).
There will be missed notifications until all smbds are at the
same software level, but this should be acceptable and is better
than crashing and interrupting client operations.
This fix cleans up the notify_array, removes the unparseable data
from the TDB and returns a fresh notify_array that can be worked
with.
The NDR_PRINT_DEBUG had to be moved to only be called when the
parsing succeeded, it was seen to cause additional segfaults.
The status variable is intentionally left to NT_STATUS_OK to not
make callers abort and report errors to the clients and make them
disconnect.
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
Jelmer Vernooij [Sun, 4 Apr 2010 00:20:52 +0000 (02:20 +0200)]
s4-python: Move set_session_info to PySambaLdb.
Jelmer Vernooij [Sun, 4 Apr 2010 00:07:46 +0000 (02:07 +0200)]
s4-python: Move register_samba_handlers to PySambaLdb.
Jelmer Vernooij [Sun, 4 Apr 2010 00:01:47 +0000 (02:01 +0200)]
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
Jelmer Vernooij [Sat, 3 Apr 2010 23:54:57 +0000 (01:54 +0200)]
s4-python: Move set_opaque_integer to pyldb.
Jelmer Vernooij [Sat, 3 Apr 2010 23:51:04 +0000 (01:51 +0200)]
Move glue.set_credentials hack to samba.Ldb.
Jelmer Vernooij [Sat, 3 Apr 2010 23:48:35 +0000 (01:48 +0200)]
Add C-based Samba-specific subclass of Ldb.
Andrew Tridgell [Tue, 6 Apr 2010 10:48:15 +0000 (20:48 +1000)]
s4-build: remove any 'makefile' that may have been left by the waf build
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build
Andrew Tridgell [Tue, 6 Apr 2010 09:31:39 +0000 (19:31 +1000)]
build: use a target_in_list() function for more flexible builtin control
Andrew Tridgell [Mon, 5 Apr 2010 08:16:47 +0000 (18:16 +1000)]
build: cope with binaries with subdir prefixes (for s3 waf build)
Andrew Tridgell [Mon, 5 Apr 2010 01:41:37 +0000 (11:41 +1000)]
s4-waf: don't need TOUCH_FILE() any more
Andrew Tridgell [Mon, 5 Apr 2010 01:26:45 +0000 (11:26 +1000)]
build: run distcheck in testwaf.sh
Andrew Tridgell [Mon, 5 Apr 2010 01:26:24 +0000 (11:26 +1000)]
s4-waf: add subdir argument to distcheck for source4
Andrew Tridgell [Mon, 5 Apr 2010 01:25:54 +0000 (11:25 +1000)]
build: update version of waf to add subdir argument to distcheck
Andrew Tridgell [Mon, 5 Apr 2010 01:25:20 +0000 (11:25 +1000)]
s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
Andrew Tridgell [Mon, 5 Apr 2010 01:23:28 +0000 (11:23 +1000)]
build: simpler symlink_bin and symlink_lib methods
Andrew Tridgell [Sun, 4 Apr 2010 23:58:23 +0000 (09:58 +1000)]
s4-waf: fixed waf distcheck for our standalone libs and s4
Andrew Tridgell [Sun, 4 Apr 2010 12:11:30 +0000 (22:11 +1000)]
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
Andrew Tridgell [Sun, 4 Apr 2010 11:29:34 +0000 (21:29 +1000)]
s4-waf: added python_dsdb from merge with master
Andrew Tridgell [Sun, 4 Apr 2010 11:14:21 +0000 (21:14 +1000)]
build: fixed LOAD_ENVIRONMENT for out of tree builds
Andrew Tridgell [Sun, 4 Apr 2010 08:31:54 +0000 (18:31 +1000)]
s4-waf: autogen-waf.sh for the standalone library builds
Andrew Tridgell [Sun, 4 Apr 2010 08:27:30 +0000 (18:27 +1000)]
s4-waf: new autogen-waf.sh
this one will work with the tdb, talloc, etc directories
Andrew Tridgell [Sun, 4 Apr 2010 03:16:49 +0000 (13:16 +1000)]
s4-waf: use a common pattern for finding buildtools and libs
Andrew Tridgell [Sun, 4 Apr 2010 03:08:05 +0000 (13:08 +1000)]
s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
Andrew Tridgell [Sun, 4 Apr 2010 01:40:05 +0000 (11:40 +1000)]
s4-waf: fixed finding of buildtools and srcdir
Andrew Tridgell [Sun, 4 Apr 2010 01:02:15 +0000 (11:02 +1000)]
ldb-waf: fixed buildtools path
Andrew Tridgell [Sun, 4 Apr 2010 01:00:42 +0000 (11:00 +1000)]
s4-waf: avoid having to run waf configure before waf dist
This should be useful for building tarballs from a clean checkout
Andrew Tridgell [Sun, 4 Apr 2010 00:23:43 +0000 (10:23 +1000)]
build: nicer error msg when git ls-files fails
Andrew Tridgell [Sun, 4 Apr 2010 00:18:39 +0000 (10:18 +1000)]
s4-waf: allow standalone tarball build of libraries
Andrew Tridgell [Sun, 4 Apr 2010 00:06:34 +0000 (10:06 +1000)]
s4-waf: added 'waf dist' to our standalone libs as well
Andrew Tridgell [Sat, 3 Apr 2010 23:57:33 +0000 (09:57 +1000)]
s4-waf: added 'waf dist' to build the tarball
Andrew Tridgell [Sat, 3 Apr 2010 22:04:39 +0000 (08:04 +1000)]
build: removed some unused imports found by pyflakes
thanks to Jelmer for pointing me at pyflakes
Andrew Tridgell [Sat, 3 Apr 2010 12:26:35 +0000 (23:26 +1100)]
talloc-waf: install talloc.pc if standalone
Andrew Tridgell [Sat, 3 Apr 2010 12:26:21 +0000 (23:26 +1100)]
build: fixed the expansions in pkgconfig files
thanks to Jelmer for the hint on this
Andrew Tridgell [Sat, 3 Apr 2010 11:46:32 +0000 (22:46 +1100)]
build: fixed DESTDIR for TOUCH_FILE()
Andrew Tridgell [Sat, 3 Apr 2010 11:25:33 +0000 (22:25 +1100)]
build: waf update to fix macos build error
Andrew Tridgell [Sat, 3 Apr 2010 10:21:24 +0000 (21:21 +1100)]
build: try to fix the python link problem on SerNet-imini
Andrew Tridgell [Sat, 3 Apr 2010 03:11:31 +0000 (14:11 +1100)]
build: use waf from waf-svn.git repo
Added README explaining where waf comes from, and where to get the
upstream sources and the exact version we use in Samba
Andrew Tridgell [Fri, 2 Apr 2010 23:41:44 +0000 (10:41 +1100)]
build: try the generic C compiler on hpux if gcc not found
Andrew Tridgell [Fri, 2 Apr 2010 22:41:17 +0000 (09:41 +1100)]
build: update wav-svn
this version works around the tarfile problem on irix
Andrew Tridgell [Fri, 2 Apr 2010 22:19:57 +0000 (09:19 +1100)]
build: added 'generic' cc support and a simple irix cc support module
these will let us get past the 'detect cc' stage and try a build. It
also makes for a reasonable template for new ports
Andrew Tridgell [Fri, 2 Apr 2010 10:32:42 +0000 (21:32 +1100)]
build: initial version of a tru64 compiler module
this doesn't do shared libs yet, but at least configure passes
Andrew Tridgell [Fri, 2 Apr 2010 10:27:09 +0000 (21:27 +1100)]
pidl-waf: disable pidl manpages
it's still causing trouble in the build farm
Andrew Tridgell [Fri, 2 Apr 2010 09:55:37 +0000 (20:55 +1100)]
pidl-waf: better handling of the man page generation
we now avoid leaving build files in the source tree
Andrew Tridgell [Fri, 2 Apr 2010 09:18:57 +0000 (20:18 +1100)]
pidl-waf: build pidl man pages and parsers separately
this should prevent gratuitious builds
Andrew Tridgell [Fri, 2 Apr 2010 08:57:32 +0000 (19:57 +1100)]
build: don't depend on the blib/ files in SAMBA_PIDL()
Andrew Tridgell [Fri, 2 Apr 2010 08:19:12 +0000 (19:19 +1100)]
talloc-waf: match version number with main build
Andrew Tridgell [Fri, 2 Apr 2010 07:16:23 +0000 (18:16 +1100)]
build: loop until all object reductions are complete
we will issue a warning if any object duplication remains
Andrew Tridgell [Fri, 2 Apr 2010 02:10:14 +0000 (13:10 +1100)]
build: make sure the directory exists in TOUCH_FILE()
Andrew Tridgell [Fri, 2 Apr 2010 02:06:35 +0000 (13:06 +1100)]
build: nicer display of command type for prototypes and generators
Andrew Tridgell [Fri, 2 Apr 2010 01:26:27 +0000 (12:26 +1100)]
s4-waf: create a blank __init__.py in samba/external
needed for the external lib loader
Andrew Tridgell [Fri, 2 Apr 2010 01:20:23 +0000 (12:20 +1100)]
s4-waf: fixed install location of external python libs
this merges with jelmers recent changes in master
Andrew Tridgell [Fri, 2 Apr 2010 00:55:07 +0000 (11:55 +1100)]
build: a bit more information for tracking --target deps
Andrew Tridgell [Fri, 2 Apr 2010 00:54:24 +0000 (11:54 +1100)]
s4-waf: format-subunit and filter-subunit are in python now
Andrew Tridgell [Thu, 1 Apr 2010 21:47:38 +0000 (08:47 +1100)]
s4-waf: added new install system for external python libs
Andrew Tridgell [Thu, 1 Apr 2010 13:15:02 +0000 (00:15 +1100)]
s4-waf: filter-subunit has been renamed
Andrew Tridgell [Thu, 1 Apr 2010 13:13:26 +0000 (00:13 +1100)]
s4-waf: updates for the new python installer from jelmer
Andrew Tridgell [Thu, 1 Apr 2010 11:19:32 +0000 (22:19 +1100)]
build: much simpler and faster rpath install handler
This avoids creating additional task generators at build time, and
instead moves all the rpath logic into samba_install.py where it is
triggered by the install_lib and install_bin features
Andrew Tridgell [Thu, 1 Apr 2010 01:30:56 +0000 (12:30 +1100)]
build: only link install targets at install time
Andrew Tridgell [Thu, 1 Apr 2010 06:24:02 +0000 (17:24 +1100)]
build: enable nothreads workaround only with WAF_NOTHREADS=1
Andrew Tridgell [Wed, 31 Mar 2010 22:49:46 +0000 (09:49 +1100)]
build: fixed the dependencies of the install targets
we want the install targets to have identical calculated dependencies
to the build targets.
Andrew Tridgell [Wed, 31 Mar 2010 12:14:50 +0000 (23:14 +1100)]
s4-waf: disable MAKEMAKER until a dependency problem is solved
Andrew Tridgell [Wed, 31 Mar 2010 10:26:33 +0000 (21:26 +1100)]
build: fixed the task counter when nothreads is used
Andrew Tridgell [Wed, 31 Mar 2010 10:01:29 +0000 (21:01 +1100)]
s4-waf: set JOBS=1 during configure.waf
this allows configure to run on AIX, which has broken threading
Andrew Tridgell [Wed, 31 Mar 2010 09:56:00 +0000 (20:56 +1100)]
build: enable 'nothreads' when JOBS=1
this makes waf not use pthreads, which should fix the problems on AIX
and maybe on HPUX. It looks like process handling with Python on AIX
is broken if threads are used.
When JOBS=1 we don't need threads anyway.
Andrew Tridgell [Wed, 31 Mar 2010 09:13:55 +0000 (20:13 +1100)]
build: refactor the object reduction code
split it out into a separate function, and use the final_* attributes
instead of the direct_* and indirect_* attributes