1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

1491 Commits

Author SHA1 Message Date
Jelmer Vernooij
174fd4a731 Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88665a1e6a3d07a438cd978527306221)
2008-09-04 23:43:58 +02:00
Günther Deschner
0b484e684a netapi: add NetShareAdd skeleton.
Guenther
(This used to be commit 6e22bcc1f5cba9bc37ecf193bbc7e031b69134f5)
2008-08-29 13:58:03 +02:00
Volker Lendecke
13c66c8eb1 Move idmap_cache.c from winbindd/ to lib/
(This used to be commit fe70dcc1b63b1969c13f7fb03ec374b6e5a376a1)
2008-08-26 12:56:47 -07:00
Günther Deschner
98c3324cc3 build: make sure to create CODEPAGEDIR and MODULESDIR.
Guenther
(This used to be commit d31683cdc877b468e7443216ab9e6edff844c131)
2008-08-26 13:47:43 +02:00
Jeff Layton
a835c28bb7 cifs.upcall: move default install location to EPREFIX/sbin
cifs.upcall links to libraries that live under /usr, so installing it
in /sbin doesn't seem appropriate. Move it to EPREFIX/sbin instead
(i.e. /usr/sbin).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit 5c9a1b2c98cc712fc519225e62fba4e5088631a3)
2008-08-21 19:40:14 -04:00
Michael Adam
fdb4fcf30c build: add [clean_]libsmbclient_examples targets to top level Makefile
Michael
(This used to be commit b476400f0afcaf4e1a37b9f0b358f01dc7a194be)
2008-08-21 12:16:05 +02:00
Michael Adam
447852c9d8 build: auto-generate symbols for libsmbsharemodes.
Michael
(This used to be commit f1d84e76bb6935e80b01d13414980f8de1f71824)
2008-08-20 22:39:46 +02:00
Michael Adam
f483aa05e4 build: autogenerate symbols for libsmbclient.so
Michael
(This used to be commit d6fb6348a3672e915556dcb36c1a4999d4abae18)
2008-08-20 22:38:39 +02:00
Michael Adam
cc8404242c build: remove duplicated and hardcoded definition of LIBSMBSHAREMODES
Michael
(This used to be commit c3c3dadcab81f0a1ae8834e85e7e80a3da6601fb)
2008-08-20 22:38:07 +02:00
Michael Adam
e069dd4e5c build: rename LIBNETAPI_OBJ1 to LIBNETAPI_OBJ0 for consistency.
Michael
(This used to be commit ead9b9d7167d999d73cf4111f3b321236aac2a15)
2008-08-20 22:38:07 +02:00
Michael Adam
4928791d79 build: fix linking cifs.upcall when nscd_flush_cache() is found.
Michael
(This used to be commit 661b7fdffda40a9ca7cb36627dbaf91cb4357cd0)
2008-08-19 13:31:33 +02:00
Michael Adam
e9739694b6 configure: Add --with-modulesdir to accompany --with-libdir.
This starts the seplitting of libdir in to libdir and modulesdir.
Our shared libs should go into libdir, the internal shared modules,
codepages, and other stuff that was originally in libdir, should
go into modulesdir.

The idea behind this is, that in a typical installation,
the shared (and static) libraries (as libtalloc, libsmbclient,
libwbclient and others) should be put into /usr/lib, while
the e.g. the vfs modules should reside in /usr/lib/samba.

This is meant to ease the work of packagers and reduce
the needs for manual interaction and workarounds.

Michael
(This used to be commit b17d1ff646e22c3e979224d119b283fc3af780a8)
2008-08-15 23:19:56 +02:00
Michael Adam
b02216b93f Makefile: print codepagedir in "make showlayout".
Michael
(This used to be commit a823733b91958adf938214113e6875315c6ae5b2)
2008-08-15 23:19:55 +02:00
Michael Adam
dfd27586db build: fix a typo in the installlibtalloc rule.
The symlink liballoc.so -> libtalloc.so.1 would have been
created unconditionally, independent of the existence of
libtalloc.so.1.

Michael
(This used to be commit 04974818bda75c4315ad09b623e5df55c87dbc87)
2008-08-15 23:19:54 +02:00
Michael Adam
762439025a Revert "Add a gpfs_prefetch module"
This reverts commit fc9b30bed2d774dca6660b497cb50f982b23b885.

