ira/wip.git
12 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.
(This used to be commit 5fdbf89c898efff57c65061ea2c360d2cd91bcec)

12 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
(This used to be commit 3d2913d599a4cd773614110ec7b7493aa7adb547)

12 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
(This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45)

12 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
(This used to be commit ea110de1dc6257b78631b7d83b7bbb728180c1a1)

12 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
(This used to be commit 939e75126ebfcd9124781b5d70a68886c4bf9a54)

12 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
(This used to be commit 73a3e4e1eaa408ef0ddbbb8aa0113fdc869057bb)

12 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
(This used to be commit 18b932c980f2acdf9b5569cf61afece28c02abf5)

12 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
(This used to be commit 991c3fefa850c0b48111c6c5bacae14163872b58)

12 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
(This used to be commit 2588c399a0df99a87cf7c749133bceb6aa34a21a)

12 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
(This used to be commit 0afe205a7da4103a4fcfdd24f45a164493e3b9b8)

12 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
(This used to be commit c2e9d82d9497f0d245a46c5c82ff15306788109e)

12 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
(This used to be commit 93887f2e42bf4e632dab716deda6d2951dbd1f2a)

12 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
(This used to be commit 671988c7b5891deeca23e2305fe101a3be1a44d2)

12 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
(This used to be commit 5ba418d8bd7bd9a678853b23b0928da4f8693bcf)

12 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"
(This used to be commit 8a455b012827cfb917473a160c5710a90490451a)

12 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
(This used to be commit 347772fc39d9c7a96fcc72c9707696cc6abd89d7)

12 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.
(This used to be commit 5c4ce1dac3769bfe533a4ea778c916d117603603)

12 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)
(This used to be commit 82ed19ff64fc815a8ca9fbd7d3331671ecf5d12b)

12 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)
(This used to be commit 42c953c106b3da90e8c3452c4a246392502c200d)

12 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
(This used to be commit 75be2116ac2589aaf69038a4115197f40e4b16a5)

12 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
(This used to be commit d7ec9b2d52d1eddd98eba222f723fb6cdff4541f)

12 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
(This used to be commit 2dab9ad77954dc608f8910bf4d3cb92fcaad5cb6)

12 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
(This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)

12 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.
(This used to be commit 3d19112f645fb0f4bb6b644207ed2cee0b6b3ea9)

12 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
(This used to be commit 73312e4e21b6d14363bd0987e0c9716c4ec91834)

12 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
(This used to be commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae)

12 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
(This used to be commit f329aaf0452cc9bbad9fb6f67dac00bf8d1ef128)

12 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
(This used to be commit 22735ee14a244dbda768c26dbe83a1b2aa3c03ec)

12 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
(This used to be commit c4e51f5e761ab23fa08197fa9a52af6db4ab839d)

12 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
(This used to be commit 9be6b46f7715cdc7f77308d7613e8df73effe3c1)

12 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.
(This used to be commit 599d5f75c703a4cae3da87eb09b6a46285f6b074)

12 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
(This used to be commit bae7bd4bba4d49edec9cb58d47c1cb82aba16c6b)

12 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
(This used to be commit 4d6edcb2c8bd516e09a864d1990675ba9bcec796)

12 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
(This used to be commit 76f9e2e64644c6f21baf523b91455dc3aebb2163)

12 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
(This used to be commit e2699b7f86302e5c770f8e3160f72f070d700b6c)

12 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
(This used to be commit 3c300f9f8cffb5af32e291ec75007ab98fe96561)

12 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
(This used to be commit d9d92b64275127e29c80dbdc7cfe193289fef9a3)

12 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
(This used to be commit 887b6231198ce2ff6230e0939ddcf46759bc88bf)

12 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
(This used to be commit 1bb2b576a4fb546f51f1ad70ba8e8b3a86bff2c2)

12 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
(This used to be commit 35b2ee2bce93f6e659f95d91b0590edd02c9b348)

12 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
(This used to be commit 5712062d22237768a671aa918e39a22d290b0f0a)

12 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
(This used to be commit 39a447a232d0afbef55437a995f557553cbc8a0e)

12 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
(This used to be commit bbf665ad5790e89ff01867e2762fe2b94db7277d)

12 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
(This used to be commit af971f79c7d736eb5b7ae8fcd4b2bf7ccf4834f3)

12 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
(This used to be commit b871cb0cb6d32e5e97666bd429d0fb9940ae4b2e)

12 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
(This used to be commit 61157cb92ec2c12e565fb088170c7f430e3b5b77)

12 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
(This used to be commit 20a5053f0e75176e9ec1d4fd5a18626bbe3a0267)

12 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
(This used to be commit 1157048146084e9ab34d7c2e77e8d00b22df53a4)

