kai/samba.git
12 years agor15278: Fix recreating symlink every time.
Jelmer Vernooij [Wed, 26 Apr 2006 13:17:43 +0000 (13:17 +0000)]
r15278: Fix recreating symlink every time.
(This used to be commit 6f8382432f8e6fba4d7c0f629f94ad514f0cee08)

12 years agor15277: - fix the build on netbsd, where stdlib.h has the setproctitle() prototype
Stefan Metzmacher [Wed, 26 Apr 2006 12:54:52 +0000 (12:54 +0000)]
r15277: - fix the build on netbsd, where stdlib.h has the setproctitle() prototype
  but --with-setproctitle wasn't used

metze
(This used to be commit 0754154f5154e8285608c7f17e15aa223f04adea)

12 years agor15276: Fix path to perl on some hosts
Jelmer Vernooij [Wed, 26 Apr 2006 12:31:09 +0000 (12:31 +0000)]
r15276: Fix path to perl on some hosts
Fix perl warning
(This used to be commit 50e184819d0f92da003c27c4d9adeeef3dfb55dd)

12 years agor15275: run RPC-SRVSRV in make test
Stefan Metzmacher [Wed, 26 Apr 2006 12:25:39 +0000 (12:25 +0000)]
r15275: run RPC-SRVSRV in make test

metze
(This used to be commit 4044d7959b226ed85a2d32bfe5d15536e39e42ab)

12 years agor15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
Jelmer Vernooij [Wed, 26 Apr 2006 12:22:54 +0000 (12:22 +0000)]
r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)

12 years agor15273: fix setproctitle support
Stefan Metzmacher [Wed, 26 Apr 2006 12:15:01 +0000 (12:15 +0000)]
r15273: fix setproctitle support

metze
(This used to be commit 35936fd4743554bb4ba9b2f61ec3651762189bee)

12 years agor15272: - implement NetShareEnum
Stefan Metzmacher [Wed, 26 Apr 2006 12:07:01 +0000 (12:07 +0000)]
r15272: - implement NetShareEnum
- add access checks to NEtShareEnumAll and NetShareEnum

metze
(This used to be commit dca1c2e686457ee753bd9c52a925637acd3abffa)

12 years agor15271: Fix --enable-dso
Jelmer Vernooij [Wed, 26 Apr 2006 11:58:42 +0000 (11:58 +0000)]
r15271: Fix --enable-dso
(This used to be commit 8de11ec2445ce414b37938b07937fdd7837f89a2)

12 years agor15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again.
Jelmer Vernooij [Wed, 26 Apr 2006 11:30:57 +0000 (11:30 +0000)]
r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again.
(This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)

12 years agor15267: Fix call to mkdir() for old versions of perl. This should fix installation on
Jelmer Vernooij [Wed, 26 Apr 2006 09:51:02 +0000 (09:51 +0000)]
r15267: Fix call to mkdir() for old versions of perl. This should fix installation on
sun1.
(This used to be commit a56900a7a2e40f17df9a49e7aa3faf561173fe37)

12 years agor15265: Try to find inet_pton in -lnsl (should fix linking on sun1)
Jelmer Vernooij [Wed, 26 Apr 2006 08:29:53 +0000 (08:29 +0000)]
r15265: Try to find inet_pton in -lnsl (should fix linking on sun1)
(This used to be commit a7c13020413a4d9621bef5bf9085b901ffbe1eb4)

12 years agor15263: Remove another use of patsubst (should make tru64 happy)
Jelmer Vernooij [Wed, 26 Apr 2006 00:46:10 +0000 (00:46 +0000)]
r15263: Remove another use of patsubst (should make tru64 happy)
(This used to be commit 559ae256e133777e77bfe7a683f1c441cd6007b0)

12 years agor15262: Only include getprogname if it is needed by the system. This should
Jelmer Vernooij [Wed, 26 Apr 2006 00:11:33 +0000 (00:11 +0000)]
r15262: Only include getprogname if it is needed by the system. This should
fix the build on Mac OS X
(This used to be commit 465409974da7a643617689ee7c5b55427f727548)

