jelmer/samba4-debian.git
16 years agor18143: the 'showflags' convention from Samba is useful for the other packages
Andrew Tridgell [Wed, 6 Sep 2006 07:11:09 +0000 (07:11 +0000)]
r18143: the 'showflags' convention from Samba is useful for the other packages

16 years agor18142: add make distclean to talloc build
Stefan Metzmacher [Wed, 6 Sep 2006 06:47:10 +0000 (06:47 +0000)]
r18142: add make distclean to talloc build

metze

16 years agor18141: an accidental nested C comment!
Andrew Tridgell [Wed, 6 Sep 2006 06:20:29 +0000 (06:20 +0000)]
r18141: an accidental nested C comment!

16 years agor18140: and this reduces warnings about toupper()
Andrew Tridgell [Wed, 6 Sep 2006 06:14:40 +0000 (06:14 +0000)]
r18140: and this reduces warnings about toupper()

16 years agor18139: irix needs system/network.h here
Andrew Tridgell [Wed, 6 Sep 2006 06:12:36 +0000 (06:12 +0000)]
r18139: irix needs system/network.h here

16 years agor18138: LIBREPLACE provides stuff from -ldl so it should depend on it
Stefan Metzmacher [Wed, 6 Sep 2006 06:05:58 +0000 (06:05 +0000)]
r18138: LIBREPLACE provides stuff from -ldl so it should depend on it

metze

16 years agor18137: more LIBREPLACE deps
Andrew Tridgell [Wed, 6 Sep 2006 05:59:10 +0000 (05:59 +0000)]
r18137: more LIBREPLACE deps

16 years agor18136: put lib/replace in the default include path
Stefan Metzmacher [Wed, 6 Sep 2006 05:57:21 +0000 (05:57 +0000)]
r18136: put lib/replace in the default include path

metze

16 years agor18135: almost there ....
Andrew Tridgell [Wed, 6 Sep 2006 05:54:43 +0000 (05:54 +0000)]
r18135: almost there ....

16 years agor18134: the lib/replace/system/filesys.h in this patch should be
Andrew Tridgell [Wed, 6 Sep 2006 05:42:23 +0000 (05:42 +0000)]
r18134: the lib/replace/system/filesys.h in this patch should be
system/filesys.h, but it doesn't work. Metze is looking into it :-)

16 years agor18133: ad2oLschema needs ctype.h on some systems
Andrew Tridgell [Wed, 6 Sep 2006 05:28:04 +0000 (05:28 +0000)]
r18133: ad2oLschema needs ctype.h on some systems

16 years agor18132: getpass can't depend on fns in lib/util/
Andrew Tridgell [Wed, 6 Sep 2006 05:27:01 +0000 (05:27 +0000)]
r18132: getpass can't depend on fns in lib/util/

16 years agor18131: fixed tdb subsystem to use right tdb.h
Andrew Tridgell [Wed, 6 Sep 2006 05:21:32 +0000 (05:21 +0000)]
r18131: fixed tdb subsystem to use right tdb.h
fixed LIBREPLACE dep in lib/charset

16 years agor18130: the move to system/ in libreplace broke some things ... should be
Andrew Tridgell [Wed, 6 Sep 2006 04:58:06 +0000 (04:58 +0000)]
r18130: the move to system/ in libreplace broke some things ... should be
happier now

16 years agor18129: moved the system includes into libreplace - this gives much more
Andrew Tridgell [Wed, 6 Sep 2006 04:44:32 +0000 (04:44 +0000)]
r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)

16 years agor18127: Add macro AC_CHECK_DECL() for systems that don't have it.
Jelmer Vernooij [Wed, 6 Sep 2006 02:07:44 +0000 (02:07 +0000)]
r18127: Add macro AC_CHECK_DECL() for systems that don't have it.

16 years agor18126: Fix -ldl dependency problem
Jelmer Vernooij [Wed, 6 Sep 2006 02:04:30 +0000 (02:04 +0000)]
r18126: Fix -ldl dependency problem

16 years agor18125: Remove obsolete file.
Jelmer Vernooij [Wed, 6 Sep 2006 02:00:17 +0000 (02:00 +0000)]
r18125: Remove obsolete file.

16 years agor18124: Keep right libs when looking for dl*() functions
Jelmer Vernooij [Wed, 6 Sep 2006 01:50:09 +0000 (01:50 +0000)]
r18124: Keep right libs when looking for dl*() functions

16 years agor18123: Fix manual file build.
Jelmer Vernooij [Wed, 6 Sep 2006 01:45:07 +0000 (01:45 +0000)]
r18123: Fix manual file build.

