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

31 Commits

Author SHA1 Message Date
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
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
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
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
Tim Potter
2569906e5a Change AC_CHECK_LIB_EXT to prepend libraries instead of append. This
is the same way AC_CHECK_LIB works.  Fix for bug 508.

This may have to go a few rounds on the build farm to ensure it works
everywhere.
(This used to be commit afe8c708f1)
2003-09-28 11:11:07 +00:00
Jelmer Vernooij
eb052f397b Keep list of ignored and shared modules
(This used to be commit d0f394dac3)
2003-08-21 18:49:01 +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
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
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
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
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
Richard Sharpe
d2d1bd3d7c Fix a small problem I seem to have introduced into aclocal.m4
(This used to be commit b6bb70ea1e)
2003-07-10 15:23:09 +00:00
Richard Sharpe
a7ef6aac3a Fix a small spelling mistake and push out the new version of aclocal.m4 to
properly handle iconv on FreeBSD ...

It works on Linux and FreeBSD ...
(This used to be commit 9302401f54)
2003-07-09 23:01:08 +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
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
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
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
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
Jelmer Vernooij
dc5297f413 Sync with HEAD
(This used to be commit 1a25dc776d)
2002-11-09 16:57:45 +00:00
Jelmer Vernooij
766b7b5dc0 Sync with HEAD
(This used to be commit 906f25d1fb)
2002-10-28 19:28:32 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb)
2002-07-15 10:35:28 +00:00
Motonobu Takahashi
96db4b1ba3 Added SWAT i18n feature:
TO enable configure with --with-i18n-swat
  to support this gettext is integrated
  and a new directories name "po" and "intl" are created.

  now these languages are supported:

  en - English (default)
  ja - Japanese
  po - Polish
  tr - Turkish

  To add your language,
  to create ${your_language}.po by translating source/po/en.po
  into your language is needed.

  some of html and image files of various language version are not
  included yet, though message catalogue files are installed.
  you need to copy files manually under
  ${swatdir}/lang/$ln/{help,images,included,using_samba}


And also added a option to intall manual pages:
of various lang version
  To enable configure with --with-manlangs
  but manual pages themself are not included yet.
(This used to be commit 486b79a6fc)
2001-09-24 15:55:09 +00:00
Andrew Tridgell
05d0841472 - added AC_HAVE_DECL() macro to aclocal.m4, so we can easily add
tests for a fn or variable being defined in headers
- used this to add prototypes for asprintf and vasprintf on systems
  that don't have them
(This used to be commit ab24652394)
2001-05-30 12:28:13 +00:00
Andrew Tridgell
a9a512192d continued the split of the kernel level oplocks code into a more
modular form. In this pass I added oplock_irix.c and added a "struct
kernel_oplocks" that describes a kernel oplock implementation.

I also removed the maintainence mode from the Makefile. It was causing
too much trouble. If someone really likes it they can keep a patch
around to enable it themselves.
(This used to be commit fbeb980434)
2000-06-10 13:35:20 +00:00
Herb Lewis
42796c4347 fixes for broken IRIX header file merged from 2.0 branch
(This used to be commit 351b25727e)
2000-03-31 22:30:13 +00:00
Jeremy Allison
15bb28ccd2 IRIX include fixes.
Jeremy.
(This used to be commit 3a39acd353)
2000-03-31 20:44:55 +00:00
Tim Potter
191566780e Adding libtool support to HEAD branch. We're going to need this for
various things yet to be merged from TNG.  The smbwrapper stuff should
probably be ported across too.
(This used to be commit b183c24220)
2000-03-13 23:20:01 +00:00
Jeremy Allison
bfc38ff872 Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.

Jeremy.
(This used to be commit 6acb4b68f6)
1998-11-25 21:17:20 +00:00
Andrew Tridgell
7e5f267ee9 auto-detect the right flag for the compiler to produce PIC code
(This used to be commit 5d92e00397)
1998-10-08 04:52:11 +00:00
Andrew Tridgell
d836bedb40 more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler
(This used to be commit 6f2239c935)
1998-10-07 07:55:14 +00:00
Alexandre Oliva
6de1659640 check whether system type is the same as stored in the cache (full
stand-alone macro, candidate for inclusion in the next release of autoconf)

create configure flag --enable-maintainer-mode, that enables automatic
rebuilding of configure from configure.in and aclocal.m4, and of
config.h.in based on acconfig.h.  This assumes autoconf and autoheader
are available.  Maintainer mode also introduces automatic dependency
tracking of include files, but it depends on features provided by gcc
and GNU make, so you must not enable maintainer mode if you are not
using any of these
(This used to be commit 64cba1cc8e)
1998-09-24 08:34:21 +00:00