12 years agor15261: Work around AIX defining open as open64 again
Jelmer Vernooij [Wed, 26 Apr 2006 00:10:57 +0000 (00:10 +0000)]
r15261: Work around AIX defining open as open64 again
(This used to be commit 05f5f3da8f08fb36f9709fa40b6b84ed1f948f3c)

12 years agor15260: Don't dereference NULL pointers to obtain array lengths - found by
Jelmer Vernooij [Wed, 26 Apr 2006 00:08:39 +0000 (00:08 +0000)]
r15260: Don't dereference NULL pointers to obtain array lengths - found by
the IBM checker
(This used to be commit a492cd4bd49b6922d91d4ce5f1247bad0d0d6a7e)

12 years agor15259: try to find the place that causes trouble on some build farm host
Stefan Metzmacher [Tue, 25 Apr 2006 23:46:41 +0000 (23:46 +0000)]
r15259: try to find the place that causes trouble on some build farm host
on the NBT-WINSREPLICATION-OWNED test

metze
(This used to be commit 72ae0dbaab0602d025852bfc41e06e204ff21681)

12 years agor15258: Another attempt at fixing getaddrinfo on IRIX
Jelmer Vernooij [Tue, 25 Apr 2006 23:03:05 +0000 (23:03 +0000)]
r15258: Another attempt at fixing getaddrinfo on IRIX
(This used to be commit 13d0cec018185d768b762ff3afc0224f307b8112)

12 years agor15257: Look for headers before trying to use them in any tests. This
Jelmer Vernooij [Tue, 25 Apr 2006 22:57:06 +0000 (22:57 +0000)]
r15257: Look for headers before trying to use them in any tests. This
should fix the OpenBSD build
(This used to be commit 6172731af1f91d4e5f9d49284a179b0966ba19ef)

12 years agor15256: Use libroken's getaddrinfo if it is not provided by the system. Should
Jelmer Vernooij [Tue, 25 Apr 2006 22:02:04 +0000 (22:02 +0000)]
r15256: Use libroken's getaddrinfo if it is not provided by the system. Should
get the build on IRIX a bit further.
(This used to be commit 47d1baf0cf719dbb1113a79bba50d4075eb06411)

12 years agor15254: Fix heimdal's addrinfo subsystem for those systems that need it. This
Jelmer Vernooij [Tue, 25 Apr 2006 21:15:00 +0000 (21:15 +0000)]
r15254: Fix heimdal's addrinfo subsystem for those systems that need it. This
should get the build on sun1 and us4 another step further.
(This used to be commit 2f2f47a3891a73e1656908fc30c1c03ebae59bb2)

12 years agor15253: Fix dependency on tdr_regf.h
Jelmer Vernooij [Tue, 25 Apr 2006 21:03:05 +0000 (21:03 +0000)]
r15253: Fix dependency on tdr_regf.h
(This used to be commit 31819f5411e30199198c334701176ba3bdf258d5)

12 years agor15252: Fix inet_aton (required for Tru64 and Solaris)
Jelmer Vernooij [Tue, 25 Apr 2006 20:43:45 +0000 (20:43 +0000)]
r15252: Fix inet_aton (required for Tru64 and Solaris)
(This used to be commit 015e6e3d1bc1eafb1e3654203715fe1100676675)

12 years agor15249: Fix typos
Jelmer Vernooij [Tue, 25 Apr 2006 16:38:09 +0000 (16:38 +0000)]
r15249: Fix typos
(This used to be commit 06a735d85e8b325a9b605e23edfb2dcef511dbe3)

12 years agor15248: Fix automatic dependencies build
Jelmer Vernooij [Tue, 25 Apr 2006 16:35:06 +0000 (16:35 +0000)]
r15248: Fix automatic dependencies build
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)

12 years agor15247: Get rid of patsubst macro as it is not supported by some makes and replace
Jelmer Vernooij [Tue, 25 Apr 2006 16:31:12 +0000 (16:31 +0000)]
r15247: Get rid of patsubst macro as it is not supported by some makes and replace
it with a perl script.
This should fix the build on tru64
(This used to be commit b4e08b98a6a8ebfc4f22125b4474978e9384971c)

