1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

436 Commits

Author SHA1 Message Date
Jelmer Vernooij
d453b656e5 Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)
-
Jelmer Vernooij
af98285f4e Fix $LDAP_LIBS -
Jelmer Vernooij
bf439d733d Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)
-
Jelmer Vernooij
e193b47259 Always rebuild modules after running ./configure (to prevent
undefined symbol errors)
-
Jelmer Vernooij
760fd4e5c4 Remove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam) -
Jelmer Vernooij
71b05cd14a - Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
-
Jelmer Vernooij
3a2ed0da40 Print list of builtin modules in 'smbd -b' -
Jelmer Vernooij
3defbd5e06 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
-
Jelmer Vernooij
898a246c16 Fix two typos -
Jelmer Vernooij
bb943a68af When using --with-static-modules=subsystem, don't build modules that
can't be build
-
Jelmer Vernooij
f622bdc691 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)
-
Jelmer Vernooij
cf3d31b980 Add modules support to charset -
Jelmer Vernooij
9c3b8533fc Detect missing -lroken properly on systems without krb5-config -
Andrew Bartlett
b1b4370955 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
-
Andrew Bartlett
23c7342bc4 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
-
Jelmer Vernooij
228110e83f Only build pdb_ldap if both ldap libs and headers are found -
Jelmer Vernooij
1d33afdef9 Build samr as well -
Martin Pool
aee2ad9c34 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.)
-
Jelmer Vernooij
dd03aec26d Fix pdb_unix usage - noticed by jmcd -
Jelmer Vernooij
2541288025 Fix build errors and move pdb_guest.so -> guest.so -
Jelmer Vernooij
fa1c8eee1f Fix module names -
Jelmer Vernooij
af7bfee0c6 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.
-
Andrew Bartlett
31f4827acc 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
-
Martin Pool
1ffa4d75b7 In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names.
-
Martin Pool
0ece70d631 Check for valgrind.h -
Andrew Bartlett
ce618624b7 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
-
Andrew Bartlett
284479bf38 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
-
Andrew Bartlett
8b798f03db Patch from Luke Howard to add mutual kerberos authentication, and SMB session
keys for kerberos authentication.

Andrew Bartlett
-
Andrew Bartlett
30510f5007 Fixes from Paul Green and vorlon@debian.org for building shared libraries
(make it possible to build both shared and static) and -lcrypt handling.
-
Alexander Bokovoy
747d2d70a9 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. -
Jim McDonough
48dcf5b97f Add support for detecting method of listing encryption types (MIT v Heimdal) -
Andrew Bartlett
bcbc221323 Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
-
Andrew Bartlett
14b38c004f 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
-
Alexander Bokovoy
643172ac1a 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.
-
Alexander Bokovoy
c88a5b1aba When checking for tgetent, include libtinfo from recent Ncurses as well -
Alexander Bokovoy
ca27334ba0 Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found. -
Jeremy Allison
ba0f47f78d Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
-
Andrew Bartlett
f364921864 As metze mentioned, this is the proper way to find perl...
Andrew Bartlett
-
Jim McDonough
29d25382ac Try to allow old and new heimdal installs -
Jim McDonough
44fd5c8275 Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there...
-
Jelmer Vernooij
dbb29495e7 NetBSD also supports dynamic libs -
Jeremy Allison
d63849db6d Fix kerberos compile after the tpot massicre :-).
Jeremy
-
Gerald Carter
726181537d Straus VOS detection patches from Paul Green -
Gerald Carter
f739a7263d patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries -
Richard Sharpe
84b6f32cff One more try to fix the GNU Make dependency -
Richard Sharpe
fdd449fe7b Commit just a little more infrastructure for HAVE_GETDIRENTRIES -
Jeremy Allison
193cc4f4fc More fixes getting us closer to full Heimdal compile....
Jeremy.
-
Jeremy Allison
77aeb262ef Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
-
Jim McDonough
d51e12df78 Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instructions. -
Jeremy Allison
c3544c119e More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
-