12 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
(This used to be commit 278dde8a6c486505c2d7403103ba011e1abb039e)

12 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
(This used to be commit 879b000fd3ad123f64017071a6aaa17cdc926995)

12 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
(This used to be commit 95a7d21d3150ca9c24d48cf6a2976dcc1dfaaa05)

12 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
(This used to be commit c463bd0cb9927176eec89e25788c6ea78eafdd16)

12 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
(This used to be commit f440538c9480134ff05cf9c9f78a565808161101)

12 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
(This used to be commit 40ff40de5780fb17567b8d5ea75f5bb7f8d811c4)

12 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
(This used to be commit ed3c35d307456601ca00d88a5cc278d6604681e1)

12 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
(This used to be commit 36c99a3cad3c938a874f9b9f37c2265045957099)

12 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
(This used to be commit e01a1d8d651f680ca58b809dc569ff74592d53a9)

12 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
(This used to be commit 2712dade9d6495f3dbb75876ec32d73f8bb93f9f)

12 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
(This used to be commit 922b136ada1c502edcbbb89e9cca155cd6ad376c)

12 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
(This used to be commit beab1a31484836014aab5d2bcb38995435f6218b)

12 years agobuild: move libwbclient related target to libwbclient section in Makefile.in
Michael Adam [Sun, 6 Jul 2008 18:44:27 +0000 (20:44 +0200)]
build: move libwbclient related target to libwbclient section in Makefile.in

Michael
(This used to be commit 8f64706b095b9ca0e2a8f39cc3133bfd02f86158)

12 years agobuild: move libtdb target further down following common schema like with libtalloc
Michael Adam [Sun, 6 Jul 2008 18:39:45 +0000 (20:39 +0200)]
build: move libtdb target further down following common schema like with libtalloc

Michael
(This used to be commit f94b07f0c56928f890ffb1e2aca2c8bfcc954dd5)

12 years agobuild: fix uninstalllibnetapi target - handle symlink libnetapi.so
Michael Adam [Sun, 6 Jul 2008 18:38:03 +0000 (20:38 +0200)]
build: fix uninstalllibnetapi target - handle symlink libnetapi.so

and use the defined variables instead of hardcoded bits.
Also move the target into the libnetapi section (forgotten last time).

Michael
(This used to be commit 21b6164795344cea45161bc01828ec1127b5b6ab)

12 years agobuild: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)
Michael Adam [Sun, 6 Jul 2008 18:35:13 +0000 (20:35 +0200)]
build: fix installlibnetapi target - install symlink libnetapi.so (if appropriate)

Michael
(This used to be commit 59e7827e557c5096fb363051a4cf1835b2a53223)

12 years agobuild: add a cleanlibnetapi target and use it in make clean
Michael Adam [Sun, 6 Jul 2008 18:28:43 +0000 (20:28 +0200)]
build: add a cleanlibnetapi target and use it in make clean

Michael
(This used to be commit ff62887a94a7dd6f09995c820db7d825828bacad)

12 years agobuild: fix creation of the libnetapi shared lib: create soname library
Michael Adam [Sun, 6 Jul 2008 18:25:16 +0000 (20:25 +0200)]
build: fix creation of the libnetapi shared lib: create soname library

and add the .so file as symlink

Michael
(This used to be commit d9af2f7ab6b839e8074a69ce5d1fe66548c08e52)

12 years agobuild: move libnetapi related definitions and targets together into the libnetapi...
Michael Adam [Sun, 6 Jul 2008 18:11:50 +0000 (20:11 +0200)]
build: move libnetapi related definitions and targets together into the libnetapi section.

in Makefile.in

Michael
(This used to be commit da29e1ce44d4f99b876259fbad892691e2c7d7e0)

12 years agobuild: add an uninstalllibtdb target.
Michael Adam [Sun, 6 Jul 2008 12:43:12 +0000 (14:43 +0200)]
build: add an uninstalllibtdb target.

Michael
(This used to be commit c50c847f4b9772261f8011f32eec97d8244dccdd)

12 years agobuild: fix the installlibtdb target to install the soname file of libtdb.
Michael Adam [Sun, 6 Jul 2008 12:42:30 +0000 (14:42 +0200)]
build: fix the installlibtdb target to install the soname file of libtdb.

and create the .so file as a symlink (if appropriate)

Michael
(This used to be commit 5c090762f769b645c411333aef2085362bb2e6cb)

12 years agobuild: create a cleanlibtdb target and use it in target clean.
Michael Adam [Sun, 6 Jul 2008 12:37:29 +0000 (14:37 +0200)]
build: create a cleanlibtdb target and use it in target clean.

Michael
(This used to be commit ebfe13b79b24791bd9c854ac2f239f02796da6bb)

