1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

1473 Commits

Author SHA1 Message Date
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
Michael Adam
5b872b6ba5 build: fix typo in use of cleanlibsmbclient target
Michael
(This used to be commit 5712062d22)
2008-07-07 20:34:03 +02:00
Michael Adam
23804595f7 build: add a cleanlibaddns target and use it in "make clean"
Michael
(This used to be commit 39a447a232)
2008-07-07 20:34:03 +02:00
Michael Adam
d51180e4b8 build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Create .so file as a symlink.

Michael
(This used to be commit bbf665ad57)
2008-07-07 20:34:03 +02:00
Michael Adam
1c7123f3a6 build: move LIBADDNS_OBJ0 up again -- needed for NET_OBJ :-\
Michael
(This used to be commit b871cb0cb6)
2008-07-07 20:34:02 +02:00
Michael Adam
5df4ca43eb build: move libaddns related bits to the libaddns section in Makefile.in
Michael
(This used to be commit 61157cb92e)
2008-07-07 20:34:02 +02:00
Michael Adam
672eb71cf7 build: create cleanlibsmbsharemodes target and use it in "make clean".
Michael
(This used to be commit 20a5053f0e)
2008-07-07 20:34:02 +02:00
Michael Adam
fc54fc52f4 build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Create libsmbsharemodes.so as a symlink.

Michael
(This used to be commit 1157048146)
2008-07-07 20:34:02 +02:00
Michael Adam
175497e14b build: move libsmbsharemodes related vars and targets to libsmbsharemodes section in Makefile.in
Michael
(This used to be commit 278dde8a6c)
2008-07-07 20:34:02 +02:00
Michael Adam
db6b94ee24 build: add structuring comment for libbigballofmud
(This used to be commit 879b000fd3)
2008-07-07 20:34:02 +02:00
Michael Adam
7e7e9250be build: add cleanlibsmbclient target and use it in make clean.
Michael
(This used to be commit 95a7d21d31)
2008-07-07 20:34:02 +02:00
Michael Adam
1b20cf1324 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 c463bd0cb9)
2008-07-07 20:34:02 +02:00
Michael Adam
2e694978f5 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 f440538c94)
2008-07-07 20:34:01 +02:00
Michael Adam
c9178983e8 build: rename (un)installclientlib to (un)installlibsmbclient
keeping old targets as aliases for backward compatibility

Michael
(This used to be commit 40ff40de57)
2008-07-07 20:34:01 +02:00
Michael Adam
1920e603fc build: move libsmbclient related variables and targets to libsmbclient section
Michael
(This used to be commit ed3c35d307)
2008-07-07 20:34:01 +02:00
Michael Adam
1778ebf8e3 build: move definition of SHLIBS to libraries section
Michael
(This used to be commit 36c99a3cad)
2008-07-07 20:34:01 +02:00
Michael Adam
e4c67f9cc2 build: add a cleanlibwbclient target to Makefile.in and use it for make clean.
Michael
(This used to be commit e01a1d8d65)
2008-07-07 20:34:01 +02:00