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

487 Commits

Author SHA1 Message Date
Richard Sharpe
80ff2046bd A fix to allow configure to find iconv on a number of systems including those
that don't have such support in glibc.
(This used to be commit de6d5f1d10)
2003-11-06 23:37:58 +00:00
Gerald Carter
d441dbee4c patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570
(This used to be commit 486f495ea7)
2003-11-06 17:23:47 +00:00
Tim Potter
0b76382c5d Undo last commit to get things building again.
(This used to be commit d3af6b443d)
2003-11-06 16:58:33 +00:00
Richard Sharpe
a999e7c1b9 Apply the patch to fix iconv detection for FreeBSD to the Samba 3.0.0 branch
as well.
(This used to be commit 44be80e488)
2003-11-06 05:44:55 +00:00
Gerald Carter
7c55d23cbf removing #include <compat.h> in hopes to avoid problems with apache header files; will watch the build farm on this to make sure things don't blow up
(This used to be commit e92583cecd)
2003-11-03 19:22:32 +00:00
Volker Lendecke
a64c70d74a AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
autoconf-2.53 on SLES8 does not correctly find the keyblock.

Volker
(This used to be commit c4f36a250a)
2003-11-03 18:11:00 +00:00
Tim Potter
db2a7d0a7f Tidy up calls to uname so as not to produce output on stderr if
the command line argument being called isn't valid.
(This used to be commit d43922eade)
2003-11-02 16:54:21 +00:00
Tim Potter
ff700f3303 Sync up formatting of the va list stuff - the HEAD version was nicer.
(This used to be commit 6917391fbb)
2003-10-31 01:30:02 +00:00
Jeremy Allison
b7d72a3ce9 Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit ce1024cc10)
2003-10-30 00:07:48 +00:00
Richard Sharpe
2f84a990bc Commit Derrell's changes to libsmbclient plus a small change to configure.in
to see if SGI and other platforms will build.
(This used to be commit cf9311044c)
2003-10-24 17:01:19 +00:00
Richard Sharpe
d0833280da Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
and lib/snprintf. Check for va_copy first, and then look for __va_copy.
(This used to be commit 8b592740b6)
2003-10-24 16:08:03 +00:00
Tim Potter
72b9e5571a Add configure test for krb5_keytab_entry keyblock vs key member. Bug #636.
(This used to be commit 3daefe9d17)
2003-10-17 04:59:07 +00:00
Tim Potter
48980f72cc Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
the trouble of detecting what the PIC suffix should actually be.

Change PICFLAG in configure.in to PICFLAGS for consistency.

Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
(This used to be commit ecfbc5f529)
2003-10-14 03:02:46 +00:00
Jelmer Vernooij
a43a3ed460 We need to make sure that the files that contain the static_init_$subsystem;
macro get recompiled after configure has ran.
This was done by touching the source file. This patch changes it to removing
the object file, so that you don't need write-access to the source directory.
(This used to be commit 1a95f5c9a9)
2003-10-09 22:52:51 +00:00
Jelmer Vernooij
9759adc4ff Move sysquotas autoconf tests to a seperate file.
Patch by Stefan Metzmacher <metze@metzemix.de>
(This used to be commit 9f6cd8177d)
2003-10-09 20:58:11 +00:00
Jelmer Vernooij
ed0721787b Refuse to configure if --with-expsam=$BACKEND was used but no libraries
were found for $BACKEND
(This used to be commit 76229085db)
2003-10-09 20:20:18 +00:00
Tim Potter
89eb0f6918 Explicitly initialise the value of AR for vendor makes that don't do
this (HPUX 11).  Currently it's initialised to 'ar' but this may have
to be changed if any systems pop up that have archivers that aren't
named 'ar'. Closes bug #552.
(This used to be commit 6aada3bd3e)
2003-10-03 00:06:46 +00:00
Gerald Carter
96128e1ea7 save and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the CFLAGS variable
(This used to be commit dbf7fc4feb)
2003-10-01 18:54:06 +00:00
Andrew Tridgell
9e0e0d67ca when we don't have a working iconv library we must default to using only builtin charsets. Defaulting to CP850 when we have just determined that it doesn't work just guarantees that Samba won't work at all (in fact it just seg faults at startup). This fixes Samba on AIX, and I expect on a bunch of other platforms.
(This used to be commit 9635a28181)
2003-09-30 01:30:15 +00:00
Gerald Carter
45814e729c don't write to static pointers; patch from Anthony
(This used to be commit 5840cbe5f6)
2003-09-26 14:43:36 +00:00
Tim Potter
408ecbdd00 Change error message displayed when --without-libiconv is used as
an argument to configure.  Closes bug 468.
(This used to be commit 6957ecd25f)
2003-09-18 00:05:19 +00:00
Jeremy Allison
bb3f2a3e63 Fix for typo in darwin detection.
Jeremy.
(This used to be commit 8a57f1a72c)
2003-09-14 19:18:48 +00:00
Jeremy Allison
cba653c30a Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
Also add MacOSX/Darwin configure fixes.
Jerry - can we put this in 3.0 release ? :-).
Jeremy.
(This used to be commit f23acb4ca5)
2003-09-13 22:41:21 +00:00
Alexander Bokovoy
85087fbac5 Back out --with-good-getgrouplist patch
(This used to be commit 424b13823b)
2003-09-10 15:39:21 +00:00
Alexander Bokovoy
cf598c5c1c Now that CAN-2003-0689 is published officially, we need to make possible
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2.
Unfortunately, we can't detect correctness of getgrouplist() functioning in
portable way so this is left up to developer/packager.

