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

752 Commits

Author SHA1 Message Date
Tim Potter
3a6c8a8ae7 r2338: Remove lonely looking definition of DYNEXP for HPUX in the configure
"CPPFLAG settings for strange OS's section".  DYNEXP should only be
set in the shared library configure section.
(This used to be commit 8d00f7310c)
2007-10-10 10:52:40 -05:00
Tim Potter
defc3d82e7 r2334: Update LDSHFLAGS for HPUX as -Wl is not necessary as we are invoking LD
directly.  Should fix #1731.
(This used to be commit 9f241a8f2a)
2007-10-10 10:52:39 -05:00
Tim Potter
f9ebee99a7 r2263: When testing whether building shared libraries actually works, use
$SHLD and $LDSHFLAGS instead of $CC, $CPPFLAGS and $CFLAGS as this is
more likely to actually work.  Bugzilla #1731.

I'm checking this in to 3.0 so it can hit the build farm and flush out
any problems with other architectures.  With a bit of luck this should
go in to Samba 3.0.8.
(This used to be commit a754f29ef8)
2007-10-10 10:52:38 -05:00
Tim Potter
12c03ce05f r2245: Typo fix from trunk.
(This used to be commit 93ddf001e3)
2007-10-10 10:52:37 -05:00
Andrew Tridgell
bf43c1ae13 r2233: fixed 3 places where == is mistakenly used instead of = in bourne
shell script statements in configure.
(This used to be commit 8470968cc6)
2007-10-10 10:52:37 -05:00
Tim Potter
0f0b985bdc r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker.
(This used to be commit 274a1eda78)
2007-10-10 10:52:35 -05:00
Gerald Carter
a2829891cd r2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)
(This used to be commit dd84bedaca)
2007-10-10 10:52:34 -05:00
Simo Sorce
804cfb20a0 r2070: Let's try to overload srnlen and strndup for AIX where they are natly broken.
(This used to be commit 98feb3318f)
2007-10-10 10:52:29 -05:00
Günther Deschner
77cc4121cf r2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
using our own implementation of krb5_lookup_kdc with heimdal. Also,
heimdals krb5_krbhst_next() obviously does not retrieve the struct
addrinfo in the krb5_krbhst_info-struct, using
krb5_krbhst_get_addrinfo() instead.

Guenther
(This used to be commit cca660e109)
2007-10-10 10:52:29 -05:00
Gerald Carter
99dd2ded8a r2018: updating syntax for enable-cups check
(This used to be commit 1acbd40b26)
2007-10-10 10:52:28 -05:00
Tim Potter
fd63959c4d r2006: Fix bug 1653 discovered by Luke Mewburn. The script code to generate the
svn version number broke out-of-tree builds.
(This used to be commit bba8e7956a)
2007-10-10 10:52:27 -05:00
Jeremy Allison
08e37cd693 r1968: Remove spurious "A" spotted by Jason Mader <jason@ncac.gwu.edu>.
Jeremy.
(This used to be commit 80f7c3141c)
2007-10-10 10:52:26 -05:00
Tim Potter
6179279472 r1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with
identical symbols in the global namespace when loading libnss_wins.so.
Bugzilla #1360.
(This used to be commit 2063b8d9bc)
2007-10-10 10:52:16 -05:00
Gerald Carter
77e12fe6cb r1561: iconv detection fix from James Peach <jpeach@sgi.com>
(This used to be commit 62bd60e445)
2007-10-10 10:52:15 -05:00
Jeremy Allison
f9e72f1a41 r1472: Make mknod work again for the CIFS client. Still needs some
client changes. With this, storing home directories on a Samba
share that require unix domain socket entries should work.
Jeremy.
(This used to be commit da943b5b72)
2007-10-10 10:52:12 -05:00
Gerald Carter
39354eaa6c r1368: fix configure check so that if you set --enable-cups[=yes] and don't have the devel files, the configure script will exit with an error
(This used to be commit e2c7651e16)
2007-10-10 10:52:08 -05:00
Jeremy Allison
6106de34e5 r1247: Final fix to make this compile on Heimdal.
Jeremy.
(This used to be commit b462b8fa2f)
2007-10-10 10:52:02 -05:00
Jeremy Allison
2b76b28932 r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come before
it compiles with Heimdal.
Jeremy.
(This used to be commit dd07278b89)
2007-10-10 10:52:01 -05:00
Jeremy Allison
f38c27b4e0 r1193: Ensure we check for and use krb5_free_unparsed_name().
Jeremy.
(This used to be commit af5a08f5ad)
2007-10-10 10:51:59 -05:00
Jeremy Allison
af10abdd55 r1179: Start of system keytab merge. Config tests.
Jeremy.
(This used to be commit 730d750c04)
2007-10-10 10:51:58 -05:00
Stefan Metzmacher
596eacea72 r1007: merge from SAMBA_4_0:
print out the SVN revision by configure,
so that the build farm can use it

metze
(This used to be commit 98e6c3105d)
2007-10-10 10:51:53 -05:00
Stefan Metzmacher
130cc39567 r817: - fix a configure logic bug for linux/XFS quotas
when using --with-sys-quotas

metze
(This used to be commit f72cf069f2)
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
e14d1e18f5 r675: merge from SAMBA_4_0:
display the version on top of configure

this will help in the build farm

metze
(This used to be commit 78eba7af73)
2007-10-10 10:51:34 -05:00
Jeremy Allison
89db7e1001 r656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy.
(This used to be commit a03b6a05e0)
2007-10-10 10:51:33 -05:00
Volker Lendecke
68938182ff r449: Two AFS-related things:
Split off the non-crypto related parts of lib/afs.c into
lib/afs_settoken.c. This makes wbinfo link without -lcrypto.

Commit vfs_afsacl.c, display & set AFS acls via the NT security editor.