Sorry, this got pushed by accident:

"This can not go upstream yet because it uses the non-GPL libgpfs."

Michael
(This used to be commit 26a3cf0be918fe577a979f3e358d58359e42b2f1)
2008-08-14 17:46:28 +02:00
Andrew Tridgell
0f41961e4f first cut at adding full transactions for ctdb to samba3
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
2008-08-13 11:54:08 +02:00
Volker Lendecke
b0935e5663 Add a gpfs_prefetch module
This can not go upstream yet because it uses the non-GPL libgpfs. So it will
not be compiled by default and will not be included in the SOFS RPMs. But upon
Sven's request, we include it in the git tree and the source RPMs, so that it
can be built for in-house tests.
(This used to be commit fc9b30bed2d774dca6660b497cb50f982b23b885)
2008-08-13 11:54:05 +02:00
Herb Lewis
9caabc441b use variables for files used in multiple places
(cherry picked from commit cee044bc42d955c535dbb6bb372af01089d37756)
(This used to be commit 2462562b5c90bc1c46237cd980810b0a69cd116d)
2008-08-12 22:01:02 +02:00
Volker Lendecke
b67def0a55 Add simple async wrappers around send, recv and connect
To be used later :-)
(This used to be commit 0d161d336ab9eeccd90d19ef1473646c3008864a)
2008-08-08 18:30:57 +02:00
Michael Adam
e9a501a501 libnetapi: fix build of shared library after libnet_join changes.
This needs create_builtin_administrators() and create_builtin_users()
from token_utils now. Did not pop up because the only users of the
shared lib currently are the examples in lib/netapi/examples/
which are not automatically built.

Michael
(This used to be commit 8dca23a5597a717c7f79bab0494122e71528272b)
2008-08-06 13:56:52 +02:00
Zach Loafman
abaa69b32b Make DSO_EXPORTS_CMD regexp more POSIX compliant
The FreeBSD sed command doesn't understand \? without passing -E to turn
on extended regexps. This patch changes the DSO_EXPORTS_CMD regexp to a
POSIX compliant RE by switching the \+ to a \{1,\} bound and the \? to a
\{0,1\} bound.
(This used to be commit 0acc888ca91a7401c5e54388c58272e263f73069)
2008-07-22 15:00:48 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788)
2008-07-22 15:00:48 +02:00
Günther Deschner
a6aeb73e4a netapi: add ConvertSidToStringSid() for convenience of the callers.
Guenther
(This used to be commit b7633998ed76c7bb2faa803841fafe9126a39847)
2008-07-17 10:33:27 +02:00
Jeremy Allison
cdabee2bb4 This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.

It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.

This set should apply cleanly to the 3.3 test branch.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(This used to be commit c633f10d9e78327664e6bca51f66756bcf0505a6)
2008-07-16 17:27:05 -07:00
Derrell Lipman
db7bff1bab Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)
2008-07-16 09:48:23 -04:00
Derrell Lipman
deac1761f0 Static libsmbclient library needs to include all objects
LIBSMBCLIENT_OBJ0 contains only the libsmb/libsmb_*.o files.  We need the
  more inclusive set of object files defined by LIBSMBCLIENT_OBJ1.

Derrell
(This used to be commit 6c33c620072d641fc19ca0224c16af75f6cd7e9e)
2008-07-16 09:47:06 -04:00
Michael Adam
b385f6626b build: use $(PAM_WINBIND_EXTRA_LIBS) instead of @PAM_WINBIND_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 8897aaec32ef7cb4dab37a70754c8596409fed00)
2008-07-14 23:16:47 +02:00
Michael Adam
e147120918 build: use $(WINBIND_NSS_PTHREAD) instead of @WINBIND_NSS_PTHREAD@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit bf619d019225a7aaf17e213e65c5734e68094142)
2008-07-14 23:16:46 +02:00
Michael Adam
f6ec12f477 build: use $(WINBIND_NSS_EXTRA_LIBS) instead of @WINBIND_NSS_EXTRA_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 603b83c980a73e13f7dad35a28830105358c7544)
2008-07-14 23:16:46 +02:00
Michael Adam
f5715af1fe build: use $(LDAP_LIBS) instead of @LDAP_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 1f0feb3d12aa93400e8ba604df36a00d7cfaa07a)
2008-07-14 23:16:46 +02:00
Michael Adam
4d9c1bb8fc build: use $(LIBNETAPI_LIBS) instead of @LIBNETAPI_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit cd3c667bdaa8c2b09debbfd8c3389cf9f6d690e9)
2008-07-14 23:16:45 +02:00
Michael Adam
b1560e558a build: link in $(WINBIND_LIBS) instead of @LIBWBCLIENT_SHARED@
This should fix some more picky makes when not building @LIBWBCLINET_SHARED@
Moreover, we want to link against -lwbclient, not against bin/libwbclient.so
anyways.