This patch adds --with-good-getgrouplist[=no] switch to configure which packagers
on Linux platforms could use to specify in their own builds if they now that glibc
on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc
is vulnerable and perform our version check.

** This patch does not change default behaviour in Samba 3.0 -- by default we are not
vulnerable on glibc as we are not using getgrouplist()

See http://www.securityfocus.com/bid/8477 for vulnerability description.

Right now there are following Linux vendors released glibc updates for CAN-2003-0689:

RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html
ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc
(This used to be commit e53622c114)
2003-09-10 13:39:09 +00:00
Tim Potter
66abd44c6d Set PICFLAG="-fPIC" for gcc under HPUX.
(This used to be commit 7f2533207e)
2003-09-08 06:30:49 +00:00
Tim Potter
605281ef4b Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.
(This used to be commit 9b0b0256a8)
2003-09-08 02:48:06 +00:00
Volker Lendecke
1c38391c70 Nobody complained on the team-list, so commit it ...
This implements some kind of improved AFS support for Samba on Linux with
OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have
OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile
into secrets.tdb with 'net afskey'. If this is done, on each tree connect
smbd creates a Kerberos V4 ticket suitable for use by the AFS client and
gives it to the kernel via the AFS syscall. This is meant to be very
light-weight, so I did not link in a whole lot of libraries to be more
platform-independent using the ka_SetToken function call.

Volker
(This used to be commit 5775690ee8)
2003-09-07 16:36:13 +00:00
Tim Potter
c7accf6a72 Produce an error if --with-pam_smbpass is specified and we can't
find libpam or security/pam_appl.h

Also change the warnings when we can't do --with-pam_smbpass when
is was requested to errors.
(This used to be commit fe3fb58623)
2003-09-04 02:23:43 +00:00
Tim Potter
7da5c6a0e7 Produce an error if --with-pam is specified but no PAM headers can be
found.
(This used to be commit dc43c2dd1b)
2003-09-04 00:51:50 +00:00
Jim McDonough
7d378e9a11 Disable rc4-hmac on broken heimdal setups. Pre-0.7 heimdal (or at least up
to a very recent snapshot) has arcfour-hmac code that doesn't work with
windows.  Love suggested detecting it via the existence of KEYTYPE_ARCFOUR_56
which only exists in working versions.
(This used to be commit e039a61e51)
2003-09-02 18:31:41 +00:00
Jim McDonough
409c6d1407 Check for support for in-memory keytabs, which are needed to make heimdal
work properly.  MIT does not support them, so this check will be used to
decide whether to use them.  First part of fixing bug #372.
(This used to be commit 85737fc937)
2003-09-02 17:02:09 +00:00
Tim Potter
ea7b4b6c32 Fix for bug 261. Create a configure #define for FreeBSD and a check in
nsswitch/pam_winbind.h so we can compile properly on this platform.
(This used to be commit 75411005fc)
2003-09-02 00:09:31 +00:00
Alexander Bokovoy
e83031c84d Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0)
2003-08-28 17:16:27 +00:00
Gerald Carter
c2983f9323 Fix bug 327 (again and I think for the last time). Make sure that
pam_smbpass.so will load ok.  Had to move some functions around to work
around dependency problems (hence the new passdb/lookup_sid.c)