Volker
(This used to be commit 43870a3fc1)
2007-10-10 10:51:23 -05:00
Volker Lendecke
9e7dcbdbb7 r404: Revert the change 378 to vfs_extd_audit.c, the parseable auditing
Implement vfs_full_audit.c that can log every vfs.h operation. So if you
change vfs.h, from now on you also have to change full_audit :-)

Volker
(This used to be commit 9cb9c5f7c9)
2007-10-10 10:51:21 -05:00
Gerald Carter
37c838b3e2 r393: BUG 1141: patch from timur@com.bat.ru (Timur Bakeyev) for nss*.so names on FreeBSD 5.x
(This used to be commit 6fcb8e5a48)
2007-10-10 10:51:21 -05:00
Stefan Metzmacher
6f3fe3a85a r329: add the shadow_copy vfs module
I'll add documentation to the Samba-Howto-Collection

metze
(This used to be commit 2bef5d2741)
2007-10-10 10:51:20 -05:00
Gerald Carter
335b10ef10 r283: removing --with-cracklib after discussion with abartklet @ sambaXP
(This used to be commit df94b0471e)
2007-10-10 10:51:16 -05:00
Jeremy Allison
f480e29a68 r227: Patch from James Peach <jpeach@sgi.com> to search RIX ABI paths for libiconv.
Based on inital fix from Jason Mader.
Jeremy.
(This used to be commit 2719d0ee7c)
2007-10-10 10:51:14 -05:00
Paul Green
a60f81d1e0 r192: Fix configure.in to only use $BLDSHARED to select whether to build static or shared libraries.
(This used to be commit 35d7435cae)
2007-10-10 10:51:13 -05:00
Gerald Carter
298ef0676c r185: fix linking prob surrounding --with-fake-kaserver and -lcrypto
(This used to be commit 54912b70f2)
2007-10-10 10:51:12 -05:00
Paul Green
d29e174608 r144: Move first use of AC_CHECK_HEADERS so it is always executed. Tidy up indendation.
(This used to be commit 3d045d46e4)
2007-10-10 10:51:10 -05:00
Paul Green
9d458e45c8 r93: Update VOS _POSIX_C_SOURCE macro to 200112L.
(This used to be commit 4d1be258a1)
2007-10-10 10:51:08 -05:00
Volker Lendecke
87280e9a79 Move the Client-IP based msdfs target expansion to a VFS module.
Volker
(This used to be commit 9cb6a4d76f)
2004-03-26 22:26:33 +00:00
Gerald Carter
03992127fa add --with-libdir and --with-mandir (patch from Guenther Deschner)
(This used to be commit a1d6200cd5)
2004-03-19 16:58:16 +00:00
Gerald Carter
96c66b7be7 removing extra comma in --with-fhs
(This used to be commit 12f3f0268c)
2004-03-15 16:20:03 +00:00
Jeremy Allison
5f4b6ae77a Janitorial duty for tpot - --with-fhs fix.
Jeremy.
(This used to be commit 64eded518b)
2004-03-02 18:07:06 +00:00
Gerald Carter
95bc32e93c sys/xattr.h merge from HEAD
(This used to be commit 798dd7299e)
2004-02-19 22:17:54 +00:00
Jeremy Allison
90b5adc557 Added James Peach's fix for #1038.
Jeremy.
(This used to be commit 5379ad9824)
2004-02-11 19:07:02 +00:00
Jeremy Allison
160d3e2a9c Fix for a bug where the mutex could be left locked. Also remove the
memory keytab code which has no effect. Driven by bug report from
"Rob J. Caskey" <rcaskey@uga.edu>.
Jeremy.
(This used to be commit 4cb8facbf9)
2004-02-03 03:23:18 +00:00
Andrew Bartlett
c45c03ac89 Always at least try to compile in cracklib support.
Andrew Bartlett
(This used to be commit 6cde5e8307)
2004-02-02 07:47:25 +00:00
Gerald Carter
19cc1a9f20 remerge andrew's cracklib patch from HEAD and fix a compile warnings
(This used to be commit b60f6ec30d)
2004-02-02 00:08:35 +00:00
Tim Potter
4c49368dbc Include sys/acl.h in check for broken nisplus include files. Bug #1025.
(This used to be commit 5ca866f247)
2004-02-01 22:17:36 +00:00
Gerald Carter
0fa3773bac BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>
(This used to be commit d39b1b3fd6)
2004-01-29 14:03:48 +00:00
Andrew Bartlett
8975dde004 Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
(This used to be commit aca07f33a2)
2004-01-22 10:12:26 +00:00
Tim Potter
c92a776bcf Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
(This used to be commit 67d25f3de8)
2004-01-15 06:51:20 +00:00
Gerald Carter
1dce4ebed8 revert the cracklib changes until post 3.0.2
(This used to be commit 6202e0fa72)
2004-01-14 17:34:41 +00:00
Andrew Bartlett
0c0dfe4da5 Finish adding cracklib support - this adds the configure test to enable
it, on machines that actually have a working cracklib, for which we have
the correct path to the dictionary.

Andrew Bartlett
(This used to be commit 17518018c0)
2004-01-14 01:14:22 +00:00
Andrew Bartlett
7d068355aa This merges in my 'always use ADS' patch. Tested on a mix of NT and ADS
domains, this patch ensures that we always use the ADS backend when
security=ADS, and the remote server is capable.

The routines used for this behaviour have been upgraded to modern Samba
codeing standards.

This is a change in behaviour for mixed mode domains, and if the trusted
domain cannot be reached with our current krb5.conf file, we will show
that domain as disconnected.

This is in line with existing behaviour for native mode domains, and for
our primary domain.

As a consequence of testing this patch, I found that our kerberos error
handling was well below par - we would often throw away useful error
values.  These changes move more routines to ADS_STATUS to return
kerberos errors.

Also found when valgrinding the setup, fix a few memory leaks.

While sniffing the resultant connections, I noticed we would query our
list of trusted domains twice - so I have reworked some of the code to
avoid that.