Michael
(This used to be commit 73582e4c5168301696cdca569167402f17a67218)
2008-07-14 23:16:45 +02:00
Michael Adam
599df86b57 build: use $(LIBTDB_LIBS) instead of @LIBTDB_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 4330a2ab1308bd2b1508d5126146742540219520)
2008-07-14 23:16:45 +02:00
Michael Adam
c878db0b89 build: use $(LIBTALLOC_LIBS) instead of @LIBTALLOC_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 1719fd3ccc110b90908410c07aee862a8758e683)
2008-07-14 23:16:44 +02:00
Michael Adam
85169652d4 build: use $(POPT_LIBS) instad of @POPT_LIBS@ in rules.
Eliminate more potential traps for picky makes.

Michael
(This used to be commit 87f56f28800d2045e70739a8edcd359ddee662a7)
2008-07-14 23:16:44 +02:00
Michael Adam
8f8ee7b243 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
(This used to be commit aff6822c3ab3ea46d928570f03f681f53ccf3d50)
2008-07-14 23:16:44 +02:00
Michael Adam
dc753fd964 build: fix build of libaddns shared lib : it needs socket_wrapper.
Michael
(This used to be commit 58bc04b31b15c36505c5ecb2d8373e9033972390)
2008-07-11 15:35:24 +02:00
Michael Adam
e8db7cac50 build: remove SHLIBS variable, and distribute deps for shlibs and test_shlibs target
Michael
(This used to be commit 939e75126ebfcd9124781b5d70a68886c4bf9a54)
2008-07-10 16:26:41 +02:00
Michael Adam
36580a5898 build: create a new uninstalllibs target and use it in "make uninstall"
Michael
(This used to be commit 73a3e4e1eaa408ef0ddbbb8aa0113fdc869057bb)
2008-07-10 16:26:40 +02:00
Michael Adam
9da2995c49 build: distribute the libs target over the library-specific sections.
Michael
(This used to be commit 18b932c980f2acdf9b5569cf61afece28c02abf5)
2008-07-10 16:26:40 +02:00
Michael Adam
a23d00280c build: use the libs target instead of the LIBRARIES variable as dependecy for "all".
Michael
(This used to be commit 991c3fefa850c0b48111c6c5bacae14163872b58)
2008-07-10 16:26:40 +02:00
Michael Adam
030fe6ddd2 build: distribute the cleanlibs target over the library-specific sections.
Michael
(This used to be commit 2588c399a0df99a87cf7c749133bceb6aa34a21a)
2008-07-10 16:26:39 +02:00
Michael Adam
4d8f12acc5 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)
2008-07-10 16:26:11 +02:00
Michael Adam
fddf606651 build: move definition of LIBADDNS_OBJ back up to LIBADDNS_OBJ0
to keep stuff together...

Michael
(This used to be commit 22735ee14a244dbda768c26dbe83a1b2aa3c03ec)
2008-07-08 17:00:07 +02:00
Michael Adam
4b92d2a43e 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)
2008-07-08 16:55:52 +02:00
Michael Adam
b7f0ad4488 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)
2008-07-07 20:34:04 +02:00
Michael Adam
b079636bf7 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)
2008-07-07 20:34:04 +02:00
Michael Adam
c95629101b 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)
2008-07-07 20:34:04 +02:00
Michael Adam
576d1dc66d 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)
2008-07-07 20:34:04 +02:00
Michael Adam
025edbd82c build: combine the cleanlibfoo targets to one cleanlibs target
And use that in make clean

Michael
(This used to be commit 887b6231198ce2ff6230e0939ddcf46759bc88bf)
2008-07-07 20:34:03 +02:00