12 years agor15246: flags need to represented as bits 0x01,0x02,0x04,0x08,0x10,...
Stefan Metzmacher [Tue, 25 Apr 2006 16:21:56 +0000 (16:21 +0000)]
r15246: flags need to represented as bits 0x01,0x02,0x04,0x08,0x10,...

metze
(This used to be commit 96da29263b5b7a78e75b46ab9cf6e6e1729e05d4)

12 years agor15245: forgot one header
Simo Sorce [Tue, 25 Apr 2006 16:08:55 +0000 (16:08 +0000)]
r15245: forgot one header
(This used to be commit 32da3f5d22cc38f72961ca65c85c49d03f64b05c)

12 years agor15242: allow to use LDB_FLG_RECONNECT
Simo Sorce [Tue, 25 Apr 2006 12:34:58 +0000 (12:34 +0000)]
r15242: allow to use LDB_FLG_RECONNECT
(This used to be commit cdd14c2a277c6f2fb2aee21f91462d8ebe78693c)

12 years agor15241: Add helper function to set reconnect status defaults
Simo Sorce [Tue, 25 Apr 2006 12:34:13 +0000 (12:34 +0000)]
r15241: Add helper function to set reconnect status defaults
(This used to be commit 6fff8f871a607e561531e2aabef37f3469aa85e9)

12 years agor15239: (hopefully) fix Samba4 build on AIX
Jelmer Vernooij [Tue, 25 Apr 2006 12:19:19 +0000 (12:19 +0000)]
r15239: (hopefully) fix Samba4 build on AIX
(This used to be commit 0291ae47579a0f2ae67b04b049edb51974e3c8f0)

12 years agor15238: Add some code to automatically reconnect if we want to.
Simo Sorce [Tue, 25 Apr 2006 11:50:32 +0000 (11:50 +0000)]
r15238: Add some code to automatically reconnect if we want to.
(This used to be commit e2102999e26566543162455b34adbd2b0486b74d)

12 years agor15237: Add primitive Samba 4 backend for cifs posix clients (based on simple backend).
Steve French [Tue, 25 Apr 2006 11:36:15 +0000 (11:36 +0000)]
r15237: Add primitive Samba 4 backend for cifs posix clients (based on simple backend).
(This used to be commit f054e1a9e6101f22559f5c4a546b537531b60f94)

12 years agor15236: Fix -MT detection
Jelmer Vernooij [Tue, 25 Apr 2006 10:19:15 +0000 (10:19 +0000)]
r15236: Fix -MT detection
(This used to be commit 2cc0925280cbcefabfcf399f2c20453a02d8d679)

12 years agor15235: fix all gtk tools...
Stefan Metzmacher [Tue, 25 Apr 2006 09:57:18 +0000 (09:57 +0000)]
r15235: fix all gtk tools...

metze
(This used to be commit c14fbc9aadbb8e4fbc1f07a65b604979638383b9)

12 years agor15234: Remove heimdal include paths from global CFLAGS
Jelmer Vernooij [Tue, 25 Apr 2006 09:56:39 +0000 (09:56 +0000)]
r15234: Remove heimdal include paths from global CFLAGS
(This used to be commit 0466165e90160209679a6005511e04e55ed2bf06)

12 years agor15233: Fix loading shared modules
Jelmer Vernooij [Tue, 25 Apr 2006 09:45:15 +0000 (09:45 +0000)]
r15233: Fix loading shared modules
(This used to be commit b459e0e1013e039e67a0387c954fde8c83259019)

12 years agor15232: Look for CC flags, not C++ flags..
Jelmer Vernooij [Tue, 25 Apr 2006 09:28:44 +0000 (09:28 +0000)]
r15232: Look for CC flags, not C++ flags..
(This used to be commit fb5c0c1d85c802367871a1a306d4f8b4d01859b4)