Andrew Bartlett
(This used to be commit 7c34de8096)
2004-01-08 08:19:18 +00:00
Jeremy Allison
66da12e118 Fix from Justin Baugh <justin.baugh@request.com> for bugid #948 for
FreeBSD winbindd.
Jeremy.
(This used to be commit 7c4d52014e)
2004-01-07 21:08:42 +00:00
Jeremy Allison
67da3026a4 XFS quota patch from Stefan Metzmacher <metze@metzemix.de>.
Jeremy.
(This used to be commit cae5f158e5)
2004-01-06 18:13:32 +00:00
Volker Lendecke
cf4342cbd3 Correctly detect AFS headers on SuSE in /usr/include/afs/afs/
Volker
(This used to be commit 50be537b19)
2004-01-06 15:41:32 +00:00
Gerald Carter
38e0b1e878 fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912
(This used to be commit 134cf1d546)
2004-01-05 20:23:56 +00:00
Jeremy Allison
31876a8478 Patch from Stefan (metze) Metzmacher <metze at metzemix.de> to revert to 2.2.x quota methods.
:-).

"here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0.

This is needed because of so many broken quota files outthere.

Please, test this with old, new kernels
(strucr dqblk, struct mem_dqblk, and struct if_dqblk)
, quota.user, aquota.user formats

what is when a user is over soft quota and over hard quotas..."

Jeremy.
(This used to be commit 4350aa6ce6)
2004-01-05 19:36:02 +00:00
Jelmer Vernooij
430f9abd5f - Put functions for generating SQL queries in pdb_sql.c
- Add pgSQL backend (based on patch by Hamish Friedlander)
- Use query generate functions from pdb_mysql and pdb_pgsql
- Only pdb_pgsql.c needs to be changed whenever the fields in SAM_ACCOUNT change
(This used to be commit 65ad2c02fd)
2004-01-04 21:09:42 +00:00
Jeremy Allison
b3ed8328e1 Fix detection of elements in in-memory keytab code.
Jeremy.
(This used to be commit 05afc34086)
2003-12-12 20:16:03 +00:00
Gerald Carter
1f332e4638 fix bug that prevent --mandir from overriding the defaults given in the --with-fhs macro
(This used to be commit 58b97b91da)
2003-12-11 22:27:49 +00:00
Jeremy Allison
d49b65faa7 Correctly detect in-memory krb5 keytab support. Fix for bug #863 from
gschafer@zip.com.au (Greg Schafer).
Jeremy.
(This used to be commit 583b96e867)
2003-12-11 20:54:57 +00:00
Jeremy Allison
86d65dc070 IRIX spinlock patch from James Peach <jpeach@sgi.com>.
Jeremy.
(This used to be commit 1ae1987a00)
2003-12-09 22:41:26 +00:00
Gerald Carter
f2c6cec339 working on packaging; also fixed some path issues in configure.in & Makefile.in
(This used to be commit 8f6cd36fa0)
2003-12-09 21:29:25 +00:00
Tim Potter
20d03cc862 Correct freebsd 5.1 support for winbind contributed by Aaron Collins.
Let the build farm chew on it for a bit.
(This used to be commit 41e4b036df)
2003-11-27 05:11:14 +00:00
Jeremy Allison
44d9ea4840 Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
(This used to be commit c51d974b18)
2003-11-26 20:58:53 +00:00
Gerald Carter
36558f8f2b fix more memory leaks in the LDAP backend code; patches from metze
(This used to be commit e079c8842a)
2003-11-14 03:28:03 +00:00
Richard Sharpe
970c1c73db Fix a problem with configure on *BSD systems. Make sure we add -liconv etc
to LDFLAGS. One of the problems with configure/autoconf is that there seems
to be no separation of LDLFAGS etc in configure from the LDFLAGS it is
building for the Makefile.
(This used to be commit 63d7698208)
2003-11-10 05:34:51 +00:00
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
Gerald Carter
11777e6a30 Attempt at fixing bug #283. There however is no solution.
There is a workaround documented in the bug report.

This patch does:

  * add server support for the LSA_DS UUID on the lsarpc pipe
  * store a list of context_ids/api_structs in the pipe_struct
    so that we don't have to lookup the function table for a pipe.
    We just match the context_id.  Note that a dce/rpc alter_context
    does not destroy the previous context so it is possible to
    have multiple bindings active on the same pipe. Observed from
    standalone win2k sp4 client.
  * added server code for DsROleGetPrimaryDOmainInfo() but disabled it
    since it causes problems enumerating users and groups from a 2ksp4
    domain member in a Samba domain.
(This used to be commit 96bc2abfcb)
2003-08-14 21:14:28 +00:00
Richard Sharpe
4e4558998e Small fix to include existing CPPFLAGS when looking for iconv.
(This used to be commit 772bb41a9d)
2003-08-14 21:07:30 +00:00
Alexander Bokovoy
8d670d117c Try to honor predefined CPPFLAGS when finding correct iconv flags
(This used to be commit ee362ce475)
2003-08-14 20:56:04 +00:00
Richard Sharpe
3b9f84290a Small tweaks to configure.in to support Irix and to remove the changing
of LIBS where we don't need to change them, and to ensure that if
--with-iconv was specified we only search the list of locations specified.
(This used to be commit c2274274a6)
2003-08-14 01:12:12 +00:00
Richard Sharpe
1eb7fe8eaf A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be
much the same as 8859.
(This used to be commit 02e3d779f1)
2003-08-14 00:08:42 +00:00
Richard Sharpe
609ffe06d9 Test for CP850 and reorder the tests, looking for ASCII, then CP850,
then IBM850 and lastly ISO-8859-1.
(This used to be commit df8ff3f6b5)
2003-08-13 23:08:53 +00:00
Richard Sharpe
7a56a78964 This is an intermediate commit ... we check for three different charsets
in an iconv_open to be more robust.

However, what we really want to do is find the name for something like CP850,
which can be IBM850 on Solaris, and we might want to also check for
ISO-8859-1.