12 years agobuild: fix creation of the libtdb shared library.
Michael Adam [Sun, 6 Jul 2008 12:32:36 +0000 (14:32 +0200)]
build: fix creation of the libtdb shared library.

Create the libtdb.so.1 file and create the .so file as the symlink.
Not vice versa.

Michael
(This used to be commit 662d666b41b11ae70daf7422b1ced5f86209e608)

12 years agobuild: move libtdb related definitions and targets to libtdb section in Makefile.in
Michael Adam [Sun, 6 Jul 2008 11:07:54 +0000 (13:07 +0200)]
build: move libtdb related definitions and targets to libtdb section in Makefile.in

Michael
(This used to be commit a4de301af48f4e5b4898751e8836bdb434d047a6)

12 years agobuild: move all libtalloc related definitions into the libtalloc section in Makefile.in
Michael Adam [Sun, 6 Jul 2008 11:02:40 +0000 (13:02 +0200)]
build: move all libtalloc related definitions into the libtalloc section in Makefile.in

Michael
(This used to be commit b330892f4b2f9f50fd192e37720217d15fedf1f0)

12 years agobuild: move top level targets for the libs into the corresponding sections in Makefile.in
Michael Adam [Sun, 6 Jul 2008 10:53:21 +0000 (12:53 +0200)]
build: move top level targets for the libs into the corresponding sections in Makefile.in

Michael
(This used to be commit 4092059ff0bbb638c937c3f2b977ad431d868331)

12 years agobuild: add more structuring comments to Makefile.in
Michael Adam [Sun, 6 Jul 2008 10:51:04 +0000 (12:51 +0200)]
build: add more structuring comments to Makefile.in

for several shared libs and shared modules section

Michael
(This used to be commit 53cc6a3225c0c7baea4d8ea04eefc61283650434)

12 years agobuild: add structuring comments for libraries and libtalloc section.
Michael Adam [Sun, 6 Jul 2008 10:39:24 +0000 (12:39 +0200)]
build: add structuring comments for libraries and libtalloc section.

Michael
(This used to be commit 3de000890447dd15962fbd6a9b1b3504b9bd1175)

12 years agobuild: fix installlibtalloc to not install symlink if the library is not there
Michael Adam [Mon, 7 Jul 2008 14:16:28 +0000 (16:16 +0200)]
build: fix installlibtalloc to not install symlink if the library is not there

Michael
(This used to be commit 52ccb52c8e42e748fcc05337849945ddc30d5efa)

12 years agobuild: move libtalloc related targets together.
Michael Adam [Sun, 6 Jul 2008 00:52:09 +0000 (02:52 +0200)]
build: move libtalloc related targets together.

Michael
(This used to be commit 01b1e642d72ecccac5277b5f071aab8f6df04c0d)

12 years agobuild: add a cleanlibtalloc target.
Michael Adam [Sun, 6 Jul 2008 00:48:39 +0000 (02:48 +0200)]
build: add a cleanlibtalloc target.

Michael
(This used to be commit 5d3c6c3c1c08747c521292ef09648ad528c2dca9)

12 years agobuild: add an uninstalllibtalloc target
Michael Adam [Sun, 6 Jul 2008 00:40:19 +0000 (02:40 +0200)]
build: add an uninstalllibtalloc target

Michael
(This used to be commit 4b6ef6202cd9b6e1e8949c43d0c45c04d4b97438)

12 years agobuild: fix creation of link libtalloc.so on some systems.
Michael Adam [Sun, 6 Jul 2008 00:32:09 +0000 (02:32 +0200)]
build: fix creation of link libtalloc.so on some systems.

ln -s -f seem to be unknown on some solaris versions (e.g.).
so if there is an old libtalloc.so around, this will fail.
use rm -f prior to creating the link to circumvent this.

Michael
(This used to be commit d913b1e7316e84c1430f9d577f49d3c3e4e7719b)

12 years agobuild: fix the installlibtalloc target to install SONAME and \.so versions of shared...
Michael Adam [Sun, 6 Jul 2008 00:30:38 +0000 (02:30 +0200)]
build: fix the installlibtalloc target to install SONAME and \.so versions of shared lib.

Michael
(This used to be commit 49919889892f258cc669b08417e7569e8f5efaf4)

12 years agobuild: fix creation of talloc shared lib.
Michael Adam [Sun, 6 Jul 2008 00:29:02 +0000 (02:29 +0200)]
build: fix creation of talloc shared lib.

link the libtalloc.so.1 file and create libtalloc.so as a link

Michael
(This used to be commit 946537e6bec904d4a7937eeb6085dfac19c3e2b5)

12 years agobuild: add ability to use library files of the form NAME.so.VERSION to create version...
Michael Adam [Sun, 6 Jul 2008 00:26:57 +0000 (02:26 +0200)]
build: add ability to use library files of the form NAME.so.VERSION to create version script name.