12 years agor15231: Try to fix detection of ability of CC to generate dependencies
Jelmer Vernooij [Tue, 25 Apr 2006 09:21:40 +0000 (09:21 +0000)]
r15231: Try to fix detection of ability of CC to generate dependencies
(This used to be commit 11353d4b47964b762a72ec0e55221811a5a3d550)

12 years agor15230: Add include dir for -Iheimdal_build earlier on - this should fix sun1
Jelmer Vernooij [Tue, 25 Apr 2006 09:04:52 +0000 (09:04 +0000)]
r15230: Add include dir for -Iheimdal_build earlier on - this should fix sun1
(This used to be commit b74faf771d37eccb7f95236c97162cc3b83e6794)

12 years agor15226: Fix order of typedef specification - caught by kblin
Jelmer Vernooij [Tue, 25 Apr 2006 07:56:31 +0000 (07:56 +0000)]
r15226: Fix order of typedef specification - caught by kblin
(This used to be commit d5d03cdd2398467ecee71bae37238c375baa2395)

12 years agor15225: Use talloc_zero() to avoid use of uninitialised values later on.
Andrew Bartlett [Tue, 25 Apr 2006 06:53:28 +0000 (06:53 +0000)]
r15225: Use talloc_zero() to avoid use of uninitialised values later on.

Andrew Bartlett
(This used to be commit e312cddafd7e00680dd059fad7ef7e5ecdbbb484)

12 years agor15224: Check whether -MT is actually supported by the compiler before using
Jelmer Vernooij [Mon, 24 Apr 2006 22:50:19 +0000 (22:50 +0000)]
r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
(This used to be commit 6598efc6b302984d0b26b0c76a4b7107f5feba21)

12 years agor15223: Move heimdal's -I parameters from the global list of includes to
Jelmer Vernooij [Mon, 24 Apr 2006 20:45:32 +0000 (20:45 +0000)]
r15223: Move heimdal's -I parameters from the global list of includes to
the subsystems in question
(This used to be commit 2fbb4d91fa580ccb64e36f0b082f23af33123b13)

12 years agor15222: Use more standard UUIDs. Should help AIX build.
Andrew Bartlett [Mon, 24 Apr 2006 20:15:35 +0000 (20:15 +0000)]
r15222: Use more standard UUIDs.  Should help AIX build.

Andrew Bartlett
(This used to be commit cde98e9ad1990ae9da89d6449b3f0e15f00f4e54)

12 years agor15221: We don't need to have these rcsid strings in Samba's use of Heimdal.
Andrew Bartlett [Mon, 24 Apr 2006 18:38:56 +0000 (18:38 +0000)]
r15221: We don't need to have these rcsid strings in Samba's use of Heimdal.

Andrew Bartlett
(This used to be commit b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)

12 years agor15220: Another attempt to fix the bug found by the IBM Checker
Jelmer Vernooij [Mon, 24 Apr 2006 18:18:20 +0000 (18:18 +0000)]
r15220: Another attempt to fix the bug found by the IBM Checker
(This used to be commit 9f79bfc05d456c106cca44ee459eb542273c3a0c)

12 years agor15219: Look for gai_strerror in more places, so we don't conflict with the
Andrew Bartlett [Mon, 24 Apr 2006 18:00:46 +0000 (18:00 +0000)]
r15219: Look for gai_strerror in more places, so we don't conflict with the
system library.

This might help the build on proprietory unixes

Andrew Bartlett
(This used to be commit f1da657d5629425b55c9bd89427ef5d8c19f9636)

12 years agor15214: Introduce subsystem-specific CFLAGS to keep the global CFLAGS short.
Jelmer Vernooij [Mon, 24 Apr 2006 16:16:43 +0000 (16:16 +0000)]
r15214: Introduce subsystem-specific CFLAGS to keep the global CFLAGS short.
(This used to be commit a495bc60ab1b233fe507b2b1aa0ad7378cf52677)