So, this commit adds a macro to aclocal.m4 that can check for a specific
charset.
(This used to be commit 81dc28ca82)
2003-08-13 21:29:59 +00:00
Richard Sharpe
7c0b572085 Hoist the code for checking whether or not iconv actually works up into the
loop that looks for iconv, because we might have more than one version
of iconv available and the first version might not work like we want, so
we have to keep looking.

We have yet to look for other character conversions as well, but for now,
let's see what the build farm makes of the changes.
(This used to be commit 13be2ca51a)
2003-08-13 19:35:37 +00:00
Alexander Bokovoy
7bc6f49fe4 Add vfs_readonly module which allows to enforce periodic read-only limit on a share based on a specified start and end dates according to date(1) format
(This used to be commit 8b263c2fda)
2003-08-12 04:35:47 +00:00
Jelmer Vernooij
601b026572 Improve MySQL library detection, add support for MySQL 4
(This used to be commit 90cbc4361e)
2003-08-11 00:31:28 +00:00
Herb Lewis
bfb312800f add tests for IRIX attr functions
(This used to be commit ea57a57db0)
2003-08-01 19:45:12 +00:00
Tim Potter
48c01deb30 Whoops - this is probably better shell syntax.
(This used to be commit 4644085b68)
2003-07-31 04:28:43 +00:00
Tim Potter
04b4c100c3 Turn on automatic winbindd support for FreeBSD and see what the compile farm
thinks of it.
(This used to be commit e6210295e4)
2003-07-31 04:27:41 +00:00
Alexander Bokovoy
428653ef72 Add NT quotas support. Users allowed now to manage quotas on systems with sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze
(This used to be commit e856a96c2c)
2003-07-29 18:07:13 +00:00
Tim Potter
71a93a1551 Metze's AD/LDAP detection patches mainly to do with library detection.
Tested on a large combination of operating systems and versions.
Hopefully the build farm will find any remaining nasties if they
exist.
(This used to be commit 2e42fa3d72)
2003-07-21 23:42:45 +00:00
Volker Lendecke
0fe05982cd Ban getgrouplist on linux glibc systems with glibc <= 2.3.
This segfaults when you have to many group membership entries
in /etc/group.

Fixed in glibc CVS end of April 2003.

Volker
(This used to be commit 61bfdf0b12)
2003-07-17 10:03:37 +00:00
Jeremy Allison
8c38bb75b7 Add krb5_princ_component to Heimdal. Remove cli_ from mark packet signed.
Jeremy.
(This used to be commit dd46f8b22d)
2003-07-16 19:17:33 +00:00
Alexander Bokovoy
98af0e01b3 Accept --with-expsam=no as valid option (do nothing on it). Simplifies automatic option generation for spec files
(This used to be commit 4042d965f2)
2003-07-15 13:00:20 +00:00
Herb Lewis
5cd3b7c71c get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and instead
define it in SHLD for those systems the use CC for SHLD.
(This used to be commit d0e2f3d109)
2003-07-11 14:20:12 +00:00
Richard Sharpe
c56bf515ce Final piece of support needed to find iconv libraries on FreeBSD.
This has been tested on RedHat 9.0 with libiconv built in as well as
FreeBSD 4.6.2 with iconv-2.0.3 and biconv.g/libbiconv.

We should perhaps also check for other conversions that just ASCII<-->UCS-2LE
especially because those two names do not appear in charset.aliases for
iconv-2.0.3.
(This used to be commit 53d953da10)
2003-07-10 17:39:05 +00:00
Gerald Carter
5895dfb89b Cleaning up linking issues. sam/idmap*.c only links in
winbindd now.  Also removing an unused file.
(This used to be commit 688369c23c)
2003-07-07 20:00:29 +00:00
Tim Potter
2ceea00187 Display libraries detected by configure but before configure
summary as suggested by abartlet.
(This used to be commit 7b2c6181b1)
2003-07-04 03:03:47 +00:00
Richard Sharpe
936d8e4a35 Fixing problems in the iconv discovery stuff in configure.in.
This is the first part of the fix that at least allows configure to
walk the list of supplied locations where libiconv etc might be found.

