gd/samba/.git
15 years agobuild: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
Michael Adam [Mon, 14 Jul 2008 16:00:50 +0000 (18:00 +0200)]
build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.

Eliminate more potential traps for picky makes.

Michael

15 years agobuild: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
Michael Adam [Mon, 14 Jul 2008 15:58:53 +0000 (17:58 +0200)]
build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.

Eliminate more potential traps for picky makes.

Michael

15 years agobuild: use $(WINBIND_LIBS) instead of @WINBIND_LIBS@ in rules.
Michael Adam [Mon, 14 Jul 2008 15:55:48 +0000 (17:55 +0200)]
build: use $(WINBIND_LIBS) instead of @WINBIND_LIBS@ in rules.

This fixes the build on systems with picky make, where
libwbclient is not built as a shared library, since the
expansion of @WINBIND_LIBS@ will result in an empty line
in the rule with just the leading tabs/spaces.

Michael

15 years agoAdd fix from Simo for bug #5540 - missing code to substitute
Jeremy Allison [Mon, 14 Jul 2008 19:40:33 +0000 (12:40 -0700)]
Add fix from Simo for bug #5540 - missing code to substitute
%u. Make this the same as other uses.
Jeremy.

15 years agoFix typo.
Karolin Seeger [Mon, 14 Jul 2008 14:40:36 +0000 (16:40 +0200)]
Fix typo.

retieve -> retrieve

Karolin

15 years agoFix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4
Simo Sorce [Sun, 13 Jul 2008 01:28:18 +0000 (21:28 -0400)]
Fix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4
We must not return an error here just because we are offline.
We must instead fix the mappings to the best of our knowledge
(ie mark as mapped, expired ones, and as unmapped, unknown ones)

15 years agoRemove one nested level by reversing if condition
Simo Sorce [Sun, 13 Jul 2008 01:23:16 +0000 (21:23 -0400)]
Remove one nested level by reversing if condition

15 years agoAdd back mem leak fixes
Simo Sorce [Sun, 13 Jul 2008 01:13:44 +0000 (21:13 -0400)]
Add back mem leak fixes

15 years agoMake again idmap_init static
Simo Sorce [Sun, 13 Jul 2008 01:13:05 +0000 (21:13 -0400)]
Make again idmap_init static

15 years agoRemove an unused extern reference in vfs_aixacl2.c
Volker Lendecke [Sun, 6 Jul 2008 10:19:28 +0000 (12:19 +0200)]
Remove an unused extern reference in vfs_aixacl2.c

15 years agoRevert "Fix two memory leaks in an error path in idmap.c"
Volker Lendecke [Fri, 11 Jul 2008 15:46:09 +0000 (17:46 +0200)]
Revert "Fix two memory leaks in an error path in idmap.c"

This reverts commit 7cec389e19323e99b6b6258e539be9d1fd65810f.

15 years agoRevert "Make idmap_init() static"
Volker Lendecke [Fri, 11 Jul 2008 15:46:00 +0000 (17:46 +0200)]
Revert "Make idmap_init() static"

This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492.

15 years agoRevert "Fix typo"
Volker Lendecke [Fri, 11 Jul 2008 15:45:54 +0000 (17:45 +0200)]
Revert "Fix typo"

This reverts commit fe58926283b51910d8587e32bb11aa681b9a27d3.

15 years agoRevert "Fix a debug msg, this was probably a leftover from gencache"
Volker Lendecke [Fri, 11 Jul 2008 15:45:46 +0000 (17:45 +0200)]
Revert "Fix a debug msg, this was probably a leftover from gencache"

This reverts commit daa171552dc00d9602a05ba199c9a3ff24c802f5.

15 years agoRevert "Fix indentation"
Volker Lendecke [Fri, 11 Jul 2008 15:45:40 +0000 (17:45 +0200)]
Revert "Fix indentation"

This reverts commit 954556b527aa652f9a46f0d48834e92befb3c5f9.