16 years agor18122: Fix warnings related to errno declaration.
Jelmer Vernooij [Wed, 6 Sep 2006 01:41:41 +0000 (01:41 +0000)]
r18122: Fix warnings related to errno declaration.

16 years agor18121: Simplify m4 code, hopefully fix Samba4 build problems.
Jelmer Vernooij [Wed, 6 Sep 2006 01:36:02 +0000 (01:36 +0000)]
r18121: Simplify m4 code, hopefully fix Samba4 build problems.

16 years agor18120: Remove generating dependencies for .d files for now as this was
Jelmer Vernooij [Wed, 6 Sep 2006 01:31:39 +0000 (01:31 +0000)]
r18120: Remove generating dependencies for .d files for now as this was
causing make to loop.

16 years agor18119: forgot to commit this
Andrew Tridgell [Wed, 6 Sep 2006 00:54:37 +0000 (00:54 +0000)]
r18119: forgot to commit this

16 years agor18118: its the job of libreplace to handle things like this
Andrew Tridgell [Wed, 6 Sep 2006 00:42:19 +0000 (00:42 +0000)]
r18118: its the job of libreplace to handle things like this

16 years agor18117: first steps in making samba4 use libreplace
Andrew Tridgell [Wed, 6 Sep 2006 00:35:29 +0000 (00:35 +0000)]
r18117: first steps in making samba4 use libreplace

16 years agor18115: comparison_fn_t is defined in libreplace now
Andrew Tridgell [Wed, 6 Sep 2006 00:20:08 +0000 (00:20 +0000)]
r18115: comparison_fn_t is defined in libreplace now

16 years agor18112: really make use of libreplace in ldb
Andrew Tridgell [Wed, 6 Sep 2006 00:06:30 +0000 (00:06 +0000)]
r18112: really make use of libreplace in ldb

16 years agor18111: base inclusion of replacement printf fns on function existance, not
Andrew Tridgell [Wed, 6 Sep 2006 00:06:00 +0000 (00:06 +0000)]
r18111: base inclusion of replacement printf fns on function existance, not
declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up
(possibly fixable, but not now)

16 years agor18110: renamed config.m4 for popt
Andrew Tridgell [Tue, 5 Sep 2006 23:48:05 +0000 (23:48 +0000)]
r18110: renamed config.m4 for popt

16 years agor18109: move ldb to use the same build methods
Andrew Tridgell [Tue, 5 Sep 2006 23:32:35 +0000 (23:32 +0000)]
r18109: move ldb to use the same build methods

16 years agor18108: move tdb to use the same build methods
Andrew Tridgell [Tue, 5 Sep 2006 23:32:01 +0000 (23:32 +0000)]
r18108: move tdb to use the same build methods

16 years agor18106: Add new samr domain NET tests.
Rafal Szczesniak [Tue, 5 Sep 2006 18:46:53 +0000 (18:46 +0000)]
r18106: Add new samr domain NET tests.

rafal

16 years agor18105: Fix samr domain open, and implement samr domain close test.
Rafal Szczesniak [Tue, 5 Sep 2006 18:46:07 +0000 (18:46 +0000)]
r18105: Fix samr domain open, and implement samr domain close test.

rafal

16 years agor18104: A couple of important fixes to samr domain open so that
Rafal Szczesniak [Tue, 5 Sep 2006 18:45:03 +0000 (18:45 +0000)]
r18104: A couple of important fixes to samr domain open so that
the corresponding test may pass.

rafal

16 years agor18103: add torture test for 'RAW_OPEN_OPENX without a leading slash on the path...
Derrell Lipman [Tue, 5 Sep 2006 18:39:48 +0000 (18:39 +0000)]
r18103: add torture test for 'RAW_OPEN_OPENX without a leading slash on the path', known to fail on NetApp filers

16 years agor18102: Fix close lsa NET test.
Rafal Szczesniak [Tue, 5 Sep 2006 17:59:37 +0000 (17:59 +0000)]
r18102: Fix close lsa NET test.

rafal

16 years agor18101: Use composite_create function and add monitor function pointer
Rafal Szczesniak [Tue, 5 Sep 2006 17:56:35 +0000 (17:56 +0000)]
r18101: Use composite_create function and add monitor function pointer
to the state structure.

rafal

16 years agor18100: actually make usage of libreplace :-)
Stefan Metzmacher [Tue, 5 Sep 2006 16:16:27 +0000 (16:16 +0000)]
r18100: actually make usage of libreplace :-)

metze

16 years agor18098: use m4_include() instead of sinclude()
Stefan Metzmacher [Tue, 5 Sep 2006 15:26:03 +0000 (15:26 +0000)]
r18098: use m4_include() instead of sinclude()