aclocal.m4 also needs a fix, as does a later test.
(This used to be commit 2078654313)
2003-07-02 21:15:59 +00:00
Gerald Carter
34f7dddab0 removing nisplussam
(This used to be commit f75683995c)
2003-07-01 18:08:11 +00:00
Gerald Carter
82676162af fix compile problem with nisplussam
(This used to be commit 2f7051e2bc)
2003-07-01 15:16:08 +00:00
Andrew Tridgell
0a4959d48d - added LOCALE patch from vorlon@debian.org (Steve Langasek) (bug #122)
- changed --enable-developer debug to use -gstabs as it makes the
  samba binaries about 10x smaller and is still quite functional for
  samba debugging
(This used to be commit 53bfcd478a)
2003-06-30 02:11:13 +00:00
Jelmer Vernooij
dde593e190 Remove the MODULES_CLEAN variable. It's no longer necessary since
object files for modules are in .po files, while object files for
static use are in .o files. Pointed out by metze.

This reduces the number of files that have to be recompiled after the Makefile
changes. Preventing unnecessary recompiling of the other few is high
on my todo list.
(This used to be commit b9b46d43c7)
2003-06-26 17:33:58 +00:00
Tim Potter
23c45a79d0 Metze assures me that this will fix Heimdal et al.
I think the lesson to take away here is that refactoring configure.in
is a hazardous task and should only be attempted if you have a lot
of time and patience!
(This used to be commit 5ba121ac9d)
2003-06-25 12:20:29 +00:00
Tim Potter
86c9ba789c Only append to KRB5_LIBS when doing AC_CHECK_LIB for libkrb5.
I think we are done with MIT Kerberos for the moment.  The Heimdal detection
looks like it has been broken for ages so it's next on the list.
(This used to be commit 7690a722f9)
2003-06-25 02:24:48 +00:00
Tim Potter
1bc691069b Don't trash the values of CFLAGS and LIBS while engaged in Kerberos
detection.  On Solaris 9 extra libraries -lber and -lresolv are
required for Kerberos tests.  We used to have an extra check for
-lresolv only but I think the correct solution is not to forget about it
in the first place.

This should fix bug #125 although I don't have access to a
system to test it out on.
(This used to be commit 4ddfab4a57)
2003-06-25 01:33:27 +00:00
Tim Potter
52e4b4d5ab More tuning of Kerberos detection - don't fall through to detect kerberos libs
when we have already decided that we can't do it.
(This used to be commit db792ed530)
2003-06-24 07:46:26 +00:00
Tim Potter
200af4e84c More sensible behaviour for bug 152. If we don't have krb5.h and were explicitly
configured using --with-ads then give an error, otherwise fall back to compiling
without ADS.

Tested on redhat 8.0 with and without MIT kerberos packages installed.  Metze,
let me know if this is working OK for you now!
(This used to be commit 7ea81535b8)
2003-06-24 05:31:08 +00:00
Tim Potter
ab1ccfc487 Change AC_MSG_ERROR() in krb5.h detection code to AC_MSG_WARN()
until I repair my destroyed development system and check in a proper
fix for this.
(This used to be commit efad5dab52)
2003-06-23 05:32:16 +00:00
Tim Potter
5f1ff72f7d Produce an error if Active Directory support is requested and we don't
have krb5.h

Should fix bug 152.
(This used to be commit 82d3dd757b)
2003-06-23 01:27:17 +00:00
Tim Potter
5779e6d15e Repair indentation in autoconf Kerberos detection code. This should
make it easier to understand/debug.
(This used to be commit 86b6ff134c)
2003-06-23 01:05:31 +00:00
Tim Potter
d7dfff92c1 The default action for AC_CHECK_LIB is to add the library to $LIBS so
this doesn't need to be done explicitly in the Kerberos checks.

Also there was a duplicate AC_CHECK_LIB(resolv, dn_expand) which is done
early on in the configure process.
(This used to be commit fa66e2e1e1)
2003-06-20 06:41:56 +00:00
Tim Potter
35d0f987db Build libnss_wins.so as part of nsswitch target. Fix for bug #160
found by andreas@conectiva.com.br
(This used to be commit fa24fd6f5b)
2003-06-16 03:28:27 +00:00
Andrew Tridgell
8cd67d7668 reverted locale patch put in by jht (originally from vorlon).
There are lots of things wrong with this patch, including:

1) it overrides a user chosen configuration option

2) it adds lots of complexity inside a loop when a tiny piece of code
   outside the loop would do the same thing

3) it does no error checking, and is sure to crash on some systems

If you want this functionality then try something like this at the end
of charset_name():

#ifdef HAVE_NL_LANGINFO
	if (strcasecmp(ret, "LOCALE") == 0) {
		const char *ln = nl_langinfo(CODESET);
		if (ln) {
			DEBUG(5,("Substituting charset '%s' for LOCALE\n", ln));
			return ln;
		}
	}
#endif

then users can set 'display charset = LOCALE' to get the locale based
charset. You could even make that the default for systems that have
nl_langinfo().
(This used to be commit 382b9b806b)
2003-06-16 02:22:52 +00:00
John Terpstra
489956c823 Patch from vorlon@debian.org, see bugzilal #122
Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.
(This used to be commit 1e445fb422)
2003-06-15 06:07:53 +00:00
Herb Lewis
9960487103 get rid of IRIX o32 builds - some libraries (kerberos and ldap) are only
n32 so smbwrapper fails to link.
(This used to be commit 392f207a35)
2003-06-06 23:55:24 +00:00
Gerald Carter
71298881c4 * add in David Lee's utmp patch (defaults to on if available)
* one more try at fixing builds when --with-ldap=no
(This used to be commit b516ab7bde)
2003-06-06 22:33:43 +00:00
Gerald Carter
711f8d0a13 * break out more common code used between pdb_ldap and idmap_ldap
* remove 'winbind uid' and 'winbind gid' parameters (replaced
  by current idmap parameter)
* create the sambaUnixIdPool entries automatically in the 'ldap
  idmap suffix'