12 years agor15213: Remove helper macro for bcopy() - this causes problems
Jelmer Vernooij [Mon, 24 Apr 2006 16:15:29 +0000 (16:15 +0000)]
r15213: Remove helper macro for bcopy() - this causes problems
with system headers on some system and is not a security threat
(This used to be commit 5d2f845acc069b8435026b4f1c660b5bb0a96823)

12 years agor15212: Simplify setproctitle code
Jelmer Vernooij [Mon, 24 Apr 2006 16:01:33 +0000 (16:01 +0000)]
r15212: Simplify setproctitle code
(This used to be commit 555ca1df1c57e5798e75b19f66b62b253a066e21)

12 years agor15211: REQUIRED_SUBSYSTEMS for binaries are gone, use PRIVATE_DEPENDENCIES here
Alexander Bokovoy [Mon, 24 Apr 2006 15:58:35 +0000 (15:58 +0000)]
r15211: REQUIRED_SUBSYSTEMS for binaries are gone, use PRIVATE_DEPENDENCIES here
(This used to be commit 29bd0d6d0c9832ad10da1fe9b07c2bbc9910c8c6)

12 years agor15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew...
Alexander Bokovoy [Mon, 24 Apr 2006 15:51:31 +0000 (15:51 +0000)]
r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)

12 years agor15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
Jelmer Vernooij [Mon, 24 Apr 2006 15:47:59 +0000 (15:47 +0000)]
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)

12 years agor15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in...
Alexander Bokovoy [Mon, 24 Apr 2006 15:12:21 +0000 (15:12 +0000)]
r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in it is defined unconditionally).
However, the lex-generated files don't fetch config.h's definition of _GNU_SOURCE before including
features.h because of preamble added by lex which already includes some system headers which in turn
include features.h. Therefore, we need to specify it explicitly on comand line.

This change adds some 'noise' (_GNU_SOURCE already defined ...) but it is neccessary to get samba4 to
compile successfuly on Maemo.
(This used to be commit cd7307c099ace123d840459da39a49ccf3872267)

12 years agor15205: Allow additional LDFLAGS, fixes #3961.
Jelmer Vernooij [Mon, 24 Apr 2006 14:59:30 +0000 (14:59 +0000)]
r15205: Allow additional LDFLAGS, fixes #3961.
(This used to be commit 4dc3d8551d0a3cd0edcbbc90d2dbf8fc249b3017)

12 years agor15204: Fix MD5Update prototype
Jelmer Vernooij [Mon, 24 Apr 2006 14:53:03 +0000 (14:53 +0000)]
r15204: Fix MD5Update prototype
(This used to be commit d2819d4e1f73675925d292c0558cb663779a5a6a)

12 years agor15203: Allow system 'bool' type to be defined in another header then stdbool.h
Jelmer Vernooij [Mon, 24 Apr 2006 14:52:37 +0000 (14:52 +0000)]
r15203: Allow system 'bool' type to be defined in another header then stdbool.h
(This used to be commit a5a648de94014b13da3af8dfac06380c9ec26c53)

12 years agor15202: Don't derefence NULL pointers - found by the IBM Checker
Jelmer Vernooij [Mon, 24 Apr 2006 14:41:13 +0000 (14:41 +0000)]
r15202: Don't derefence NULL pointers - found by the IBM Checker
(This used to be commit f6a3e8b69d2a303e7e4f8924e6735c4e168a363a)

12 years agor15201: Use abs() rather then ABS()
Jelmer Vernooij [Mon, 24 Apr 2006 14:20:44 +0000 (14:20 +0000)]
r15201: Use abs() rather then ABS()
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)

12 years agor15200: Move MIN/MAX macros to libreplace as some systems have them
Jelmer Vernooij [Mon, 24 Apr 2006 14:09:07 +0000 (14:09 +0000)]
r15200: Move MIN/MAX macros to libreplace as some systems have them
in sys/param.h
(This used to be commit 3f0396aade82a92a375275059baf8500de1b23f0)

12 years agor15199: Try to make these prototypes match, to get the build on S390 linux going.
Andrew Bartlett [Mon, 24 Apr 2006 13:55:21 +0000 (13:55 +0000)]
r15199: Try to make these prototypes match, to get the build on S390 linux going.