this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken
anyway

metze

16 years agor18097: use m4_include(), so we notice that build/m4/core.m4 was gone
Stefan Metzmacher [Tue, 5 Sep 2006 15:21:12 +0000 (15:21 +0000)]
r18097: use m4_include(), so we notice that build/m4/core.m4 was gone
a while ago

metze

16 years agor18096: try to make tcc happy and don't the same struct names in a global and
Stefan Metzmacher [Tue, 5 Sep 2006 15:03:06 +0000 (15:03 +0000)]
r18096: try to make tcc happy and don't the same struct names in a global and
a local scope

metze

16 years agor18095: correctly rebuild the dependencies not only the object file
Stefan Metzmacher [Tue, 5 Sep 2006 14:31:44 +0000 (14:31 +0000)]
r18095: correctly rebuild the dependencies not only the object file

metze

16 years agor18094: try to fix the samba4 build
Stefan Metzmacher [Tue, 5 Sep 2006 14:29:34 +0000 (14:29 +0000)]
r18094: try to fix the samba4 build

metze

16 years agor18093: check for the headers first and check all functions
Stefan Metzmacher [Tue, 5 Sep 2006 14:26:14 +0000 (14:26 +0000)]
r18093: check for the headers first and check all functions

metze

16 years agor18092: pass -Ilib/replace to autoconf/autoheader
Stefan Metzmacher [Tue, 5 Sep 2006 13:47:03 +0000 (13:47 +0000)]
r18092: pass -Ilib/replace to autoconf/autoheader
to hopefully fix the samba4 build

metze

16 years agor18091: sometimes autoconf picks up some old stuff:
Stefan Metzmacher [Tue, 5 Sep 2006 13:45:09 +0000 (13:45 +0000)]
r18091: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze

16 years agor18090: sometimes autoconf picks up some old stuff:
Stefan Metzmacher [Tue, 5 Sep 2006 13:44:14 +0000 (13:44 +0000)]
r18090: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze

16 years agor18089: sometimes autoconf picks up some old stuff:
Stefan Metzmacher [Tue, 5 Sep 2006 13:43:35 +0000 (13:43 +0000)]
r18089: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze

16 years agor18088: sometimes autoconf picks up some old stuff:
Stefan Metzmacher [Tue, 5 Sep 2006 13:41:26 +0000 (13:41 +0000)]
r18088: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze

16 years agor18087: use m4_include() do notice missing files
Stefan Metzmacher [Tue, 5 Sep 2006 13:26:51 +0000 (13:26 +0000)]
r18087: use m4_include() do notice missing files

metze

16 years agor18086: here too
Andrew Tridgell [Tue, 5 Sep 2006 12:13:34 +0000 (12:13 +0000)]
r18086: here too

16 years agor18085: using m4_include() instead of sinclude() means we get an error if the
Andrew Tridgell [Tue, 5 Sep 2006 12:13:15 +0000 (12:13 +0000)]
r18085: using m4_include() instead of sinclude() means we get an error if the
include fails - thats better than the compile failing mysteriously

16 years agor18084: we don't need the double sinclude() any more
Andrew Tridgell [Tue, 5 Sep 2006 12:08:35 +0000 (12:08 +0000)]
r18084: we don't need the double sinclude() any more

16 years agor18083: i should sleep more ....
Andrew Tridgell [Tue, 5 Sep 2006 12:01:18 +0000 (12:01 +0000)]
r18083: i should sleep more ....

16 years agor18082: bring talloc in line with new conventions
Andrew Tridgell [Tue, 5 Sep 2006 11:52:28 +0000 (11:52 +0000)]
r18082: bring talloc in line with new conventions

16 years agor18081: libreplace now uses config.h again
Andrew Tridgell [Tue, 5 Sep 2006 11:51:00 +0000 (11:51 +0000)]
r18081: libreplace now uses config.h again

16 years agor18080: added distclean target to talloc
Andrew Tridgell [Tue, 5 Sep 2006 11:47:28 +0000 (11:47 +0000)]
r18080: added distclean target to talloc

16 years agor18079: fix for in-tree build with samba4 dir layout
Andrew Tridgell [Tue, 5 Sep 2006 11:45:55 +0000 (11:45 +0000)]
r18079: fix for in-tree build with samba4 dir layout

16 years agor18078: these tests came from talloc
Andrew Tridgell [Tue, 5 Sep 2006 11:42:20 +0000 (11:42 +0000)]
r18078: these tests came from talloc

