Jeremy Allison [Fri, 25 Feb 2011 00:56:49 +0000 (16:56 -0800)]
Gratuitous change to get around transient autobuild failure :-(.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 25 02:41:15 CET 2011 on sn-devel-104
Justin Maggard [Fri, 25 Feb 2011 00:25:30 +0000 (16:25 -0800)]
Detect Mac OS X as a separate client type.
Jeremy Allison [Fri, 25 Feb 2011 00:04:09 +0000 (16:04 -0800)]
Ensure we don't return an incorrect access mask.
From the Microsoft test suite @ Connectathon:
Test Case: TestSuite_ScenarioNo009GrantedAccessTestS0
File created with access = 0x7 (Read, Write, Delete)
Query Info on file returns 0x87 (Read, Write, Delete, Read Attributes)
Jeremy.
Günther Deschner [Thu, 24 Feb 2011 22:38:18 +0000 (23:38 +0100)]
s3-libads: make ndr_print_ads_auth_flags() static.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104
Günther Deschner [Thu, 24 Feb 2011 22:04:40 +0000 (23:04 +0100)]
s3-vfs: make syncops_connect in modules/vfs_syncops.c static.
Guenther
Günther Deschner [Thu, 24 Feb 2011 21:29:16 +0000 (22:29 +0100)]
s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.
Guenther
Günther Deschner [Thu, 24 Feb 2011 11:03:19 +0000 (12:03 +0100)]
s3-printing: move more printing defines out of includes.h
Guenther
Jeremy Allison [Thu, 24 Feb 2011 22:52:58 +0000 (14:52 -0800)]
Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move definition to correct place).
Thanks to Nick Meier @ Microsoft for finding this @ Connectathon.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
Jeremy Allison [Thu, 24 Feb 2011 19:59:35 +0000 (11:59 -0800)]
Batch oplocks conflict with exclusive as well as themselves.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 24 21:44:50 CET 2011 on sn-devel-104
Stefan Metzmacher [Thu, 24 Feb 2011 10:15:06 +0000 (11:15 +0100)]
s4:dynconfig: fix segfault in the set_dyn_*() functions
We should not try to call free on a const string (the default one).
Now we make sure that the dyn_* variable is never NULL
and only allocated if it's not the default value.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104
Stefan Metzmacher [Thu, 24 Feb 2011 10:13:53 +0000 (11:13 +0100)]
s4:dynconfig: add prototypes for *dyn_LOCALEDIR
metze
Stefan Metzmacher [Wed, 23 Feb 2011 20:42:25 +0000 (21:42 +0100)]
s3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 24 07:43:59 CET 2011 on sn-devel-104
Andrew Tridgell [Thu, 24 Feb 2011 02:01:27 +0000 (13:01 +1100)]
build: moved util_reg.c into a common subsystem
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
Andrew Tridgell [Thu, 24 Feb 2011 02:00:52 +0000 (13:00 +1100)]
build: moved spnego_parse.c into a common subsystem
Jeremy Allison [Thu, 24 Feb 2011 02:32:35 +0000 (18:32 -0800)]
Remember to free the second temporary string.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 24 04:17:49 CET 2011 on sn-devel-104
Jeremy Allison [Thu, 24 Feb 2011 02:24:41 +0000 (18:24 -0800)]
Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 test
We need to revalidate the pathname once re-constructed from a root fsp.
Jeremy.
Andrew Tridgell [Thu, 24 Feb 2011 00:55:45 +0000 (11:55 +1100)]
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
Andrew Tridgell [Thu, 24 Feb 2011 00:33:09 +0000 (11:33 +1100)]
build: moved lmhosts.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Thu, 24 Feb 2011 00:23:53 +0000 (11:23 +1100)]
build: moved libds/common/flag_mapping.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 23 Feb 2011 23:36:55 +0000 (10:36 +1100)]
build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 23 Feb 2011 23:28:43 +0000 (10:28 +1100)]
build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Günther Deschner [Wed, 23 Feb 2011 14:48:23 +0000 (15:48 +0100)]
s3-docs: document all wbinfo options.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 23:45:40 CET 2011 on sn-devel-104
Günther Deschner [Wed, 23 Feb 2011 11:29:24 +0000 (12:29 +0100)]
s3-waf: start adding checks for quota support.
Guenther
Günther Deschner [Wed, 23 Feb 2011 16:00:39 +0000 (17:00 +0100)]
s3-waf: remove more unused variables.
Guenther
Günther Deschner [Wed, 23 Feb 2011 15:50:57 +0000 (16:50 +0100)]
s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).
Guenther
Günther Deschner [Wed, 23 Feb 2011 15:19:48 +0000 (16:19 +0100)]
s3-waf: move GROUPDB into libpassdb.so.
Guenther
Simo Sorce [Wed, 23 Feb 2011 20:09:48 +0000 (15:09 -0500)]
Fix broken build with make dist tarballs
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Feb 23 22:02:06 CET 2011 on sn-devel-104
Christian Ambach [Tue, 22 Feb 2011 14:45:44 +0000 (15:45 +0100)]
s3:libsmb only log a dead connection if it was not closed
in case the cli was closed before (e.g. via a dropped ip message)
it can be expected that the read here returns with an error and so
we should not log that a connection is dead when it was closed before
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104
Volker Lendecke [Wed, 23 Feb 2011 14:26:38 +0000 (15:26 +0100)]
s3: Fix 64-bit errors
Casting those variables will lead to sscanf believing that it sees pointers to
unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory
it should not overwrite. Assigning the vars later is okay, there we get
automatic type conversion. C can be nasty ...
Christian, please check!
Volker Lendecke [Wed, 23 Feb 2011 14:25:36 +0000 (15:25 +0100)]
s3: Fix an uninitialized variable use
The "goto error;" lead to the invalid talloc_free.
Christian, please check!
Christian Ambach [Wed, 16 Feb 2011 18:05:21 +0000 (19:05 +0100)]
s3:idmap:autorid prevent fatal configuration changes
as the autorid module relies on a stable minimum uid/gid value
and rangesize, it now saves the values used at first successful start
and refuses to work if these values get changed in smb.conf later.
Changing the values after the first mapping was done will result
in unpredictable behaviour.
Another check covers the maximum uid value. If this gets decreased
later and domain range mappings already exist that would result
in uid values higher than the new uid value, initialization will
be aborted
Günther Deschner [Wed, 23 Feb 2011 12:29:00 +0000 (13:29 +0100)]
s3-proto: remove some prototypes of non-existing functions.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
Volker Lendecke [Wed, 23 Feb 2011 12:25:12 +0000 (13:25 +0100)]
s3: Improve an error msg in vfs_gpfs
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 23 14:12:39 CET 2011 on sn-devel-104
Günther Deschner [Wed, 23 Feb 2011 10:30:11 +0000 (11:30 +0100)]
lib/util/charset: ICONV_WRAPPER needs talloc.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 12:46:33 CET 2011 on sn-devel-104
Stefan Metzmacher [Tue, 22 Feb 2011 08:19:49 +0000 (09:19 +0100)]
s3-waf: make use of LIBCLI_CLDAP subsystem
metze
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 10:17:01 CET 2011 on sn-devel-104
Andrew Tridgell [Wed, 23 Feb 2011 06:10:10 +0000 (17:10 +1100)]
build: fixed 'make dist' without configuring
this finds git inside samba_version.py
thanks to Simo for noticing this problem
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 07:55:28 CET 2011 on sn-devel-104
Andrew Tridgell [Wed, 23 Feb 2011 06:05:47 +0000 (17:05 +1100)]
build: don't display expected duplicate symbols
Jeremy Allison [Wed, 23 Feb 2011 00:40:23 +0000 (16:40 -0800)]
Torture test added to run_opentest() to ensure we don't regress on
the previous change.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104
Jeremy Allison [Wed, 23 Feb 2011 00:38:42 +0000 (16:38 -0800)]
Fix bug found against the new Mac client @ Connectathon. Mac clients
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating
the write time on close fails as smb_set_file_time() now (correctly) checks
for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time
update. This is an internal time update being done on a close, not a handle-based
client request.
Günther Deschner [Tue, 22 Feb 2011 23:31:35 +0000 (00:31 +0100)]
s3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols with winbindd.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 02:16:23 CET 2011 on sn-devel-104
Andrew Tridgell [Tue, 22 Feb 2011 23:20:15 +0000 (10:20 +1100)]
build: duplicate symbols between system libraries aren't interesting
we expect dups in libpthread, libc and libattr
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 01:29:38 CET 2011 on sn-devel-104
Andrew Tridgell [Tue, 22 Feb 2011 23:08:12 +0000 (10:08 +1100)]
s3-waf: added SYMBOLCHECK support to source3 waf build
Andrew Tridgell [Tue, 22 Feb 2011 04:48:50 +0000 (15:48 +1100)]
build: move idtree.c into samba-util-common
Andrew Tridgell [Tue, 22 Feb 2011 03:33:06 +0000 (14:33 +1100)]
build: moved more files into samba-util-common
this removes UTIL_SRC from the s3 waf build, as it is now all in
common with samba-util-common
Andrew Tridgell [Tue, 22 Feb 2011 03:10:38 +0000 (14:10 +1100)]
build: created samba-util-common library
this library will contain files that can be built in common between s3
and s4. Both samba-util and samba-util3 depend on it.
Currently this library needs to be marked as allow_undefined_symbols,
in order to allow s4 to build it. We can remove that flag once we have
all the needed symbols in common
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Jelmer Vernooij [Tue, 22 Feb 2011 22:52:25 +0000 (23:52 +0100)]
Make lpcfg_server_role public.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
Günther Deschner [Tue, 22 Feb 2011 22:07:58 +0000 (23:07 +0100)]
Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"
Metze, we need to cleanup deps to idtree and cli-ldap first.
Guenther
This reverts commit
ac4497edae2800c3fc7c40f0e538b936f1965a75.
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104
Günther Deschner [Tue, 22 Feb 2011 21:56:23 +0000 (22:56 +0100)]
s3-waf: add check for getspnam().
Guenther
Günther Deschner [Tue, 22 Feb 2011 21:34:05 +0000 (22:34 +0100)]
s3-waf: add check for TDB_ERR_NESTING.
Guenther
Günther Deschner [Tue, 22 Feb 2011 20:36:35 +0000 (21:36 +0100)]
s3-waf: add check for sendfile on AIX.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
Günther Deschner [Tue, 22 Feb 2011 20:33:06 +0000 (21:33 +0100)]
s3-waf: add check for sendfile on solaris.
Guenther
Günther Deschner [Tue, 22 Feb 2011 20:24:39 +0000 (21:24 +0100)]
s3-waf: add check for sendfile on hpux.
Guenther
Günther Deschner [Tue, 22 Feb 2011 20:16:39 +0000 (21:16 +0100)]
s3-waf: add check for sendfile on freebsd.
Guenther
Günther Deschner [Tue, 22 Feb 2011 20:11:15 +0000 (21:11 +0100)]
s3-waf: add check for sendfile on linux.
Guenther
Günther Deschner [Tue, 22 Feb 2011 19:43:23 +0000 (20:43 +0100)]
s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Guenther
Günther Deschner [Tue, 22 Feb 2011 18:45:24 +0000 (19:45 +0100)]
s3-includes: move some chgpasswd related defines to the locations where they are used.
Guenther
Günther Deschner [Tue, 22 Feb 2011 18:46:11 +0000 (19:46 +0100)]
s3-printing: move more printing structs to printing.h
Guenther
Günther Deschner [Tue, 22 Feb 2011 18:24:31 +0000 (19:24 +0100)]
s3-printing: only include printing where really needed.
Guenther
Günther Deschner [Mon, 21 Feb 2011 13:37:21 +0000 (14:37 +0100)]
s3-printing: fix pcacp prototypes and includes.
Guenther
Günther Deschner [Tue, 22 Feb 2011 09:28:29 +0000 (10:28 +0100)]
s3-printing: isolate print notification prototypes better.
Guenther
Stefan Metzmacher [Tue, 22 Feb 2011 08:37:28 +0000 (09:37 +0100)]
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
Stefan Metzmacher [Tue, 22 Feb 2011 08:37:07 +0000 (09:37 +0100)]
s4:build: add RPC_NDR_ATSVC subsystem
metze
Stefan Metzmacher [Tue, 22 Feb 2011 08:19:49 +0000 (09:19 +0100)]
s3-waf: make use of LIBCLI_CLDAP subsystem
metze
Volker Lendecke [Tue, 22 Feb 2011 14:30:14 +0000 (15:30 +0100)]
s3: Fix filtering in pdb_ads_search_users
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
Volker Lendecke [Mon, 21 Feb 2011 19:51:21 +0000 (20:51 +0100)]
s3: Fix some nonempty blank lines
Volker Lendecke [Mon, 21 Feb 2011 11:45:14 +0000 (12:45 +0100)]
s3: Fix a typo
Günther Deschner [Tue, 22 Feb 2011 13:33:10 +0000 (14:33 +0100)]
s3-waf: add replacetort binary.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 15:42:58 CET 2011 on sn-devel-104
Günther Deschner [Tue, 22 Feb 2011 11:43:12 +0000 (12:43 +0100)]
s3-waf: add check for ftruncate extend.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
Günther Deschner [Tue, 22 Feb 2011 10:57:23 +0000 (11:57 +0100)]
s3-waf: add check for realpath() NULL arg.
Guenther
Günther Deschner [Tue, 22 Feb 2011 10:53:51 +0000 (11:53 +0100)]
s3-waf: add check for makedev().
Guenther
Günther Deschner [Tue, 22 Feb 2011 10:49:52 +0000 (11:49 +0100)]
s3-waf: add check for TIME_T_MAX.
Guenther
Günther Deschner [Tue, 22 Feb 2011 10:41:06 +0000 (11:41 +0100)]
s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
Nadezhda Ivanova [Tue, 22 Feb 2011 04:30:53 +0000 (06:30 +0200)]
s4-descriptor: Fixed a typo in a comment and clarified it a bit.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
Nadezhda Ivanova [Tue, 22 Feb 2011 04:28:19 +0000 (06:28 +0200)]
s4-descriptor: Fixed some missing curly braces.
Matthias Dieter Wallnöfer [Tue, 22 Feb 2011 09:26:04 +0000 (10:26 +0100)]
s4:torture/rpc/netlogon.c - fix two build warnings by casts
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
Andrew Bartlett [Tue, 22 Feb 2011 02:37:06 +0000 (13:37 +1100)]
selftest the raw.mux test is flaky:
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK
establishing a lock
the second lock will conflict with the first
this will too, but we'll unlock while waiting
unlock the first range
recv the async reply
async lock took 265.40 msec
failed to trigger early lock retry
UNEXPECTED(error): samba3.posix_s3.raw.mux.mux
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
Andrew Bartlett [Thu, 10 Feb 2011 09:21:11 +0000 (20:21 +1100)]
s4-auth Move libcli/security/session.c to the top level
This code is now useful in common, as the elements of the
auth_session_info structure have now been defined in common IDL.
Andrew Bartlett
Stefan Metzmacher [Mon, 21 Feb 2011 09:30:28 +0000 (10:30 +0100)]
s3:auth: change num_groups to from size_t to uint32_t
This will help with the change from UNIX_USER_TOKEN to security_unix_token
metze
Andrew Bartlett [Mon, 21 Feb 2011 09:25:52 +0000 (10:25 +0100)]
s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info
These variables, of type struct auth_serversupplied_info were poorly
named when added into 2001, and in good consistant practice, this has
extended all over the codebase in the years since.
The structure is also not ideal for it's current purpose. Originally
intended to convey the results of the authentication modules, it
really describes all the essential attributes of a session. This
rename will reduce the volume of a future patch to replaced these with
a struct auth_session_info, with auth_serversupplied_info confined to
the lower levels of the auth subsystem, and then eliminated.
(The new structure will be the output of create_local_token(), and the
change in struct definition will ensure that this is always run, populating
local groups and privileges).
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Andrew Bartlett [Tue, 22 Feb 2011 01:28:33 +0000 (12:28 +1100)]
selftest: Improve gdb_backtrace to run in batch mode
Following Tridge's advice, we need to have no input (/dev/null) and
-batch for reliable opeation on big backtraces.
We should also use --pid, and let gdb find the binary
Andrew Bartlett
Andrew Bartlett [Tue, 22 Feb 2011 00:56:18 +0000 (11:56 +1100)]
selftest pass in srcdir into Samba3 target module
Andrew Bartlett [Tue, 22 Feb 2011 00:21:53 +0000 (11:21 +1100)]
smbtorture Remove random file name before we start RW2
Andrew Bartlett [Mon, 21 Feb 2011 05:01:44 +0000 (16:01 +1100)]
s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.
Andrew Bartlett
Andrew Bartlett [Mon, 21 Feb 2011 22:17:05 +0000 (09:17 +1100)]
selftest split $PERL into multiple arguments for Test::More check
Andrew Bartlett [Mon, 21 Feb 2011 00:16:03 +0000 (11:16 +1100)]
selftest move selftesthelpers to a top level helper script
Andrew Bartlett [Sun, 20 Feb 2011 22:10:33 +0000 (09:10 +1100)]
s3-tests use $PREFIX to ensure tests don't work outside the test area
Andrew Bartlett
Andrew Bartlett [Fri, 18 Feb 2011 07:52:00 +0000 (18:52 +1100)]
Add tests for various s3 auth modes
Andrew Tridgell [Mon, 21 Feb 2011 23:59:44 +0000 (10:59 +1100)]
build: added WHYNEEDED=TARGET:DEPENDENCY
you can now do:
make WHYNEEDED=smbd/smbd:gensec
and it will print:
Checking why smbd/smbd needs to link to gensec
target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec'
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
Andrew Tridgell [Mon, 21 Feb 2011 23:47:27 +0000 (10:47 +1100)]
build: enhanced the symbolcheck code
we can now work out why a binary needs a library, and we can find all
the duplicate symbols (we currently have 1087 symbols defined in more
than one place in Samba).
Andrew Tridgell [Mon, 21 Feb 2011 05:46:58 +0000 (16:46 +1100)]
python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 05:45:53 +0000 (16:45 +1100)]
s4-waf: fixed make test for toplevel
amazingly, os.putenv() is broken. If you do os.putenv('FOO', '1') and
then do os.getenv('FOO') you don't get '1'
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 04:50:51 +0000 (15:50 +1100)]
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>
Andrew Tridgell [Mon, 21 Feb 2011 04:23:08 +0000 (15:23 +1100)]
s3-waf: build bin/smbclient3 for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 04:10:36 +0000 (15:10 +1100)]
build: we don't need the special case for s3build any more
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 04:05:54 +0000 (15:05 +1100)]
s3-waf: no need to add suffix3 to smbpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 04:05:28 +0000 (15:05 +1100)]
s4-waf: rename smbpasswd library to smbpasswdparser
this removes a conflict with the s3 smbpasswd binary
Andrew Tridgell [Mon, 21 Feb 2011 03:45:37 +0000 (14:45 +1100)]
s3-waf: convert some subsystems into private libraries
put some commonly used subsystems into private libraries to reduce the
install size
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 03:42:34 +0000 (14:42 +1100)]
s4-waf: rename 'param' to 'pyparam'
we will use 'param' for the s3 libparam.so
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 02:58:13 +0000 (13:58 +1100)]
s3-waf: work around broken cups-config --libs output
"cups-config --libs" returns -lgssapi_krb5, which ties it to the
system krb5 library. It should get this via the indirect dependency of
libcups.so instead.
Work around this by using 'cups' as the library and avoid using --libs
in the cups-config command
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 21 Feb 2011 01:17:49 +0000 (12:17 +1100)]
s3build: use source3/wscript for s3 configure rules
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>