Andrew Bartlett
(This used to be commit db6746d456fb3963898170df36642c3f0882f42b)

12 years agor15192: Update Samba4 to use current lorikeet-heimdal.
Andrew Bartlett [Mon, 24 Apr 2006 09:36:24 +0000 (09:36 +0000)]
r15192: Update Samba4 to use current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit f0e538126c5cb29ca14ad0d8281eaa0a715ed94f)

12 years agor15191: Avoid uint_t as it's not standard.
Jelmer Vernooij [Mon, 24 Apr 2006 09:36:09 +0000 (09:36 +0000)]
r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)

12 years agor15190: Disable sonames for the BSDs and solaris as they don't take more then
Jelmer Vernooij [Mon, 24 Apr 2006 09:34:22 +0000 (09:34 +0000)]
r15190: Disable sonames for the BSDs and solaris as they don't take more then
one version number (0 rather then 0.0.1)
(This used to be commit cb0fbee3eaca67e430df3266c6ce07c0a9248a60)

12 years agor15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typo
James Peach [Mon, 24 Apr 2006 02:36:55 +0000 (02:36 +0000)]
r15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typo
that made the BASE-DIR2 test fail.
(This used to be commit dcebc59a987b3c0d8379912d0451dedb9e895451)

12 years agor15188: Restore svn rev. 15183, 15184 and 15185, which I inadvertantly clobbered
James Peach [Mon, 24 Apr 2006 01:26:31 +0000 (01:26 +0000)]
r15188: Restore svn rev. 15183, 15184 and 15185, which I inadvertantly clobbered
in r15186. I don't think I should be allowed to use quilt and svn at the
same time any more :(
(This used to be commit e0ca5ead27743c84f5d9310a05d6d718862ead1d)

12 years agor15187: Introduce new param type P_BYTES. This lets config options which specify
James Peach [Mon, 24 Apr 2006 00:38:53 +0000 (00:38 +0000)]
r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
(This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)

12 years agor15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
James Peach [Mon, 24 Apr 2006 00:16:51 +0000 (00:16 +0000)]
r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)

12 years agor15185: Force all NTVFS modules to provide a critical sizes structure so
James Peach [Sun, 23 Apr 2006 23:44:14 +0000 (23:44 +0000)]
r15185: Force all NTVFS modules to provide a critical sizes structure so
the version information can be checked when modules are registered.
(This used to be commit 95eb55806339fc5409c0adf137ebd5bffd7098ac)

12 years agor15184: Declare ntvfs_register with a typed ops pointer.
James Peach [Sun, 23 Apr 2006 23:42:23 +0000 (23:42 +0000)]
r15184: Declare ntvfs_register with a typed ops pointer.
(This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0)

12 years agor15183: Hoist the critical sizes initialiser into a header so that modules
James Peach [Sun, 23 Apr 2006 23:40:53 +0000 (23:40 +0000)]
r15183: Hoist the critical sizes initialiser into a header so that modules
can have standard access to critical sizes. Add a convenience function
to determine whether two critical sizes differ.
(This used to be commit 7ced96d2d348701734cc4cdf3f8899dbce8cd0f7)

12 years agor15182: make stuff more portable
Stefan Metzmacher [Sun, 23 Apr 2006 22:45:54 +0000 (22:45 +0000)]
r15182: make stuff more portable

metze
(This used to be commit 2b0ce388a4d955ce9bf0cdb00a13cd82f8acc87d)

12 years agor15181: Don't try kerberos sign/seal when in SSL
Simo Sorce [Sun, 23 Apr 2006 17:22:32 +0000 (17:22 +0000)]
r15181: Don't try kerberos sign/seal when in SSL
(This used to be commit 3be3b1130c41e8e372531c137c46f91c5c0acf98)

12 years agor15179: Detect setproctitle if it is in libc. Patch by Timur Bakevey
Jelmer Vernooij [Sun, 23 Apr 2006 15:34:47 +0000 (15:34 +0000)]
r15179: Detect setproctitle if it is in libc. Patch by Timur Bakevey
(This used to be commit 3ebdae4217be9c00150ae4ceb76c94ba619bbf6a)

