1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

449 Commits

Author SHA1 Message Date
Jelmer Vernooij
8d9962f1d3 Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.
(This used to be commit 266c3970df)
2003-04-02 14:59:21 +00:00
Simo Sorce
a557af96e9 THE Idmap patch :-)
includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.
(This used to be commit 0278132047)
2003-04-02 10:36:02 +00:00
Jelmer Vernooij
916ef755d3 Fix build of shared xml/mysql modules
(This used to be commit 860e4c4561)
2003-04-01 11:25:34 +00:00
Jelmer Vernooij
96b5d5bdfd - Support absolute paths in vfs and charset modules
- Fix typo in Makefile.in
- Fix compatibility with older vfs modules (from patch by metze)
- Build some modules shared by default and some static (and fall
  back to static when dlopen() is not available)
(This used to be commit aa36f462d9)
2003-03-31 15:06:34 +00:00
Tim Potter
836454ed58 Tidyup of winbindd client OS specific autoconf code.
(This used to be commit b20b8d050b)
2003-03-31 05:51:41 +00:00
Tim Potter
364519a843 autoconf change to compile winbindd for AIX. The client side code
is still under development.
(This used to be commit d110a56e43)
2003-03-31 05:46:32 +00:00
Tim Potter
6c33130c0f Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
(This used to be commit 93ea047a16)
2003-03-31 04:36:01 +00:00
Gerald Carter
d9eef2fbc2 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
(This used to be commit ff43a292b9)
2003-03-28 02:02:32 +00:00
Andrew Tridgell
0e1ad952fb its VFS_NETATALK_OBJ not VFS_NETATALK
(This used to be commit 662e1bea1b)
2003-03-28 00:28:55 +00:00
Andrew Tridgell
d4b4e02fb8 removed a duplicate lump of module stuff in configure.in
(This used to be commit 0502c8a06e)
2003-03-28 00:21:01 +00:00
Jelmer Vernooij
11db21cc1c Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b42)
2003-03-27 12:08:46 +00:00
Jelmer Vernooij
4c74bfcbda Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.
(This used to be commit c6807d2045)
2003-03-26 20:16:48 +00:00
Jeremy Allison
43c5f197ef Add defines for platforms that need them.
Jeremy.
(This used to be commit f81128bc01)
2003-03-26 19:42:51 +00:00
Jelmer Vernooij
70cf597a79 Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)
(This used to be commit d453b656e5)
2003-03-26 13:43:29 +00:00
Jelmer Vernooij
5edbbc1808 Fix $LDAP_LIBS
(This used to be commit af98285f4e)
2003-03-26 13:30:26 +00:00
Jelmer Vernooij
0eff00c692 Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)
(This used to be commit bf439d733d)
2003-03-26 12:53:28 +00:00
Jelmer Vernooij
dc16a6848b Always rebuild modules after running ./configure (to prevent
undefined symbol errors)
(This used to be commit e193b47259)
2003-03-25 22:37:43 +00:00
Jelmer Vernooij
50311f4bac Remove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)
(This used to be commit 760fd4e5c4)
2003-03-25 18:10:55 +00:00
Jelmer Vernooij
4905ba282f - Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 71b05cd14a)
2003-03-25 14:46:11 +00:00
Jelmer Vernooij
e520d4be5e Print list of builtin modules in 'smbd -b'
(This used to be commit 3a2ed0da40)
2003-03-25 12:27:09 +00:00
Jelmer Vernooij
6d6f1c0522 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
(This used to be commit 3defbd5e06)
2003-03-24 23:03:46 +00:00
Jelmer Vernooij
cdfe4b9b85 Fix two typos
(This used to be commit 898a246c16)
2003-03-24 19:53:02 +00:00
Jelmer Vernooij
9ba1ed5271 When using --with-static-modules=subsystem, don't build modules that
can't be build
(This used to be commit bb943a68af)
2003-03-24 19:18:24 +00:00
Jelmer Vernooij
acffe03f93 Simplify modules interface and make it easier to build
complete subsystems as modules (--with-shared-modules=rpc,pdb_xml,pdb_ldap
works now, for example)
(This used to be commit f622bdc691)
2003-03-24 18:25:31 +00:00
Jelmer Vernooij
9ae249c6f1 Add modules support to charset
(This used to be commit cf3d31b980)
2003-03-24 12:47:21 +00:00
Jelmer Vernooij
c8864235ba Detect missing -lroken properly on systems without krb5-config
(This used to be commit 9c3b8533fc)
2003-03-22 22:00:19 +00:00
Andrew Bartlett
bde949c721 It seems that this causes some problems on some linux platforms - it's a
pity becouse otherwise you need to link a program with it to get the
fstring/pstring bugs.

Andrew Bartlett
(This used to be commit b1b4370955)
2003-03-22 10:44:07 +00:00
Andrew Bartlett
ab25a258c0 Patch from colo (on IRC) to get libsmbclient building due to pstring/fstring
issues.

Also pick up these link failures at compile time (rather than runtime).