16 years agor18077: move some configure tests out of talloc that are now in libreplace
Andrew Tridgell [Tue, 5 Sep 2006 11:38:50 +0000 (11:38 +0000)]
r18077: move some configure tests out of talloc that are now in libreplace

16 years agor18076: convert talloc to the new libreplace system
Andrew Tridgell [Tue, 5 Sep 2006 11:34:43 +0000 (11:34 +0000)]
r18076: convert talloc to the new libreplace system

16 years agor18075: with the new scheme, we now use config.h again (thanks jelmer!)
Andrew Tridgell [Tue, 5 Sep 2006 11:33:46 +0000 (11:33 +0000)]
r18075: with the new scheme, we now use config.h again (thanks jelmer!)

16 years agor18074: config.m4 is now libreplace.m4
Andrew Tridgell [Tue, 5 Sep 2006 11:22:11 +0000 (11:22 +0000)]
r18074: config.m4 is now libreplace.m4

16 years agor18073: next step in grab libreplace plan - see IRC logs for very detailed
Andrew Tridgell [Tue, 5 Sep 2006 11:21:16 +0000 (11:21 +0000)]
r18073: next step in grab libreplace plan - see IRC logs for very detailed
discussion wity metze and jelmer!

16 years agor18072: Really delete things in the base partition, after we changed where the
Andrew Bartlett [Tue, 5 Sep 2006 10:45:05 +0000 (10:45 +0000)]
r18072: Really delete things in the base partition, after we changed where the
default search scope points to.

Andrew Bartlett

16 years agor18068: This splits the handling of multiple SASL packets between the GENSEC
Andrew Bartlett [Tue, 5 Sep 2006 09:42:54 +0000 (09:42 +0000)]
r18068: This splits the handling of multiple SASL packets between the GENSEC
backend (if it chooses to implement it), or the GENSEC socket code.

This is to allow us to handle DIGEST-MD5 across to cyrus-sasl.

Andrew Bartlett

16 years agor18067: some tweaks for irix and hpux
Andrew Tridgell [Tue, 5 Sep 2006 07:58:26 +0000 (07:58 +0000)]
r18067: some tweaks for irix and hpux

this checks for -AC99 or -c99 to get C99 structure init to work. It's
based on a similar macro metze did for Samba4.

the double sinclude() is weird, but I can't see any other way to use a
common config.m4 between libreplace and all the projects that use it

16 years agor18064: merge from samba3
Stefan Metzmacher [Tue, 5 Sep 2006 06:40:39 +0000 (06:40 +0000)]
r18064: merge from samba3

metze

16 years agor18061: this should fix the libreplace build on us4 with gcc
Andrew Tridgell [Tue, 5 Sep 2006 04:58:23 +0000 (04:58 +0000)]
r18061: this should fix the libreplace build on us4 with gcc

16 years agor18060: use gmake for libreplace if available
Andrew Tridgell [Tue, 5 Sep 2006 04:53:46 +0000 (04:53 +0000)]
r18060: use gmake for libreplace if available

16 years agor18059: another cpp error
Andrew Tridgell [Tue, 5 Sep 2006 04:48:01 +0000 (04:48 +0000)]
r18059: another cpp error

16 years agor18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
Andrew Tridgell [Tue, 5 Sep 2006 04:23:11 +0000 (04:23 +0000)]
r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere)

16 years agor18057: fixed an #ifdef
Andrew Tridgell [Tue, 5 Sep 2006 04:19:16 +0000 (04:19 +0000)]
r18057: fixed an #ifdef

16 years agor18056: includes needed for O_CREAT
Andrew Tridgell [Tue, 5 Sep 2006 02:05:36 +0000 (02:05 +0000)]
r18056: includes needed for O_CREAT

16 years agor18055: aix needs time.h for timegm.c to compile
Andrew Tridgell [Tue, 5 Sep 2006 02:03:22 +0000 (02:03 +0000)]
r18055: aix needs time.h for timegm.c to compile

16 years agor18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
Andrew Tridgell [Tue, 5 Sep 2006 01:54:49 +0000 (01:54 +0000)]
r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros

16 years agor18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
Andrew Tridgell [Tue, 5 Sep 2006 01:50:52 +0000 (01:50 +0000)]
r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux

16 years agor18052: discard_const_p() isn't part of the libreplace API, so we can't use it
Andrew Tridgell [Mon, 4 Sep 2006 22:58:55 +0000 (22:58 +0000)]
r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
inside libreplace.

16 years agor18051: - add gcc warning flags
Andrew Tridgell [Mon, 4 Sep 2006 22:49:30 +0000 (22:49 +0000)]
r18051: - add gcc warning flags