12 years agor15178: Fix ldb function calls after big swig rename.
Tim Potter [Sun, 23 Apr 2006 15:30:40 +0000 (15:30 +0000)]
r15178: Fix ldb function calls after big swig rename.

Add close() methods to Ldb and LdbMessage classes.

Start adding dict interface to LdbMessage.
(This used to be commit 8be846a3c3e963a3c1a1fc819bd5c0b1db5e6865)

12 years agor15177: Wrap ldb_strerror() function.
Tim Potter [Sun, 23 Apr 2006 15:29:25 +0000 (15:29 +0000)]
r15177: Wrap ldb_strerror() function.
(This used to be commit af2b709f940fb18649ba279e2d9df37f44ab0162)

12 years agor15176: Ensure we don't segfault when we try and delete @FOO records.
Andrew Bartlett [Sun, 23 Apr 2006 11:25:02 +0000 (11:25 +0000)]
r15176: Ensure we don't segfault when we try and delete @FOO records.

Don't try and steal the result of a search on failure, it has already
been talloc_free()'ed by the ildb code.

Andrew Bartlett
(This used to be commit a99bd2e033501954aca8f35afe8a7f2bbfadf6b7)

12 years agor15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
James Peach [Fri, 21 Apr 2006 00:14:57 +0000 (00:14 +0000)]
r15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
with the (hopefuly) equivalent find/rm sequence.
(This used to be commit 2bce5c9465ebd245d153196fbedd764378c36827)

12 years agor15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
James Peach [Fri, 21 Apr 2006 00:07:50 +0000 (00:07 +0000)]
r15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
this with an explicit rm.
(This used to be commit ed33a140044c301f23b1bccbc334dd0e163647ed)

12 years agor15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
James Peach [Fri, 21 Apr 2006 00:04:21 +0000 (00:04 +0000)]
r15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
have strsep in libc.
(This used to be commit 76dea9f68ca9be909c45979c9e5510133e4f2264)

12 years agor15149: fix typo
Stefan Metzmacher [Thu, 20 Apr 2006 12:11:09 +0000 (12:11 +0000)]
r15149: fix typo

metze
(This used to be commit b00d524ef73e2fffd81ef3a8cdd242feda10f59d)

12 years agor15148: make wreplsrv_pull_names static
Stefan Metzmacher [Thu, 20 Apr 2006 12:00:38 +0000 (12:00 +0000)]
r15148: make wreplsrv_pull_names static

metze
(This used to be commit ce3d4ec0f67ecf7a403fb7d46ed5f6dc0b2bc275)

12 years agor15147: make some more stuff static
Stefan Metzmacher [Thu, 20 Apr 2006 11:42:03 +0000 (11:42 +0000)]
r15147: make some more stuff static

metze
(This used to be commit c49ac7f40d366aad3701623dd36568efb88eccb5)

12 years agor15146: fix comments
Stefan Metzmacher [Thu, 20 Apr 2006 11:37:14 +0000 (11:37 +0000)]
r15146: fix comments

metze
(This used to be commit c67062815816fbc2b69c1316f4b91f9a28759a88)

12 years agor15143: Pull in GNU extensions right at the start of the configure process. This
James Peach [Thu, 20 Apr 2006 01:16:04 +0000 (01:16 +0000)]
r15143: Pull in GNU extensions right at the start of the configure process. This
prevents a warning on comparison_fn_t redefinition every time replace.h
is included.
(This used to be commit 9140a2d266a59c24c1bc101d4cdd7da3cb141106)

12 years agor15131: Tidy help output. When printing the list of tests, group them by prefix
James Peach [Wed, 19 Apr 2006 03:06:50 +0000 (03:06 +0000)]
r15131: Tidy help output. When printing the list of tests, group them by prefix
to make it easier to see what tests are available.
(This used to be commit f15010ccb37f75a4bb86306cec223093b000058e)