* add new 'ldap idmap suffix' and 'ldap group suffix' parametrer
* "idmap backend = ldap" now accepts 'ldap:ldap://server/' format
  (parameters are passed to idmap init() function
(This used to be commit 1665926281)
2003-06-06 13:48:39 +00:00
Jeremy Allison
d155f6ea54 Fixup the check for attr libraries, used ',' instead of ' '.
Jeremy.
(This used to be commit af62b6612e)
2003-06-06 05:10:26 +00:00
Jeremy Allison
8e047054e8 Get ready for EA code... Add Linux interface.
Jeremy.
(This used to be commit 4885314074)
2003-06-05 20:29:55 +00:00
Gerald Carter
3bdfd57a2d working draft of the idmap_ldap code.
Includes sambaUnixIdPool objectclass

Still needs cleaning up wrt to name space.
More changes to come, but at least we now have a
a working distributed winbindd solution.
(This used to be commit 8241758544)
2003-06-05 02:34:30 +00:00
Gerald Carter
10c241d2a0 added idmap_ldap to wrong branch.
(This used to be commit eafd53a7e7)
2003-06-03 19:25:39 +00:00
Jeremy Allison
df73ef2da5 Redhat 9 needs an explicit -lattr to be able to add POSIX ACLs.
Jeremy.
(This used to be commit 71bac46c51)
2003-06-03 06:33:20 +00:00
Jelmer Vernooij
69b50029f4 Add smb_register_idmap(). Based on a patch from metze
(This used to be commit 7e352f5c62)
2003-05-29 19:08:40 +00:00
Tim Potter
4e8052640e More fixes for builddir != srcdir.
- Use absolute directories for $builddir and $srcdir in the Makefile

 - Don't try and combine source files in $builddir and $srcdir to build
   proto.h.  It's just too hard to get it right across all targets we
   wish to compile on.  Use a hand created prototype for the single
   function in smbd/build_options.c that we need.  This allows us to ditch
   all the extra sed work that was causing problems: \t not portable - hah!

 - Fix bogus delheaders target to remove the correct files

This appears to work quite nicely now.  Let's see how it goes on the
buildfarm machines.
(This used to be commit 456184463d)
2003-05-27 02:35:53 +00:00
Tim Potter
1f84a14b0b Bug 83: fixes for building when $srcdir != $builddir from David Lee
<t.d.lee@durham.ac.uk>
(This used to be commit e48a8b5e9c)
2003-05-23 01:59:43 +00:00
Gerald Carter
6c66c80132 better handling of --with-expsam (includes pdb_nisplussam now)
(This used to be commit 6cb3d3cc60)
2003-05-20 21:15:49 +00:00
Gerald Carter
6eaf8a3775 wrap pdb_[nisplussam|xml|mysql] in --with-expsam option & some formatting fixes
(This used to be commit 014350196d)
2003-05-20 18:26:06 +00:00
Jeremy Allison
15c003782b FreeBSD5 ACL fix.
Jeremy.
(This used to be commit 6669c38ed0)
2003-05-19 18:00:44 +00:00
Tim Potter
c05858c893 Merge of incorrect emacs mode fix.
(This used to be commit 9d973bdfb7)
2003-05-15 04:17:54 +00:00
Alexander Bokovoy
2c01eef4d7 Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
(This used to be commit 3786695c72)
2003-05-14 14:38:11 +00:00
Simo Sorce
c823b191ab And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.
(This used to be commit 0e58085978)
2003-05-12 18:12:31 +00:00
Alexander Bokovoy
fdfcb62364 Forgot to actually change default for quotas to -no- in configure.in
(This used to be commit 7c2395d7cd)
2003-05-12 02:45:29 +00:00
Alexander Bokovoy
f3e2ad6d4d Forgot to actually change default for quotas to -no- in configure.in
(This used to be commit 73cf63a27f)
2003-05-12 02:41:41 +00:00
Alexander Bokovoy
e8573c8fa9 Add NT quota support. Patch from Stefan (metze) Metzemacher
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow
(This used to be commit 4bf022ce9e)
2003-05-12 01:20:17 +00:00
Jim McDonough
1c84123026 Hopefully re-enable building heimdal. It needs -lresolv included in LIBS
to link during configure checks.
(This used to be commit 7af282e7ff)
2003-05-08 17:02:13 +00:00
Tim Potter
73a3105b57 AIX doesn't append $SHLIB_EXT to NSS libraries.
(This used to be commit af083d2760)
2003-05-05 01:40:10 +00:00
Andrew Bartlett
15dec47c96 configure.in updates:
Now the IRIX and non-irix cases for one of these switch statements is the same,
eliminate the statement...

We now use autoconf > 2.50, so we can use some of it's features.

We also need to correctly include the magic for building vfs_fake_perms.
(This used to be commit a4ec8a6151)
2003-05-03 15:30:41 +00:00
Andrew Bartlett
356d599662 Try to fix IRIX build - add quotes and never call libns_winbind by name - we
should only set that name once.
(This used to be commit 34f15bff6f)
2003-04-30 14:14:33 +00:00
Gerald Carter
e3ae1a2f23 sync with HEAD and remove --with-misplussam as well
(This used to be commit 531c2df8d4)
2003-04-29 06:06:41 +00:00
Gerald Carter
4d6c97edb2 remove --with-tdbsam since it is always built now
(This used to be commit f277cd54ea)
2003-04-29 06:03:04 +00:00
Andrew Bartlett
38c0f29c9e Remove the unpopular pdb_unix, which has served it's time well.
Also get charset 'werid' for both --enable-developer options in configure.

Andrew Bartlett
(This used to be commit 2a99e77e91)
2003-04-26 13:49:55 +00:00
Jelmer Vernooij
3f3f30549c Fix the weird charset and build it by default for ./configure -enable-developer
(This used to be commit 8d17a4dc21)
2003-04-26 11:48:16 +00:00
Jelmer Vernooij
05793cacef In 3.0, pdb_mysql and pdb_xml are in passdb/
(This used to be commit 706090a1be)
2003-04-24 20:45:41 +00:00
Andrew Bartlett
a04c643158 Make sure that we don't compile pdb_ldap on systems with ldap.h, but without
-lldap.

Andrew Bartlett
(This used to be commit 5c36308d14)
2003-04-24 11:47:21 +00:00
Andrew Bartlett
30a6f801ae Add vfs_fake_perms to Samba 3.0
Andrew Bartlett
(This used to be commit 3ad260ced9)
2003-04-24 10:36:23 +00:00
Andrew Bartlett
f957f1aeaf Add configure test for previous ldap modifications - we now check if the
ldap_initialze function exists, not just if we are on a particular OpenLDAP.

Andrew Bartlett
(This used to be commit 8a20162db6)
2003-04-22 15:27:38 +00:00
Jelmer Vernooij
ddf662d118 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
(This used to be commit 6e9b780233)
2003-04-16 14:45:11 +00:00
Jelmer Vernooij
37dc79d2b6 Add selection of the modules to configure (merge from HEAD)
(This used to be commit 3e283989ff)
2003-04-15 12:02:24 +00:00
Jelmer Vernooij
8284032ec5 Fix typo in configure.in (merge from HEAD)
(This used to be commit 30658cd63d)
2003-04-15 11:39:56 +00:00
Jelmer Vernooij
10bf059b62 Backport my backtrace patch from HEAD
(This used to be commit 66fcf6b493)
2003-04-14 21:49:49 +00:00
Tim Potter
fe5b2c15de Merge a bunch of updates from HEAD:
- winbind nss client cleanups
 - new rpc echo pipe
(This used to be commit ea38b0d7f0)
2003-04-14 01:10:49 +00:00
Jelmer Vernooij
74b163a83a Patch from Armijn Hemel <armijn@nl.linux.org> to fix build on
FreeBSD 5 systems with a broken krb5-config
(This used to be commit 675333350a)
2003-04-12 17:12:31 +00:00
Jelmer Vernooij
192f0cbd82 Replace .so by .$SHLIBEXT
(This used to be commit 57bd342c30)
2003-04-04 23:32:51 +00:00
Jelmer Vernooij
298c282468 Use $SHLIBEXT rather then so
(This used to be commit 657e6b6ca0)
2003-04-04 23:22:19 +00:00
Tim Potter
d2912967f4 Forgot to merge configure.in changes for winbind client tidyup.
(This used to be commit 5e9c494a24)
2003-04-02 06:26:55 +00:00
Gerald Carter
a50e82cac2 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
(This used to be commit 2aa2767ed5)
2003-03-28 02:03:31 +00:00
Jeremy Allison
b39659bcbe Add defines for platforms that need them.
Jeremy.
(This used to be commit 7787815da4)
2003-03-26 19:39:27 +00:00
Jelmer Vernooij
da40f7303a Merge from HEAD - Detect missing -lroken properly on machines without krb5-config
(This used to be commit 70634d248e)
2003-03-22 22:01:48 +00:00
Andrew Bartlett
20e73a71f1 This caused problems on the build farm.
(This used to be commit f16a70a405)
2003-03-22 10:46:03 +00:00
Andrew Bartlett
63894f2b5a Merge fixes to libsmbclient (fstring/pstring) from HEAD.
Andrew Bartlett
(This used to be commit 6bf04c41ed)
2003-03-22 09:27:42 +00:00
Andrew Bartlett
d5ee9b2f48 Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)
This patch catches up on the rest of the work - as much string checking
as is possible is done at compile time, and the rest at runtime.

