1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

1489 Commits

Author SHA1 Message Date
Volker Lendecke
13c66c8eb1 Move idmap_cache.c from winbindd/ to lib/
(This used to be commit fe70dcc1b6)
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 d31683cdc8)
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 5c9a1b2c98)
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 b476400f0a)
2008-08-21 12:16:05 +02:00
Michael Adam
447852c9d8 build: auto-generate symbols for libsmbsharemodes.
Michael
(This used to be commit f1d84e76bb)
2008-08-20 22:39:46 +02:00
Michael Adam
f483aa05e4 build: autogenerate symbols for libsmbclient.so
Michael
(This used to be commit d6fb6348a3)
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 c3c3dadcab)
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 ead9b9d716)
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 661b7fdffd)
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 b17d1ff646)
2008-08-15 23:19:56 +02:00
Michael Adam
b02216b93f Makefile: print codepagedir in "make showlayout".
Michael
(This used to be commit a823733b91)
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 04974818bd)
2008-08-15 23:19:54 +02:00
Michael Adam
762439025a Revert "Add a gpfs_prefetch module"
This reverts commit fc9b30bed2.

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 26a3cf0be9)
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 f91a3e0f7b)
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 fc9b30bed2)
2008-08-13 11:54:05 +02:00
Herb Lewis
9caabc441b use variables for files used in multiple places
(cherry picked from commit cee044bc42)
(This used to be commit 2462562b5c)
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 0d161d336a)
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 8dca23a559)
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 0acc888ca9)
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 10a2ab4077)
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 b7633998ed)
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 c633f10d9e)
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 11d74fc51c)
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 6c33c62007)
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 8897aaec32)
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 bf619d0192)
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 603b83c980)
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 1f0feb3d12)
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 cd3c667bda)
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 73582e4c51)
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 4330a2ab13)
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 1719fd3ccc)
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 87f56f2880)
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 aff6822c3a)
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 58bc04b31b)
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 939e75126e)
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 73a3e4e1ea)
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 18b932c980)
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 991c3fefa8)
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 2588c399a0)
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 0afe205a7d)
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 22735ee14a)
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 c4e51f5e76)
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 bae7bd4bba)
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 4d6edcb2c8)
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 76f9e2e646)
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 3c300f9f8c)
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 887b623119)
2008-07-07 20:34:03 +02:00
Michael Adam
5408317e33 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 1bb2b576a4)
2008-07-07 20:34:03 +02:00
Michael Adam
eb48b5703b build: remove the SONAME_VER variable - not used anymore.
Michael
(This used to be commit 35b2ee2bce)
2008-07-07 20:34:03 +02:00