12 years agor15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
Stefan Metzmacher [Tue, 18 Apr 2006 13:06:49 +0000 (13:06 +0000)]
r15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
flag.

metze
(This used to be commit d298e4760c1edf49f3c935304b466ba04989c32b)

12 years agor15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
Stefan Metzmacher [Tue, 18 Apr 2006 13:05:24 +0000 (13:05 +0000)]
r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
"readx.read_for_execute = True" case.

metze
(This used to be commit f30f9cd3285f75ac8cbbe8dc5a476fe6a714a2e3)

12 years agor15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
Volker Lendecke [Tue, 18 Apr 2006 11:26:43 +0000 (11:26 +0000)]
r15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
keywords. Change "private" -> "private_data".

Volker
(This used to be commit 047671567173e808fece41485bbeaaeebab7d4a2)

12 years agor15118: - do access checks also when the owner and group are not changed
Stefan Metzmacher [Tue, 18 Apr 2006 08:33:48 +0000 (08:33 +0000)]
r15118: - do access checks also when the owner and group are not changed
- only call chown/fchown when we want to change something

metze
(This used to be commit 46b3096d938331a2339a876649bc6cbfec883cb2)

12 years agor15117: add more comments
Stefan Metzmacher [Tue, 18 Apr 2006 08:07:35 +0000 (08:07 +0000)]
r15117: add more comments

metze
(This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)

12 years agor15113: Add a ldb_strerror() function.
Tim Potter [Mon, 17 Apr 2006 23:25:25 +0000 (23:25 +0000)]
r15113: Add a ldb_strerror() function.
(This used to be commit 456a1de2b9cd54337066c9ba24ad1c46aafcd072)

12 years agor15110: Start rewriting higher level ldb wrapper.
Tim Potter [Mon, 17 Apr 2006 22:00:30 +0000 (22:00 +0000)]
r15110: Start rewriting higher level ldb wrapper.
(This used to be commit 80853c7ddda6159093e0903410f6d330edd7d4c3)

12 years agor15109: Wrap ldb_global_init()
Tim Potter [Mon, 17 Apr 2006 21:59:44 +0000 (21:59 +0000)]
r15109: Wrap ldb_global_init()
(This used to be commit f70ed998a7f1006f76d453e1d379fb6ae821a537)

12 years agor15100: Port the bugfix for #3569 to Samba4
Volker Lendecke [Mon, 17 Apr 2006 11:42:59 +0000 (11:42 +0000)]
r15100: Port the bugfix for #3569 to Samba4
(This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5)

12 years agor15099: An attempt to fix BSD make portability issues. With these changes Samba 4...
Alexander Bokovoy [Mon, 17 Apr 2006 07:04:56 +0000 (07:04 +0000)]
r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d71b06166e0384950df83061a4677b8)

12 years agor15097: Add constants for ldb errors.
Tim Potter [Sun, 16 Apr 2006 06:05:33 +0000 (06:05 +0000)]
r15097: Add constants for ldb errors.

Add wrappers for ldb_dn_explode() and ldb_dn_linearize().
(This used to be commit 84774902a10d89401548ffc7423eb279227d937a)

12 years agor15096: Fix typo.
Tim Potter [Sun, 16 Apr 2006 06:02:13 +0000 (06:02 +0000)]
r15096: Fix typo.
(This used to be commit 85de6e32b833db9ca601b3e979d08444e0702c27)

12 years agor15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
Tim Potter [Sun, 16 Apr 2006 03:46:05 +0000 (03:46 +0000)]
r15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
works properly.
(This used to be commit 75176b188bfd5008775365110f8ed15dd00e0b50)

12 years agor15092: Remove some swig stuff that didn't work out and the %rename call.
Tim Potter [Sat, 15 Apr 2006 10:13:09 +0000 (10:13 +0000)]
r15092: Remove some swig stuff that didn't work out and the %rename call.

Add wrappers for some of the ldb_msg_* functions.
(This used to be commit ca7c94675ed19cdc6df27d492895c3148500536f)