15 years agoRevert "Fix nonempty whitespace only lines"
Volker Lendecke [Fri, 11 Jul 2008 15:45:31 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"

This reverts commit 0da9d0d0f9662d8bd2f370f764d5a875e11b3068.

15 years agoRevert "fix typos"
Volker Lendecke [Fri, 11 Jul 2008 15:45:23 +0000 (17:45 +0200)]
Revert "fix typos"

This reverts commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9.

15 years agoRevert "Fix nonempty whitespace only lines"
Volker Lendecke [Fri, 11 Jul 2008 15:45:16 +0000 (17:45 +0200)]
Revert "Fix nonempty whitespace only lines"

This reverts commit cc77db2acbc35cea58576f1e28c7a760a5e31609.

15 years agoRevert "Tiny logic simplification: Remove an unnecessary else branch"
Volker Lendecke [Fri, 11 Jul 2008 15:45:09 +0000 (17:45 +0200)]
Revert "Tiny logic simplification: Remove an unnecessary else branch"

This reverts commit 6009ae329375b1c40e3d00df977ddccc8b5cc176.

15 years agoRevert "Fix typo"
Volker Lendecke [Fri, 11 Jul 2008 15:45:03 +0000 (17:45 +0200)]
Revert "Fix typo"

This reverts commit fe79c8a5b726754703626ca0bff57074274c98c7.

15 years agoRevert "Make use of sid_check_is_in_unix_users/groups"
Volker Lendecke [Fri, 11 Jul 2008 15:44:52 +0000 (17:44 +0200)]
Revert "Make use of sid_check_is_in_unix_users/groups"

This reverts commit cd8e63b2b45402091d6d328b3c6ca593fc19ac92.

15 years agoRevert "Don't scream, better explain a bit in comments"
Volker Lendecke [Fri, 11 Jul 2008 15:44:44 +0000 (17:44 +0200)]
Revert "Don't scream, better explain a bit in comments"

This reverts commit dcc39ed00453a075b23daece2844ca4817bfbfaf.

15 years agoRevert "Fix indentation"
Volker Lendecke [Fri, 11 Jul 2008 15:44:35 +0000 (17:44 +0200)]
Revert "Fix indentation"

This reverts commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306.

15 years agoRevert "Pass NULL to gencache_get when we are not interested in the timeout value"
Volker Lendecke [Fri, 11 Jul 2008 15:44:25 +0000 (17:44 +0200)]
Revert "Pass NULL to gencache_get when we are not interested in the timeout value"

This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0.

15 years agoRevert "Return timed out entries from gencache_get if timeout param != NULL"
Volker Lendecke [Fri, 11 Jul 2008 15:44:15 +0000 (17:44 +0200)]
Revert "Return timed out entries from gencache_get if timeout param != NULL"

This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7.

15 years agoRevert "Remove gencache_[un]lock_entry"
Volker Lendecke [Fri, 11 Jul 2008 15:44:09 +0000 (17:44 +0200)]
Revert "Remove gencache_[un]lock_entry"

This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059.

15 years agoRevert "Remove an unused variable"
Volker Lendecke [Fri, 11 Jul 2008 15:43:54 +0000 (17:43 +0200)]
Revert "Remove an unused variable"

This reverts commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0.

15 years agoRevert "Simplify idmap_cache_build_[s]idkey a bit"
Volker Lendecke [Fri, 11 Jul 2008 15:43:42 +0000 (17:43 +0200)]
Revert "Simplify idmap_cache_build_[s]idkey a bit"

This reverts commit 80932c0266ef73b8d0462c078a053444fff47f32.

15 years agoRevert "Simplify idmap_cache_set() a bit"
Volker Lendecke [Fri, 11 Jul 2008 15:43:25 +0000 (17:43 +0200)]
Revert "Simplify idmap_cache_set() a bit"

This reverts commit 55b976ba93462c6885e8d89edd13c32fb5529944.

15 years agoRevert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"
Volker Lendecke [Fri, 11 Jul 2008 15:43:17 +0000 (17:43 +0200)]
Revert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"

This reverts commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c.

15 years agoRevert "Slightly increase the default idmap cache time"
Volker Lendecke [Fri, 11 Jul 2008 15:43:07 +0000 (17:43 +0200)]
Revert "Slightly increase the default idmap cache time"

This reverts commit 448836d44d0468a74b962ba3c0b7d51de236374f.

15 years agoRevert "Convert idmap_cache to gencache"
Volker Lendecke [Fri, 11 Jul 2008 15:42:58 +0000 (17:42 +0200)]
Revert "Convert idmap_cache to gencache"

This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2.

15 years agoRevert "Make use of ADD_TO_ARRAY"
Volker Lendecke [Fri, 11 Jul 2008 15:42:48 +0000 (17:42 +0200)]
Revert "Make use of ADD_TO_ARRAY"

This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45.

15 years agoRevert "Tiny logic simplification -- remove an else branch"
Volker Lendecke [Fri, 11 Jul 2008 15:42:40 +0000 (17:42 +0200)]
Revert "Tiny logic simplification -- remove an else branch"

This reverts commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d.

15 years agobuild: fix build of libaddns shared lib : it needs socket_wrapper.
Michael Adam [Fri, 11 Jul 2008 13:35:24 +0000 (15:35 +0200)]
build: fix build of libaddns shared lib : it needs socket_wrapper.

Michael

15 years agobuild: fix build of libaddns shared lib. symbols file was missing.
Michael Adam [Fri, 11 Jul 2008 12:38:22 +0000 (14:38 +0200)]
build: fix build of libaddns shared lib. symbols file was missing.

This symbols file is checked because mksyms script currently does
not support headers without exportet symbols...

Michael

15 years agoFix the build of nfs4_acls.c
Volker Lendecke [Fri, 11 Jul 2008 11:03:42 +0000 (13:03 +0200)]
Fix the build of nfs4_acls.c

15 years agoAdd XATTR_NTACL_NAME constant.
Jeremy Allison [Fri, 11 Jul 2008 00:19:01 +0000 (17:19 -0700)]
Add XATTR_NTACL_NAME constant.
Jeremy.

15 years agoMerge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
Jeremy Allison [Thu, 10 Jul 2008 22:25:40 +0000 (15:25 -0700)]
Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test

15 years agoFix realpath() check so that it doesn't generate a core() when it fails.
Zach Loafman [Thu, 10 Jul 2008 18:45:48 +0000 (18:45 +0000)]
Fix realpath() check so that it doesn't generate a core() when it fails.

15 years agodocs: fix the specified default of "password server" - it is *, not "".
Michael Adam [Thu, 10 Jul 2008 21:49:58 +0000 (23:49 +0200)]
docs: fix the specified default of "password server" - it is *, not "".

Michael

15 years agoFix some memleaks regarding trustdom passwords
Volker Lendecke [Thu, 10 Jul 2008 16:21:03 +0000 (18:21 +0200)]
Fix some memleaks regarding trustdom passwords

15 years agoFix some uninitialized variable references via ndr_print
Volker Lendecke [Thu, 10 Jul 2008 16:20:30 +0000 (18:20 +0200)]
Fix some uninitialized variable references via ndr_print

15 years agoFix a segfault in base64_encode_data_blob
Volker Lendecke [Thu, 10 Jul 2008 16:12:24 +0000 (18:12 +0200)]
Fix a segfault in base64_encode_data_blob

We did not allocate enough memory for the \0 and a = at the end

15 years agobuild: remove SHLIBS variable, and distribute deps for shlibs and test_shlibs target
Michael Adam [Thu, 10 Jul 2008 14:25:21 +0000 (16:25 +0200)]
build: remove SHLIBS variable, and distribute deps for shlibs and test_shlibs target

Michael

15 years agobuild: create a new uninstalllibs target and use it in "make uninstall"
Michael Adam [Thu, 10 Jul 2008 13:51:14 +0000 (15:51 +0200)]
build: create a new uninstalllibs target and use it in "make uninstall"

Michael

15 years agobuild: distribute the libs target over the library-specific sections.
Michael Adam [Thu, 10 Jul 2008 13:49:44 +0000 (15:49 +0200)]
build: distribute the libs target over the library-specific sections.

Michael

15 years agobuild: use the libs target instead of the LIBRARIES variable as dependecy for "all".
Michael Adam [Thu, 10 Jul 2008 13:01:56 +0000 (15:01 +0200)]
build: use the libs target instead of the LIBRARIES variable as dependecy for "all".

Michael

15 years agobuild: distribute the cleanlibs target over the library-specific sections.
Michael Adam [Thu, 10 Jul 2008 12:58:36 +0000 (14:58 +0200)]
build: distribute the cleanlibs target over the library-specific sections.

Michael

15 years agobuild: introduce a installibs target and use it in "make install"
Michael Adam [Thu, 10 Jul 2008 12:15:39 +0000 (14:15 +0200)]
build: introduce a installibs target and use it in "make install"

The target is distributed over the library-specific sections.

Michael

15 years agodocs: fix the net conf section of net(8) to mention "config backend = registry".
Michael Adam [Thu, 10 Jul 2008 12:05:33 +0000 (14:05 +0200)]
docs: fix the net conf section of net(8) to mention "config backend = registry".

Michael

15 years agodocs: fix VERSION section in the net(8) manpage.
Michael Adam [Thu, 10 Jul 2008 11:50:04 +0000 (13:50 +0200)]
docs: fix VERSION section in the net(8) manpage.

It still said for version 3.0 ..

Michael

15 years agodocs: update the section about net conf in the net(8) manpage.
Michael Adam [Thu, 10 Jul 2008 11:46:25 +0000 (13:46 +0200)]
docs: update the section about net conf in the net(8) manpage.

The description of the "net conf {get,set,del}includes" commands was missing.

Michael

15 years agoman pages: Add missing whitespace.
Karolin Seeger [Thu, 10 Jul 2008 09:23:59 +0000 (11:23 +0200)]
man pages: Add missing whitespace.

Karolin

15 years agoA brown paper bag bug fix for "net sam rights"
Volker Lendecke [Thu, 10 Jul 2008 09:11:53 +0000 (11:11 +0200)]
A brown paper bag bug fix for "net sam rights"

15 years agoGive a nice error message if trying to join with a non-privileged user
Volker Lendecke [Thu, 10 Jul 2008 08:47:46 +0000 (10:47 +0200)]
Give a nice error message if trying to join with a non-privileged user

15 years agoAdd in the IDL to store a NT Security descriptor in
Jeremy Allison [Wed, 9 Jul 2008 23:54:38 +0000 (16:54 -0700)]
Add in the IDL to store a NT Security descriptor in
a blob. Use the same format as S4, but a new version
as we'll need to store the timestamp to check for
validity against the POSIX st_ctime.
Jeremy.

15 years agoFix alignment problems on sparc, bug 5512
Volker Lendecke [Fri, 4 Jul 2008 07:28:04 +0000 (09:28 +0200)]
Fix alignment problems on sparc, bug 5512

Patch successfully tested by Christoph Kaegi <kaph@zhaw.ch>, thanks.
(cherry picked from commit 9f8df16f476c49da85000b7365c8a6e33b8b71fc)

15 years agoRevert "tdbtool: fix off-by-one error in argument length. (bug #2344)"
Michael Adam [Wed, 9 Jul 2008 10:48:05 +0000 (12:48 +0200)]
Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"

This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.

This fix is not valid:

1. convert_string() is not only used for key strings but also for data.

2. Some databases use string_tdb_data() i.e. non-null-terminated strings
   as keynames and others (like the one I was using), use
   string_term_tdb_data(), i.e. zero-terminated key strings.

After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().

Sorry for the noise...

Michael
(cherry picked from commit 17c012c4645f4e9542537c15f80d9b4e74304d11)

15 years agoregistry: fix logic in deleting subkeys record in regdb_fetch_keys().
Michael Adam [Wed, 9 Jul 2008 08:40:39 +0000 (10:40 +0200)]
registry: fix logic in deleting subkeys record in regdb_fetch_keys().

Don't cancel on NT_STATUS_NOT_FOUND error from dbwrap_delete_bystring().
So deletion of an "incomlete" registry key, i.e. one with an entry in
the list of subkeys of its parent key but not a subkey list of its own,
works again.

Michael

15 years agoregistry: improve logic for deleting value records in regdb_store_keys().
Michael Adam [Wed, 9 Jul 2008 08:39:00 +0000 (10:39 +0200)]
registry: improve logic for deleting value records in regdb_store_keys().

Don't ignore all errors from dbwrap_delete_bystring() but
only NT_STATUS_NOT_FOUND.

Michael

15 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
Derrell Lipman [Wed, 9 Jul 2008 00:44:57 +0000 (20:44 -0400)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test

15 years ago[BUG 5580] Allow access to DFS shares via libsmbclient
Derrell Lipman [Wed, 9 Jul 2008 00:44:39 +0000 (20:44 -0400)]
[BUG 5580] Allow access to DFS shares via libsmbclient

Brian Sheehan provided a nice patch intended for the 3.0 code base.  This
commit applies a similar patch for the 3.3 code base.  It adds a new public
function to libsmbclient -- smbc_set_credentials() -- that may be called from
the authentication callback when DFS referrals are in use.

Derrell

15 years agoMinor style correction
Zach Loafman [Tue, 8 Jul 2008 02:30:47 +0000 (19:30 -0700)]
Minor style correction

Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage
so that assignments look like they're going to the same place.

15 years agotestsuite: fix another expr typo in net registry test script.
Michael Adam [Tue, 8 Jul 2008 22:33:54 +0000 (00:33 +0200)]
testsuite: fix another expr typo in net registry test script.

Michael

15 years agotestsuite: fix expr typo in net registry testscript.
Michael Adam [Tue, 8 Jul 2008 22:33:14 +0000 (00:33 +0200)]
testsuite: fix expr typo in net registry testscript.

Michael

15 years agoregistry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.
Michael Adam [Tue, 8 Jul 2008 15:10:01 +0000 (17:10 +0200)]
registry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.

According to the new policy a key (that is not a base key) exists,
iff it exists in the subkey list of its parent key.

Usually this subkeylist is present, but in a transaction-less
dbwrap backend (ctdb), a failing write can leave an "incomplete"
key without its own subkeylist-record. (Otherwise such an
incomplete key can be generated with e.g. tdbtool.)
For such a key net registry enumerate (e.g.) would fail.
This commit fixes this behaviour of regdb_fetch_keys().

Michael

15 years agobuild: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0
Michael Adam [Tue, 8 Jul 2008 15:00:07 +0000 (17:00 +0200)]
build: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0

to keep stuff together...

Michael

15 years agobuild: fix build of smbget by moving LIBSMBCLIENT_OBJ* defs up again
Michael Adam [Tue, 8 Jul 2008 14:55:52 +0000 (16:55 +0200)]
build: fix build of smbget by moving LIBSMBCLIENT_OBJ* defs up again

to their original place. The problem was that LIBSMCLIENT_OBJ1 is used
in SMBGET_OBJ and that the difinition of LIBSMBCLIENT_OBJ1 was moved
below the bin/smbget target. Somehow it had worked for me.

Thanks to Derrell for pointing that out.

Michael

15 years agotdbtool: fix off-by-one error in argument length. (bug #2344)
Michael Adam [Tue, 8 Jul 2008 13:33:36 +0000 (15:33 +0200)]
tdbtool: fix off-by-one error in argument length. (bug #2344)

This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.

It seems that it fixes bug #2344 ...

Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)

Michael

15 years agoFix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy Allison [Mon, 7 Jul 2008 22:51:08 +0000 (15:51 -0700)]
Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
Jeremy.

15 years agobuild: fix creation of libsmbclient.a - don't link in libtalloc.a
Michael Adam [Mon, 7 Jul 2008 16:32:50 +0000 (18:32 +0200)]
build: fix creation of libsmbclient.a - don't link in libtalloc.a

a step in fixing bug #5590

Michael

15 years agobuild: fix creation of libaddns.a - don't link in libtalloc.a
Michael Adam [Mon, 7 Jul 2008 16:30:12 +0000 (18:30 +0200)]
build: fix creation of libaddns.a - don't link in libtalloc.a

a step in fixing bug #5590

Michael

15 years agobuild: fix creation of libsmbsharemodes.a - don't link in libtdb.a.
Michael Adam [Mon, 7 Jul 2008 09:57:43 +0000 (11:57 +0200)]
build: fix creation of libsmbsharemodes.a - don't link in libtdb.a.

a step in fixing bug #5590

Michael

15 years agobuild: remove library-versions.in - it is not used any more.
Michael Adam [Mon, 7 Jul 2008 15:42:59 +0000 (17:42 +0200)]
build: remove library-versions.in - it is not used any more.

Michael

15 years agobuild: set SONAME version of libraries from configure, not using library-versions
Michael Adam [Mon, 7 Jul 2008 15:35:08 +0000 (17:35 +0200)]
build: set SONAME version of libraries from configure, not using library-versions

This sets the library versions (previously gotten from library-versions
file during make) already at configure time.

For library "foo", the version is stored in the LIBFOO_SOVER configure
variable.  For all libraries except libwbclient, this is done through the
call of SMB_LIBRARY().

NOTE: Currently the versions are hard-coded in the SMB_LIBRARY() calls in
configure.in, but this change makes it easier to retrieve the version from
the libraries source dir at configure time, e.g. for talloc and tdb.

Michael

15 years agobuild: extend SMB_LIBRARY() to take a version as an optional second argument
Michael Adam [Mon, 7 Jul 2008 15:34:00 +0000 (17:34 +0200)]
build: extend SMB_LIBRARY() to take a version as an optional second argument

This will allow transition away from library-versions in the next step.

Michael

15 years agobuild: combine the cleanlibfoo targets to one cleanlibs target
Michael Adam [Mon, 7 Jul 2008 17:06:16 +0000 (19:06 +0200)]
build: combine the cleanlibfoo targets to one cleanlibs target

And use that in make clean

Michael

15 years agobuild: fix shlibs target after internal changes, add libs target.
Michael Adam [Mon, 7 Jul 2008 15:32:18 +0000 (17:32 +0200)]
build: fix shlibs target after internal changes, add libs target.

The shlibs target now only builds the shared libs as the name suggests.
All libraries are built by the new "libs" target.

Michael

15 years agobuild: remove the SONAME_VER variable - not used anymore.
Michael Adam [Mon, 7 Jul 2008 14:24:17 +0000 (16:24 +0200)]
build: remove the SONAME_VER variable - not used anymore.

Michael

15 years agobuild: fix typo in use of cleanlibsmbclient target
Michael Adam [Mon, 7 Jul 2008 16:12:02 +0000 (18:12 +0200)]
build: fix typo in use of cleanlibsmbclient target

Michael

15 years agobuild: add a cleanlibaddns target and use it in "make clean"
Michael Adam [Mon, 7 Jul 2008 12:04:32 +0000 (14:04 +0200)]
build: add a cleanlibaddns target and use it in "make clean"

Michael

15 years agobuild: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Michael Adam [Mon, 7 Jul 2008 11:57:34 +0000 (13:57 +0200)]
build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.

Create .so file as a symlink.

Michael

15 years agobuild: extend SMB_LIBRARY() to optionally take default value.
Michael Adam [Mon, 7 Jul 2008 11:55:31 +0000 (13:55 +0200)]
build: extend SMB_LIBRARY() to optionally take default value.

The default value defaults to "yes".
If no is specified, an optional third argument contains the
reason why building of the shared library is turned off by default.

Michael

15 years agobuild: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\
Michael Adam [Mon, 7 Jul 2008 16:28:53 +0000 (18:28 +0200)]
build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\

Michael

15 years agobuild: move libaddns related bits to the libaddns section in Makefile.in
Michael Adam [Mon, 7 Jul 2008 09:59:10 +0000 (11:59 +0200)]
build: move libaddns related bits to the libaddns section in Makefile.in

Michael

15 years agobuild: create cleanlibsmbsharemodes target and use it in "make clean".
Michael Adam [Mon, 7 Jul 2008 07:26:21 +0000 (09:26 +0200)]
build: create cleanlibsmbsharemodes target and use it in "make clean".

Michael

15 years agobuild: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Michael Adam [Sun, 6 Jul 2008 22:41:23 +0000 (00:41 +0200)]
build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.

Create libsmbsharemodes.so as a symlink.

Michael

15 years agobuild: move libsmbsharemodes related vars and targets to libsmbsharemodes section...
Michael Adam [Sun, 6 Jul 2008 22:23:57 +0000 (00:23 +0200)]
build: move libsmbsharemodes related vars and targets to libsmbsharemodes section in Makefile.in

Michael

15 years agobuild: add structuring comment for libbigballofmud
Michael Adam [Sun, 6 Jul 2008 22:20:47 +0000 (00:20 +0200)]
build: add structuring comment for libbigballofmud

15 years agobuild: add cleanlibsmbclient target and use it in make clean.
Michael Adam [Sun, 6 Jul 2008 22:06:28 +0000 (00:06 +0200)]
build: add cleanlibsmbclient target and use it in make clean.

Michael

15 years agobuild: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
Michael Adam [Sun, 6 Jul 2008 22:02:50 +0000 (00:02 +0200)]
build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.

Create libsmbclient.so as a symlink to libsmbclient.so.0.

Michael

15 years agobuild: slightly change and extend the logic of SMB_LIBRARY().
Michael Adam [Sun, 6 Jul 2008 21:37:06 +0000 (23:37 +0200)]
build: slightly change and extend the logic of SMB_LIBRARY().

Only call the install/uninstall targets (from make (un)install)
for libraries configured with SMB_LIBRARY(), when the user did
not set --with-libname=no.

Make sure to always (at least) build the static version of the library.

Michael

15 years agobuild: rename (un)installclientlib to (un)installlibsmbclient
Michael Adam [Sun, 6 Jul 2008 20:10:23 +0000 (22:10 +0200)]
build: rename (un)installclientlib to (un)installlibsmbclient

keeping old targets as aliases for backward compatibility

Michael

15 years agobuild: move libsmbclient related variables and targets to libsmbclient section
Michael Adam [Sun, 6 Jul 2008 20:08:28 +0000 (22:08 +0200)]
build: move libsmbclient related variables and targets to libsmbclient section

Michael

15 years agobuild: move definition of SHLIBS to libraries section
Michael Adam [Sun, 6 Jul 2008 19:27:18 +0000 (21:27 +0200)]
build: move definition of SHLIBS to libraries section

Michael

15 years agobuild: add a cleanlibwbclient target to Makefile.in and use it for make clean.
Michael Adam [Sun, 6 Jul 2008 19:23:11 +0000 (21:23 +0200)]
build: add a cleanlibwbclient target to Makefile.in and use it for make clean.

Michael

15 years agobuild: add uninstalllibwbclient to Makefile.in and use it for uninstall
Michael Adam [Sun, 6 Jul 2008 19:20:54 +0000 (21:20 +0200)]
build: add uninstalllibwbclient to Makefile.in and use it for uninstall

Michael

15 years agobuild: fix the installlibwbclient target to use defined variables and install the...
Michael Adam [Sun, 6 Jul 2008 19:14:17 +0000 (21:14 +0200)]
build: fix the installlibwbclient target to use defined variables and install the symlink

Michael

15 years agobuild: fix creation of libwbclient shared lib by crating soname file
Michael Adam [Sun, 6 Jul 2008 18:48:00 +0000 (20:48 +0200)]
build: fix creation of libwbclient shared lib by crating soname file

and adding .so file as a symlink

Michael