Andrew Bartlett
(This used to be commit 23c7342bc4)
2003-03-21 22:31:25 +00:00
Jelmer Vernooij
5c913362dc Only build pdb_ldap if both ldap libs and headers are found
(This used to be commit 228110e83f)
2003-03-20 17:45:23 +00:00
Jelmer Vernooij
6798444ba5 Build samr as well
(This used to be commit 1d33afdef9)
2003-03-20 13:59:58 +00:00
Martin Pool
c9167c943d If CFLAGS is set when running configure, then just use that.
Otherwise add -O.

(We used to always set -O, which is sometimes annoying when debugging
and anyhow clashes with normal autoconf behaviour.)
(This used to be commit aee2ad9c34)
2003-03-20 05:54:03 +00:00
Jelmer Vernooij
e14e43f3d3 Fix pdb_unix usage - noticed by jmcd
(This used to be commit dd03aec26d)
2003-03-19 20:18:00 +00:00
Jelmer Vernooij
2ffd83f3f0 Fix build errors and move pdb_guest.so -> guest.so
(This used to be commit 2541288025)
2003-03-19 20:12:34 +00:00
Jelmer Vernooij
a4c72cfa9b Fix module names
(This used to be commit fa1c8eee1f)
2003-03-19 19:28:05 +00:00
Jelmer Vernooij
47ea3a2bf2 Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today.
(This used to be commit af7bfee0c6)
2003-03-19 18:45:19 +00:00
Andrew Bartlett
3b5bc93e9d String handling parinoia fixes.
This patch enables the compile-time checking of strings assable by means of
sizeof().  (Original code had the configure check reversed).

This is extended to all safe_strcpy() users, push_string and pull_string,
as well as the cli and srv derivitives.  There is an attempt to cap strings
at the end of the cli buffer, and clobber_region() of the speified length
(when not -1 :-).

Becouse of the way they are declared, the 'overmalloc a string' users of
safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips
some of the checks).

This whole ball of mud worked fine, until I pulled out my 'fix' for our
statcache.  When jeremy fixes that, we should be able to get back to testing
this stuff.

This patch also includes a 'marker' of the last caller to clobber_region (ie,
the function that called pstrcpy() that called clobber_region) to assist in
debugging problems that may have smashed the stack.  This is printed at
smb_panic() time.  (Original idea and patch by metze).

It also removes some unsused functions, and #if 0's some others that are
unused but probably should be used in the near future.

For now, this patch gives us some confidence on one class of trivial parsing
error in our code.

Andrew Bartlett
(This used to be commit 31f4827acc)
2003-03-15 07:14:55 +00:00
Martin Pool
9951cca72f In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names.
(This used to be commit 1ffa4d75b7)
2003-03-13 06:16:51 +00:00
Martin Pool
cb1de38cfd Check for valgrind.h
(This used to be commit 0ece70d631)
2003-03-10 00:37:25 +00:00
Andrew Bartlett
ce7f54e953 Add a test for a useful property of the compiler - we can get link-time
failures for some compile-time properties this way.

Andrew Bartlett
(This used to be commit ce618624b7)
2003-03-05 09:33:43 +00:00
Andrew Bartlett
20d0bb2310 Add -Wwrite-strings to our --enable-developer settings.
We have compiled relitivly 'clean' with this setting since I did a massive
cleanup last month.  This should help us stay that way.

Andrew Bartlett
(This used to be commit 284479bf38)
2003-02-26 12:31:17 +00:00
Andrew Bartlett
eb64538dba Patch from Luke Howard to add mutual kerberos authentication, and SMB session
keys for kerberos authentication.

Andrew Bartlett
(This used to be commit 8b798f03db)
2003-02-24 11:09:21 +00:00
Andrew Bartlett
0dde23a7b2 Fixes from Paul Green and vorlon@debian.org for building shared libraries
(make it possible to build both shared and static) and -lcrypt handling.
(This used to be commit 30510f5007)
2003-02-22 12:19:18 +00:00
Alexander Bokovoy
02cb49bffa Improve detection of iconv(3) for various platforms. M4 code is similar to what I use in Midgard for past few years, modified for Samba needs.
(This used to be commit 747d2d70a9)
2003-02-19 13:24:06 +00:00
Jim McDonough
e354fd27cb Add support for detecting method of listing encryption types (MIT v Heimdal)
(This used to be commit 48dcf5b97f)
2003-02-19 00:50:38 +00:00
Andrew Bartlett
b70258af01 Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
(This used to be commit bcbc221323)
2003-02-18 00:54:22 +00:00
Andrew Bartlett
b2a253bd47 People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit 14b38c004f)
2003-02-17 00:07:38 +00:00
Alexander Bokovoy
22c875943d Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.

While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.

This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit 643172ac1a)
2003-02-15 22:51:15 +00:00
Alexander Bokovoy
9e99ad57ea When checking for tgetent, include libtinfo from recent Ncurses as well
(This used to be commit c88a5b1aba)
2003-02-15 15:50:24 +00:00
Alexander Bokovoy
7f6fdf49cb Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found.
(This used to be commit ca27334ba0)
2003-02-15 15:47:32 +00:00
Jeremy Allison
fbdda574d8 Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit ba0f47f78d)
2003-02-12 20:38:02 +00:00