Lots of code converted to pstrcpy() etc, and other code reworked to correctly
call sizeof().

Andrew Bartlett
(This used to be commit c5b604e2ee)
2003-03-18 11:22:52 +00:00
Andrew Bartlett
ec458fa87e Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
session key and auth verifier patches.

Andrew Bartlett
(This used to be commit 3f9616a68a)
2003-03-17 22:45:16 +00:00
Martin Pool
da3b671f77 In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit 054ed6d86d)
2003-03-13 06:48:06 +00:00
Andrew Bartlett
1502667e92 Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
(This used to be commit 1cba3ceae1)
2003-02-26 12:37:04 +00:00
Andrew Bartlett
ecd7fc59a8 Merge crypt(), ACL lib and shared lib changes from HEAD.
(This used to be commit e380224d8c)
2003-02-24 03:22:49 +00:00
Jim McDonough
83a11f7f0e Sync with HEAD for verifying kerberos tickets.
(This used to be commit 77e1178a88)
2003-02-19 15:48:12 +00:00
Andrew Bartlett
585d50c667 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 c51065e607)
2003-02-17 00:10:37 +00:00
Alexander Bokovoy
019df92bdf Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
(This used to be commit bf1c82a48f)
2003-02-15 23:07:59 +00:00
Alexander Bokovoy
79613f6146 Merger krb5-config and libtinfo to SAMBA_3_0
(This used to be commit 864809707b)
2003-02-15 19:13:53 +00:00
Jim McDonough
4226279bb7 Bring in line with HEAD version...mostly formatting changes to clean up diffs.
(This used to be commit ef43dff0bf)
2003-02-14 19:42:54 +00:00
Jim McDonough
49d3f7bc81 merge from HEAD - enable dynamic RPC modules
(This used to be commit d9c485b010)
2003-02-14 00:48:28 +00:00
Jeremy Allison
7fe6742d04 Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit e9b4fb8b9a)
2003-02-12 20:40:29 +00:00
Jim McDonough
ae26a74e79 Try to allow old and new heimdal installs
(This used to be commit 6d593ca174)
2003-02-04 16:33:24 +00:00
Jim McDonough
cd1a26b87e 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...
(This used to be commit de8ffcad47)
2003-02-03 18:20:54 +00:00
Jelmer Vernooij
39e0b72728 Merge from HEAD: netbsd supports dynamic libs
(This used to be commit f91d4c8fd3)
2003-02-01 12:18:37 +00:00
Gerald Carter
f02f723dde Straus VOS detection patches from Paul Green
(This used to be commit 29962f99f2)
2003-01-30 17:07:28 +00:00
Gerald Carter
3a9dfe6384 patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries
(This used to be commit 8ef302f6bf)
2003-01-28 20:11:20 +00:00
Jeremy Allison
b1bce45141 Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy.
(This used to be commit 1b71786c16)
2003-01-28 03:31:33 +00:00
Jeremy Allison
755e33ee3f Get smbd to link with Heimdal. Still missing some client progs...
Jeremy.
(This used to be commit 85dda43476)
2003-01-28 00:33:21 +00:00
Jeremy Allison
e545fe3c0a Get closer to Heimdal compile... Damn. HEAD has different code in
kerberos_verify...
Jeremy.
(This used to be commit e8c4098da6)
2003-01-21 20:43:26 +00:00
Jeremy Allison
b0aadff202 More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit a7ee6ed645)
2003-01-21 06:23:49 +00:00
Jeremy Allison
812e093f02 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.
(This used to be commit 92ecd0bf0f)
2003-01-19 22:27:32 +00:00
Jeremy Allison
cdc6c1662d More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
(This used to be commit 4333be5732)
2003-01-16 02:58:14 +00:00
Jeremy Allison
7dd7d3a96a Fist part of fixes to make us compile with Heimdal. Don't explicitly
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit 54d83de8a2)
2003-01-16 02:39:49 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b321)
2003-01-15 18:57:41 +00:00
Herb Lewis
70025a9b52 IRIX uses libns_winbind.so instead of libnss_winbind.so
(This used to be commit 04adfa001b)
2003-01-15 01:07:09 +00:00
Tim Potter
2c5e33b7f2 Merge from HEAD:
>Remove FILE_MACRO as __FILE__ is ANSI C.
(This used to be commit 21eb4b5a2d)
2002-12-05 23:30:49 +00:00
Tim Potter
902caf48ef Merge from HEAD, Revision 1.379:
>Defaulting python breaks the clean target it python isn't installed.