- fix piles of warnings and ftruncate bug in libreplace testsuite

16 years agor18050: Run more NET tests on the build farm.
Rafal Szczesniak [Mon, 4 Sep 2006 20:48:29 +0000 (20:48 +0000)]
r18050: Run more NET tests on the build farm.

rafal

16 years agor18046: Add 'z' specifier support and a configure test.
Simo Sorce [Mon, 4 Sep 2006 16:30:40 +0000 (16:30 +0000)]
r18046: Add 'z' specifier support and a configure test.

Jeremy should I backport this to samba3 too?

16 years agor18045: Update format, list "test" target as phony.
Jelmer Vernooij [Mon, 4 Sep 2006 13:47:57 +0000 (13:47 +0000)]
r18045: Update format, list "test" target as phony.

16 years agor18044: timegm.c needs to be in a separate file
Andrew Tridgell [Mon, 4 Sep 2006 13:35:03 +0000 (13:35 +0000)]
r18044: timegm.c needs to be in a separate file

16 years agor18043: added strlcpy() test
Andrew Tridgell [Mon, 4 Sep 2006 13:28:54 +0000 (13:28 +0000)]
r18043: added strlcpy() test

16 years agor18042: testsuite needs to link to libreplace.a :-)
Andrew Tridgell [Mon, 4 Sep 2006 13:27:16 +0000 (13:27 +0000)]
r18042: testsuite needs to link to libreplace.a :-)

16 years agor18041: started on the bodies of the testsuite functions for libreplace
Andrew Tridgell [Mon, 4 Sep 2006 13:10:49 +0000 (13:10 +0000)]
r18041: started on the bodies of the testsuite functions for libreplace

16 years agor18040: Use only one strnlen implementation
Jelmer Vernooij [Mon, 4 Sep 2006 13:10:14 +0000 (13:10 +0000)]
r18040: Use only one strnlen implementation

16 years agor18039: Include header with time_t if needed.
Jelmer Vernooij [Mon, 4 Sep 2006 13:07:29 +0000 (13:07 +0000)]
r18039: Include header with time_t if needed.

16 years agor18038: make test fns static
Andrew Tridgell [Mon, 4 Sep 2006 12:57:40 +0000 (12:57 +0000)]
r18038: make test fns static

16 years agor18037: added 'make installcheck' target
Andrew Tridgell [Mon, 4 Sep 2006 12:56:14 +0000 (12:56 +0000)]
r18037: added 'make installcheck' target

16 years agor18036: Add missing file
Jelmer Vernooij [Mon, 4 Sep 2006 12:49:17 +0000 (12:49 +0000)]
r18036: Add missing file

16 years agor18035: - fixed 'make clean' to remove test objects
Andrew Tridgell [Mon, 4 Sep 2006 12:39:41 +0000 (12:39 +0000)]
r18035: - fixed 'make clean' to remove test objects

- fixed 'make install' to create target dir

should be ready to go into the build farm as a standalone build now?

16 years agor18034: fixed build of libreplace outside of source directory
Andrew Tridgell [Mon, 4 Sep 2006 12:36:06 +0000 (12:36 +0000)]
r18034: fixed build of libreplace outside of source directory

16 years agor18033: added install-sh, needed for standalone libreplace build
Andrew Tridgell [Mon, 4 Sep 2006 12:31:40 +0000 (12:31 +0000)]
r18033: added install-sh, needed for standalone libreplace build

16 years agor18032: added a 'make distclean'
Andrew Tridgell [Mon, 4 Sep 2006 12:31:23 +0000 (12:31 +0000)]
r18032: added a 'make distclean'

16 years agor18031: Merge my replace fixes:
Jelmer Vernooij [Mon, 4 Sep 2006 12:21:42 +0000 (12:21 +0000)]
r18031: Merge my replace fixes:
 * libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace

16 years agor18027: Fix some 64-bit warnings
Volker Lendecke [Mon, 4 Sep 2006 08:55:58 +0000 (08:55 +0000)]
r18027: Fix some 64-bit warnings

16 years agor18026: patch from Brad allowing the windows testing to be configured
Andrew Tridgell [Mon, 4 Sep 2006 04:54:20 +0000 (04:54 +0000)]
r18026: patch from Brad allowing the windows testing to be configured
externally in the build farm

16 years agor18025: Don't try to set a target host if there isn't one (such as with ldapi://).
Andrew Bartlett [Mon, 4 Sep 2006 03:59:04 +0000 (03:59 +0000)]
r18025: Don't try to set a target host if there isn't one (such as with ldapi://).

Andrew Bartlett