Michael
(This used to be commit b8d13f8773f61863b71bfc9df468f0018b0db0d1)

12 years agoAllow authentication and memory credential refresh after password change from gdm...
Jeremy Allison [Mon, 7 Jul 2008 18:26:16 +0000 (11:26 -0700)]
Allow authentication and memory credential refresh after password change from gdm/xdm. Patch from boyang <boyang@novell.com>.
Jeremy.
(This used to be commit 8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)

12 years agoClean up winbindd_group.c too
Simo Sorce [Sun, 6 Jul 2008 16:55:07 +0000 (12:55 -0400)]
Clean up winbindd_group.c too
(This used to be commit 50a347f5503ebed0fcc7b9de60f8368677585bb1)

12 years agoClean up the rest of the file too
Simo Sorce [Sun, 6 Jul 2008 16:27:34 +0000 (12:27 -0400)]
Clean up the rest of the file too
(This used to be commit f6c92c4759096f839e3854a1e9eea56e6eecad4d)

12 years agoMore clean up, indentation and trailing space removal
Simo Sorce [Sun, 6 Jul 2008 16:17:22 +0000 (12:17 -0400)]
More clean up, indentation and trailing space removal
(This used to be commit d17d401603c1c26a5fd5eca5ece245790445e6d4)

12 years agoMake code more readable, fix indentation and traling spaces.
Simo Sorce [Sun, 6 Jul 2008 16:03:35 +0000 (12:03 -0400)]
Make code more readable, fix indentation and traling spaces.
(This used to be commit e19e12d5cbba28ccf682eaf0ff26909bd7e8e6c6)

12 years agoTiny logic simplification -- remove an else branch
Volker Lendecke [Thu, 3 Jul 2008 21:34:28 +0000 (23:34 +0200)]
Tiny logic simplification -- remove an else branch
(This used to be commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d)

12 years agoMake use of ADD_TO_ARRAY
Volker Lendecke [Thu, 3 Jul 2008 21:29:49 +0000 (23:29 +0200)]
Make use of ADD_TO_ARRAY
(This used to be commit 81f334bd6da601a040f754c46705cfa2fd4f8c45)

12 years agoConvert idmap_cache to gencache
Volker Lendecke [Thu, 3 Jul 2008 21:12:22 +0000 (23:12 +0200)]
Convert idmap_cache to gencache
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)

12 years agoAdd SMB_VFS_OP_RECVFILE to get it in sync with vfs.h
Lars Müller [Fri, 4 Jul 2008 12:51:01 +0000 (14:51 +0200)]
Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.h

Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported
by Franz Sirl.
(This used to be commit 72b96b75a4a1b523540a24fb758b1965ad66009b)

12 years agoSlightly increase the default idmap cache time
Volker Lendecke [Thu, 3 Jul 2008 19:03:58 +0000 (21:03 +0200)]
Slightly increase the default idmap cache time
(This used to be commit 448836d44d0468a74b962ba3c0b7d51de236374f)

12 years agoIDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it
Volker Lendecke [Thu, 3 Jul 2008 18:39:22 +0000 (20:39 +0200)]
IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it
(This used to be commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c)

12 years agoSimplify idmap_cache_set() a bit
Volker Lendecke [Thu, 3 Jul 2008 02:59:36 +0000 (04:59 +0200)]
Simplify idmap_cache_set() a bit

sid_check_is_in_unix_* will only give true if it is of the corresponding type,
so the check if the struct idmap actually represents a user or group is
unnecessary.
(This used to be commit 55b976ba93462c6885e8d89edd13c32fb5529944)

12 years agoSimplify idmap_cache_build_[s]idkey a bit
Volker Lendecke [Thu, 3 Jul 2008 02:57:30 +0000 (04:57 +0200)]
Simplify idmap_cache_build_[s]idkey a bit
(This used to be commit 80932c0266ef73b8d0462c078a053444fff47f32)

12 years agoPatch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate "acl...
Jeremy Allison [Thu, 3 Jul 2008 17:24:12 +0000 (10:24 -0700)]
Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp> for bug #5202. Re-activate "acl group control"
parameter and make it only apply to owning group. Also added man page fix.
Jeremy.
(This used to be commit e98e080bad2c8b9f038a8f2dffcfeba1d5f392ce)

12 years agoRemove an unused variable
Volker Lendecke [Thu, 3 Jul 2008 14:44:13 +0000 (16:44 +0200)]
Remove an unused variable
(This used to be commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0)

12 years agoRemove gencache_[un]lock_entry
Volker Lendecke [Thu, 3 Jul 2008 14:24:27 +0000 (16:24 +0200)]
Remove gencache_[un]lock_entry

Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-)
(This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)