Merge from HEAD,  Revision 1.378:

>Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
>be used.
(This used to be commit 008c572ab7)
2002-12-05 23:02:17 +00:00
Jeremy Allison
b0504a9526 Make sure we have a default st_blocksize.
Jeremy.
(This used to be commit 904f6dfb7a)
2002-12-04 19:47:01 +00:00
Jeremy Allison
ce4628c199 Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
(This used to be commit 379e719e98)
2002-12-04 03:12:09 +00:00
Andrew Bartlett
6afdd64815 Merge from HEAD - Patch from Paul Green to detect exe suffix for Stratus VOS.
Andrew Bartlett
(This used to be commit e6f2d9dfdb)
2002-12-01 03:06:18 +00:00
Tim Potter
c0a542fcad Merge from HEAD:
- Target selection cleanup
 - Some formatting merges
 - Merged some Pythong bits&pieces that were missed previously

Original commit message for target selection cleanup:

>Here's a bit of a cleanup of the {configure,Makefile}.in files.  I've
>now combined all the ad-hoc AC_SUBST variables into three generalised
>ones:
>
>  EXTRA_BIN_PROGS 	Additional programs to install in ${prefix}/sbin
>  EXTRA_SBIN_PROGS 	Additional programs to install in ${prefix}/bin
>  EXTRA_ALL_TARGETS     Additional targets to build by default
>  SHLIB_PROGS           Shared library objects (pam, winbind) to build
>
>We also build some extra stuff by default: the python extensions (if
>--with-python specified), smbmount related binaries (if
>--with-smbmount specified), and the samba torture suite.
>
>The idea behind this is to have everything that is configured built by
>default to detect breakage as soon as possible when people make low
>level changes.
(This used to be commit 6000caf5da)
2002-11-29 01:17:00 +00:00
Gerald Carter
72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676)
2002-11-26 23:18:35 +00:00
Gerald Carter
486b07e76e lining up some spaces in configure.in and reran autoconf
updating WHATSNEW
(This used to be commit ff05947aac)
2002-11-26 19:11:22 +00:00
Jelmer Vernooij
ac2ac71168 Merge in modules system from HEAD:
- Detect MySQL and XML libraries
 - Add modules rules to Makefile
 - Move working VFS modules to source/
(This used to be commit fadada3555)
2002-11-18 16:22:04 +00:00
Andrew Bartlett
f7730e146f Merge from HEAD: Remove assumption that all solaris has -lsendfile
(This used to be commit 6520592453)
2002-11-16 01:08:46 +00:00
Andrew Bartlett
c64d762997 Updates from HEAD:
- const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett
(This used to be commit 43e90eb6e3)
2002-11-15 21:43:57 +00:00
Andrew Bartlett
4b117b8917 Merge from HEAD:
- heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett
(This used to be commit aa41fb8703)
2002-11-15 14:06:35 +00:00
Jelmer Vernooij
7cfe3919f3 small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze)
(This used to be commit da8794afe8)
2002-11-13 21:54:31 +00:00
Andrew Bartlett
098c08ccab Merge from HEAD
- make configure check for the location of Heimdal KRB5 on suse systems
	- fix libsmbclient for new global_myname()
(This used to be commit 111b0405cf)
2002-11-13 07:04:00 +00:00
Jelmer Vernooij
e1a9236092 Back out some of my sync changes
(This used to be commit b1ad91101d)
2002-11-09 23:28:40 +00:00
Jelmer Vernooij
dc5297f413 Sync with HEAD
(This used to be commit 1a25dc776d)
2002-11-09 16:57:45 +00:00
Jelmer Vernooij
eed4e92c52 Don't build Makefile for examples/sam
(This used to be commit 0dd0f68b0f)
2002-10-30 06:46:23 +00:00
Jelmer Vernooij
aa09f94e69 Back out SAM - it belongs in HEAD
(This used to be commit da0d48eedc)
2002-10-29 21:33:02 +00:00
Jelmer Vernooij
766b7b5dc0 Sync with HEAD
(This used to be commit 906f25d1fb)
2002-10-28 19:28:32 +00:00
Jeremy Allison
d6486dff61 Turn on sendfile detection by default in HEAD and 3.0.
Jeremy.
(This used to be commit a09ba463b4)
2002-10-05 00:40:49 +00:00
Andrew Bartlett
ad8a22e570 Updates from Samba HEAD:
- Fix segfaults in the 'net ads' commands when no password is provided
 - Readd --with-ldapsam for 2.2 compatability.  This conditionally compiles the
   old options, but the actual code is available on all ldap systems.
 - Fix shadow passwords (as per work with vl)
 - Fix sending plaintext passwords to unicode servers (again vl)
 - Add a bit of const to secrets.c functions
 - Fix some spelling and grammer by vance.
 - Document the -r option in smbgroupedit.

There are more changes in HEAD, I'm only merging the changes I've been involved
with.

Andrew Bartlett
(This used to be commit 83973c3893)
2002-10-01 13:10:57 +00:00
Jeremy Allison
88e481ec13 Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
(This used to be commit 7ba5636897)
2002-10-01 05:54:40 +00:00
Jeremy Allison
4d2d5c4ace Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
(This used to be commit 9c17faefa5)
2002-09-30 21:17:18 +00:00
Gerald Carter
a834a73e34 sync'ing up for 3.0alpha20 release
(This used to be commit 65e7b5273b)
2002-09-25 15:19:00 +00:00