Also make sure that libsmbclient.a is built and installed when
we support shared libraries.
(This used to be commit 780055f442)
2003-08-27 20:52:56 +00:00
Jim McDonough
270a59f7d3 Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, but
in heimdal it is an enum.  Thanks to Guenther Deschner (gd@suse.de).

With this join will work, but without a keytab, cifs connections will still
fail with heimdal.  Fix to come later.
(This used to be commit d30bef4c37)
2003-08-27 20:22:12 +00:00
Alexander Bokovoy
da0397bd2f Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV
(This used to be commit e8a5a962ed)
2003-08-27 20:04:23 +00:00
Gerald Carter
35a42eebed fix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks for shared library support (move the IRIX define as well)
(This used to be commit 42d9b75d8c)
2003-08-27 14:37:24 +00:00
Alexander Bokovoy
bc0f3c1792 Fix typo in configure.in for libsmbclient
(This used to be commit 302da352a2)
2003-08-27 10:42:16 +00:00
Tim Potter
a5cddd08c8 Undo SYSV define for Solaris. Things are more complicated than they
appear.  (-:

I've closed bug 355 as a duplicate of bug 230 which is still a going
concern.
(This used to be commit dfb5050b77)
2003-08-27 06:32:22 +00:00
Tim Potter
92484cab4e Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fix
vendor supplied lp printing (bug #355).

For some reason this is not being set in Samba 3.  In Samba 2.2 the
SYSV define was only set from include/includes.h in a haphazard
fashion.  It's probably better to explicitly define it on a per-operating
system basis anyway.
(This used to be commit e653e13f45)
2003-08-27 05:07:25 +00:00
Alexander Bokovoy
7e27147422 Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
(This used to be commit e855dc8c91)
2003-08-26 19:48:16 +00:00
Gerald Carter
eff91556a3 * Fix for bug 290:
smbadduser must obeys the paths from configure options

* Try to get libsmbclient files installed during 'make install'
  Still one outstanding problem with static lib.  INSTALLCLIENTCMD_A
  is not getting set correctly.
(This used to be commit 50ab28bd25)
2003-08-22 18:00:17 +00:00
Herb Lewis
409dd6454e define SYSV for IRIX
(This used to be commit f4e47012ff)
2003-08-21 22:48:58 +00:00
Alexander Bokovoy
6895dad0bd Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on the platform. This allows to compile and complain about it at runtime
(This used to be commit b6fa581955)
2003-08-15 21:14:35 +00:00
Alexander Bokovoy
b7a8561ea1 Do not cache iconv checks because we are looking for it now in different places and negative result does not mean we don't have iconv unless we checked everything
(This used to be commit d46f8325f2)
2003-08-15 20:30:52 +00:00
Alexander Bokovoy
7ddf760bea Fix charset detection code in configure.
Now we are:
1. Try to find correct name for default character sets for the platform
2. Use DEFAULT_{DOS|DISPLAY|UNIX}_CHARSET defines set during configure phase as defaults

This should fix CP850 problem on Solaris (at least) because it actually has IBM850 which
is the same but under different name
(This used to be commit 836b9fffa0)
2003-08-15 20:09:12 +00:00
Jelmer Vernooij
ba59b3ca7e Remove accidently added SMB_MODULE_PROVIDES() lines
(This used to be commit 071850f87a)
2003-08-15 06:23:32 +00:00
Jelmer Vernooij
f4dcc68e58 Remove nasty hack in modules system. We don't recompile files anymore
after the Makefile changes.
(This used to be commit 104f62272d)
2003-08-15 06:07:36 +00:00
Herb Lewis
b679661d27 get rid of IRIX test as it is wrong.
(This used to be commit a93fa23c17)
2003-08-14 22:46:25 +00:00