garming/samba-autobuild/.git
11 years agor26078: Import Python bindings for system_session functions (still needs tests).
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:41 +0000 (12:31 +0100)]
r26078: Import Python bindings for system_session functions (still needs tests).
(This used to be commit f1f7d2f98acfb586815a34ee7d38edcf41a0197d)

11 years agor26077: Import updated TDB bindings.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:38 +0000 (12:31 +0100)]
r26077: Import updated TDB bindings.
(This used to be commit afe091d92ebb1dc15ae3d8df9a5ba8832933a83c)

11 years agor26076: Remove some SWIG code that is already commonly available.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:35 +0000 (12:31 +0100)]
r26076: Remove some SWIG code that is already commonly available.
(This used to be commit e6cd16d0fb3c7f0d4756c28b8c9300583910c4c6)

11 years agor26075: Ignore registry python test for now.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:32 +0000 (12:31 +0100)]
r26075: Ignore registry python test for now.
(This used to be commit 2ceeea14b35ea01d65c9f2c40e3bc11d1f1ce82d)

11 years agor26074: Add SWIG magic for NTSTATUS and WERROR return codes.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:29 +0000 (12:31 +0100)]
r26074: Add SWIG magic for NTSTATUS and WERROR return codes.
(This used to be commit 0bee7cb92e8ae1b80a957dd8fe32c36db1c32032)

11 years agor26073: Import Python bindings for the registry.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:26 +0000 (12:31 +0100)]
r26073: Import Python bindings for the registry.
(This used to be commit 777205b5705940c00384172c531ea99ba3eae235)

11 years agor26072: Import trivial SWIG wrapper for talloc.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:23 +0000 (12:31 +0100)]
r26072: Import trivial SWIG wrapper for talloc.
(This used to be commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419)

11 years agor26071: Move DCE/RPC SWIG bindings closer to the code they're wrapping.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:19 +0000 (12:31 +0100)]
r26071: Move DCE/RPC SWIG bindings closer to the code they're wrapping.
(This used to be commit 93eba0a3a984e9cd08ab2cf74b409938c991824a)

11 years agor26070: Skip credentials python tests for now.
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:15 +0000 (12:31 +0100)]
r26070: Skip credentials python tests for now.
(This used to be commit 99f56680403b41d557e0c70a7caab1d60ba17b9c)

11 years agor26069: Import python bindings for credentials.
Jelmer Vernooij [Wed, 21 Nov 2007 10:56:41 +0000 (11:56 +0100)]
r26069: Import python bindings for credentials.
(This used to be commit 97bb235cc8c2855a0903bbd9dee53f0e03c4adc0)

11 years agor26068: Import improved Python bindings for LDB, including tests.
Jelmer Vernooij [Wed, 21 Nov 2007 10:47:55 +0000 (11:47 +0100)]
r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)

11 years agor26067: Merge improvements building Python modules.
Jelmer Vernooij [Wed, 21 Nov 2007 10:10:45 +0000 (11:10 +0100)]
r26067: Merge improvements building Python modules.
(This used to be commit 11a2cbbac51781e72ae1288c8e30f175526b01a8)

11 years agor26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* (it was...
Jelmer Vernooij [Tue, 20 Nov 2007 14:50:08 +0000 (15:50 +0100)]
r26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* (it was already being used for some).
(This used to be commit d8b175016570d628bb075008149d32a0d538ce95)

11 years agor26060: Add some error codes from remote join api.
Günther Deschner [Tue, 20 Nov 2007 11:43:11 +0000 (12:43 +0100)]
r26060: Add some error codes from remote join api.

Guenther
(This used to be commit 73f231cba3fde4b2c5078b7c6dd52c3dac8cd1ce)

11 years agor26054: ndr: remove ndr_push/pull_save
Stefan Metzmacher [Tue, 20 Nov 2007 10:08:33 +0000 (11:08 +0100)]
r26054: ndr: remove ndr_push/pull_save

Using a uint32_t offset is all we need

metze
(This used to be commit 2c06b48a858016f9329dcd73231fb3c7b711a918)

11 years agor26053: IPC_RAP: don't use ndr_pull_save anymore
Stefan Metzmacher [Tue, 20 Nov 2007 10:08:24 +0000 (11:08 +0100)]
r26053: IPC_RAP: don't use ndr_pull_save anymore

metze
(This used to be commit 590dd7f8a1ccba762dfcdfb036cf44306da2354a)

11 years agor26052: ndr_krb5pac: don't use ndr_pull_save anymore
Stefan Metzmacher [Tue, 20 Nov 2007 10:08:13 +0000 (11:08 +0100)]
r26052: ndr_krb5pac: don't use ndr_pull_save anymore

metze
(This used to be commit dee44c03208699f6dd3b05a9ba914d6f55eb6278)

11 years agor26051: ndr_string: don't use ndr_pull_save anymore
Stefan Metzmacher [Tue, 20 Nov 2007 10:08:05 +0000 (11:08 +0100)]
r26051: ndr_string: don't use ndr_pull_save anymore

metze
(This used to be commit adda63122e0afd5e10c834cbab8baee1ef1a3a24)

11 years agor26050: ndr: don't use ndr_push_save anymore
Stefan Metzmacher [Tue, 20 Nov 2007 10:07:57 +0000 (11:07 +0100)]
r26050: ndr: don't use ndr_push_save anymore

metze
(This used to be commit a682fbb5af1ca02068fdef9ed9a4dd7b0201d88c)

11 years agor26049: pidl: don't use ndr_pull_save anymore
Stefan Metzmacher [Tue, 20 Nov 2007 10:07:50 +0000 (11:07 +0100)]
r26049: pidl: don't use ndr_pull_save anymore

metze
(This used to be commit d361bb174131227c426a247ca0262930a714c37a)

11 years agor26048: spoolss: Fix test_SecondaryClosePrinter.
Kai Blin [Tue, 20 Nov 2007 08:33:14 +0000 (09:33 +0100)]
r26048: spoolss: Fix test_SecondaryClosePrinter.

The test was trying to be too smart. Fixed to not reuse test_ClosePrinter.
(This used to be commit 5f688d1fddd1faac523e491ba3de2b453c8b44ca)

11 years agor26047: spoolss: OpenPrinterEx with an invalid server/printer name returns WERR_INVAL...
Kai Blin [Tue, 20 Nov 2007 08:17:05 +0000 (09:17 +0100)]
r26047: spoolss: OpenPrinterEx with an invalid server/printer name returns WERR_INVALID_PARAM

This is observed against a Win2k3 DC, and different tothe WERR_INVALID_PRINTER_NAME
returned by OpenPrinter.
(This used to be commit 7e78dc7cfe695deb2f1f02f03fe00827cded9ce5)

11 years agor26029: In RAW-STREAMS test listing of streams
Volker Lendecke [Mon, 19 Nov 2007 14:01:03 +0000 (15:01 +0100)]
r26029: In RAW-STREAMS test listing of streams
(This used to be commit 8dbe10be30798ea78cc2a5e6c70e6bc5202fa05c)

11 years agor26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE...
Stefan Metzmacher [Mon, 19 Nov 2007 11:12:13 +0000 (12:12 +0100)]
r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG

metze
(This used to be commit 8ec94633c4d46bb9ca03d59fed40e278d35ad580)

11 years agor26026: libreplace: split some linker macros
Stefan Metzmacher [Mon, 19 Nov 2007 10:34:26 +0000 (11:34 +0100)]
r26026: libreplace: split some linker macros

create:
AC_LIBREPLACE_LD_SHLIB_LINKER
AC_LIBREPLACE_LD_SHLIB_FLAGS
AC_LIBREPLACE_LD_SHLIB_DISALLOW_UNDEF_FLAG

and prerequire them for:
AC_LIBREPLACE_SHLD
AC_LIBREPLACE_SHLD_FLAGS
AC_LIBREPLACE_MDLD
AC_LIBREPLACE_MDLD_FLAGS

metze
(This used to be commit cc8692265d6e9161679a779480d6b22dee23f8bb)

11 years agor26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLI...
Stefan Metzmacher [Mon, 19 Nov 2007 09:07:29 +0000 (10:07 +0100)]
r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG

metze
(This used to be commit d2fb7d876bb1960c02fa7b9c0fb53315ae0cd99c)

11 years agor26024: fix make install
Stefan Metzmacher [Mon, 19 Nov 2007 06:02:33 +0000 (07:02 +0100)]
r26024: fix make install
(This used to be commit 31d911dc53e013a2f48fa2e5f52e95a17baec8e2)

11 years agor26020: GENCACHE depends on TDB_WRAP
Stefan Metzmacher [Sat, 17 Nov 2007 21:50:13 +0000 (22:50 +0100)]
r26020: GENCACHE depends on TDB_WRAP

metze
(This used to be commit 76b63769905a08b8d6285eb4824236a3aa6d2253)

11 years agor26019: use <tdb.h> instead of "tdb.h"
Stefan Metzmacher [Sat, 17 Nov 2007 21:49:24 +0000 (22:49 +0100)]
r26019: use <tdb.h> instead of "tdb.h"

metze
(This used to be commit e162958e6f9cd79f2caf1213f78d3f6a4cf90b9d)

11 years agor26018: dsdb/schema/proto.h doesn't exist anymore
Stefan Metzmacher [Sat, 17 Nov 2007 21:48:01 +0000 (22:48 +0100)]
r26018: dsdb/schema/proto.h doesn't exist anymore

metze
(This used to be commit 3b8215270ce477442dd98a4e4d26b5fcea73f98f)

11 years agor26017: db_wrap.h doesn't exist anymore and we now need tdb_wrap.h
Stefan Metzmacher [Sat, 17 Nov 2007 21:46:39 +0000 (22:46 +0100)]
r26017: db_wrap.h doesn't exist anymore and we now need tdb_wrap.h

metze
(This used to be commit 88f11a88f32a0a5fe2702d24f1879881a5865365)

11 years agor26016: remove unneeded include
Stefan Metzmacher [Sat, 17 Nov 2007 21:45:36 +0000 (22:45 +0100)]
r26016: remove unneeded include

metze
(This used to be commit 330b8dce85ebc6c7acf101638a66547962b22794)

11 years agor26015: fix dependecies
Stefan Metzmacher [Sat, 17 Nov 2007 21:44:57 +0000 (22:44 +0100)]
r26015: fix dependecies

metze
(This used to be commit 29b6a8739a7d06df029916e901e71700f2118f39)

11 years agor26006: Improve some dependencies.
Jelmer Vernooij [Fri, 16 Nov 2007 22:24:23 +0000 (23:24 +0100)]
r26006: Improve some dependencies.
(This used to be commit 28f05bb5ef9e727298f4b61e71c42a8703374b96)

11 years agor26005: Notice the user about LD_LIBRARY_PATH or equivalent when building with shared...
Jelmer Vernooij [Fri, 16 Nov 2007 20:50:31 +0000 (21:50 +0100)]
r26005: Notice the user about LD_LIBRARY_PATH or equivalent when building with shared libs.
(This used to be commit 44529b24467ac94d47d14a53177554b39a80da1a)

11 years agor26004: Add some simple credentials tests.
Jelmer Vernooij [Fri, 16 Nov 2007 19:54:13 +0000 (20:54 +0100)]
r26004: Add some simple credentials tests.
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)

11 years agor26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
Jelmer Vernooij [Fri, 16 Nov 2007 19:12:00 +0000 (20:12 +0100)]
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)

11 years agor26002: Use osf rather than tru64 - pointed out by metze.
Jelmer Vernooij [Fri, 16 Nov 2007 19:11:53 +0000 (20:11 +0100)]
r26002: Use osf rather than tru64 - pointed out by metze.
(This used to be commit df10de42958e65f46298c2fc879688985d1f7ef3)

11 years agor26001: Share some code between macros, add macro specifically for testing the ld...
Jelmer Vernooij [Fri, 16 Nov 2007 19:11:48 +0000 (20:11 +0100)]
r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols.
(This used to be commit 6cd3a3a46a6a9b630502ebfff1a90e2d035d9e39)

11 years agor26000: build: use AC_LIBREPLACE_STLD_* macros
Stefan Metzmacher [Fri, 16 Nov 2007 10:50:11 +0000 (11:50 +0100)]
r26000: build: use AC_LIBREPLACE_STLD_* macros

metze
(This used to be commit 03a55961481e724acfc4e098cbe8f997986b61e2)

11 years agor25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
Stefan Metzmacher [Fri, 16 Nov 2007 10:48:59 +0000 (11:48 +0100)]
r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS

metze
(This used to be commit c7b0b4c21e1fc4093c9109e046f23c19489e7400)

11 years agor25998: Add test for run time library path environment variable.
Jelmer Vernooij [Fri, 16 Nov 2007 10:40:52 +0000 (11:40 +0100)]
r25998: Add test for run time library path environment variable.
(This used to be commit b2355857baf4d9dad0d9d6a465744be11bbb9beb)

11 years agor25997: torture: fix variables passed by make gcov
Stefan Metzmacher [Fri, 16 Nov 2007 10:29:16 +0000 (11:29 +0100)]
r25997: torture: fix variables passed by make gcov

metze
(This used to be commit 8f3d6f464f3a79c535fcdadcdc7b8b93c97744e9)

11 years agor25996: build: rename LD -> BNLD and LDFLAGS -> BNLD_FLAGS
Stefan Metzmacher [Fri, 16 Nov 2007 10:27:48 +0000 (11:27 +0100)]
r25996: build: rename LD -> BNLD and LDFLAGS -> BNLD_FLAGS

metze
(This used to be commit fa795c88e2661a4398d2a9ded6ce486de4c45076)

11 years agor25995: build: print out MDLD and MDLD_FLAGS with make showflags
Stefan Metzmacher [Fri, 16 Nov 2007 09:53:16 +0000 (10:53 +0100)]
r25995: build: print out MDLD and MDLD_FLAGS with make showflags

metze
(This used to be commit 77815d0314650f1dbe4c5c796bbae27a1be6c53f)

11 years agor25994: build: use HOSTCC, HOSTCC_FLAGS, HOSTLD and HOSTLD_FLAGS
Stefan Metzmacher [Fri, 16 Nov 2007 09:41:35 +0000 (10:41 +0100)]
r25994: build: use HOSTCC, HOSTCC_FLAGS, HOSTLD and HOSTLD_FLAGS

metze
(This used to be commit 5a0c30b9a52020cfc39be6862f23755de977a73b)

11 years agor25993: build: HOSTLD should always match HOSTCC if not specified
Stefan Metzmacher [Fri, 16 Nov 2007 09:39:52 +0000 (10:39 +0100)]
r25993: build: HOSTLD should always match HOSTCC if not specified

metze
(This used to be commit 941dfdbbb47d18c94bff8bd0452326e6f5ce768f)

11 years agor25992: ldb: use AC_LIBREPLACE_SHLD and use it for linking shared libraries
Stefan Metzmacher [Fri, 16 Nov 2007 09:21:57 +0000 (10:21 +0100)]
r25992: ldb: use AC_LIBREPLACE_SHLD and use it for linking shared libraries

metze
(This used to be commit 7ee9700abea3e0b5c5f0a6f4941e7e41188edaaf)

11 years agor25991: tdb: use AC_LIBREPLACE_SHLD and use it for linking the shared library
Stefan Metzmacher [Fri, 16 Nov 2007 09:19:46 +0000 (10:19 +0100)]
r25991: tdb: use AC_LIBREPLACE_SHLD and use it for linking the shared library

metze
(This used to be commit 1f2ba20a11f5f34235d8067c72f8d79486db0f01)

11 years agor25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared library
Stefan Metzmacher [Fri, 16 Nov 2007 09:17:26 +0000 (10:17 +0100)]
r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared library

metze
(This used to be commit c179807165b84dd832ab64f794034960668e5957)

11 years agor25989: build: use AC_LIBREPLACE_SHLD
Stefan Metzmacher [Fri, 16 Nov 2007 09:15:26 +0000 (10:15 +0100)]
r25989: build: use AC_LIBREPLACE_SHLD

metze
(This used to be commit 54f0ad64a611695ca6d8bfd643f3846021bac637)

11 years agor25988: libreplace: add AC_LIBREPLACE_SHLD
Stefan Metzmacher [Fri, 16 Nov 2007 09:14:48 +0000 (10:14 +0100)]
r25988: libreplace: add AC_LIBREPLACE_SHLD

metze
(This used to be commit 2abae42d70903710d1a289d945fa08c1d94ceb80)

11 years agor25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
Stefan Metzmacher [Fri, 16 Nov 2007 09:10:58 +0000 (10:10 +0100)]
r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS

metze
(This used to be commit 410cdf789a72209f9e10321519fe18ab40a43f95)

11 years agor25986: libreplace: warn about unresolved symbols when link shared libraries
Stefan Metzmacher [Fri, 16 Nov 2007 08:31:49 +0000 (09:31 +0100)]
r25986: libreplace: warn about unresolved symbols when link shared libraries

On Tru64 and Mac OS X this hopefully works

Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want
      on Linux.

metze
(This used to be commit 7bee9a62ffda64a1bdcdbdd38dbb181eac8b641e)

11 years agor25985: build: SHLD_UNDEF_FLAGS isn't used anymore
Stefan Metzmacher [Fri, 16 Nov 2007 07:38:32 +0000 (08:38 +0100)]
r25985: build: SHLD_UNDEF_FLAGS isn't used anymore

metze
(This used to be commit 24290852863517f0ab3d881d4a2deb086ce5ef5d)

11 years agor25984: ldb: use MDLD macros from libreplace and use results to build share modules
Stefan Metzmacher [Fri, 16 Nov 2007 07:35:48 +0000 (08:35 +0100)]
r25984: ldb: use MDLD macros from libreplace and use results to build share modules

metze
(This used to be commit 113efcd85685e0c42eb51eb0370e789362c8071a)

11 years agor25983: ldb: link shared library against $(LDAP_LIBS)
Stefan Metzmacher [Fri, 16 Nov 2007 07:31:42 +0000 (08:31 +0100)]
r25983: ldb: link shared library against $(LDAP_LIBS)

metze
(This used to be commit 0437ae18455e6721da70cf8a2f1e798f9f28756b)

11 years agor25982: libreplace: try to ignore unresolved symbols in modules on Tru64
Stefan Metzmacher [Fri, 16 Nov 2007 07:30:32 +0000 (08:30 +0100)]
r25982: libreplace: try to ignore unresolved symbols in modules on Tru64

metze
(This used to be commit bfde13b70b6be4c4aeeafa50d4619237930f9e0e)

11 years agor25981: Don't create an ldb_request on NULL.
Andrew Bartlett [Fri, 16 Nov 2007 03:18:22 +0000 (04:18 +0100)]
r25981: Don't create an ldb_request on NULL.

A re-arrangment of the code due to the base DN checking meant that the
ac->down_req array wasn't started, so was NULL

Andrew Bartlett
(This used to be commit 0a44b8e9f3e1a85c27d105cdd1572a0df936f612)

11 years agor25978: build: use AC_LIBREPLACE_MDLD_* macros and use the result to build modules
Stefan Metzmacher [Thu, 15 Nov 2007 15:46:57 +0000 (16:46 +0100)]
r25978: build: use AC_LIBREPLACE_MDLD_* macros and use the result to build modules

metze
(This used to be commit f86db3348b0ee243988526578cc09c2d5d9a70af)

11 years agor25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
Stefan Metzmacher [Thu, 15 Nov 2007 15:44:28 +0000 (16:44 +0100)]
r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros

They define the linker and link flags for building shared modules

metze
(This used to be commit 128b4e1a512a9ae5592ba7ccf8adde11189fc5a9)

11 years agor25976: libreplace: not all platforms like _XOPEN_SOURCE=600
Stefan Metzmacher [Thu, 15 Nov 2007 15:40:32 +0000 (16:40 +0100)]
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600

- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
(This used to be commit d19ab62081ce4ee4273ff752ad0443782a994826)

11 years agor25975: build: split SharedModule from SharedLibrary
Stefan Metzmacher [Thu, 15 Nov 2007 14:44:17 +0000 (15:44 +0100)]
r25975: build: split SharedModule from SharedLibrary

metze
(This used to be commit 6f51dd97ac0161d09166bdce1e6aa57404b12056)

11 years agor25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
Stefan Metzmacher [Thu, 15 Nov 2007 14:43:14 +0000 (15:43 +0100)]
r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600

On Tru64 this brings in socklen_t and some other socket stuff

metze
(This used to be commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016)

11 years agor25973: talloc: fix usage of SONAMEFLAG
Stefan Metzmacher [Thu, 15 Nov 2007 14:41:03 +0000 (15:41 +0100)]
r25973: talloc: fix usage of SONAMEFLAG

metze
(This used to be commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)

11 years agor25972: tdb: fix usage of SONAMEFLAG
Stefan Metzmacher [Thu, 15 Nov 2007 14:40:39 +0000 (15:40 +0100)]
r25972: tdb: fix usage of SONAMEFLAG

metze
(This used to be commit 5aa20bb649136c21ae35f2578954f133bb7af233)

11 years agor25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
Stefan Metzmacher [Thu, 15 Nov 2007 13:55:48 +0000 (14:55 +0100)]
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE

metze
(This used to be commit 05b4619c5beff474488d1abe5e647acd94a3e20c)

11 years agor25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
Stefan Metzmacher [Thu, 15 Nov 2007 13:46:47 +0000 (14:46 +0100)]
r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h

metze
(This used to be commit a07c983fde52607806745914bb41039afb5618cc)

11 years agor25969: ldb: link libnss_ldb.so.2 against the shared library
Stefan Metzmacher [Thu, 15 Nov 2007 12:16:31 +0000 (13:16 +0100)]
r25969: ldb: link libnss_ldb.so.2 against the shared library

metze
(This used to be commit 36ef127c8b722cb7a6d709592a3d97d166e7228c)

11 years agor25968: ldb: we need to use @SONAMEFLAG@ directly so that the '#' trick can work
Stefan Metzmacher [Thu, 15 Nov 2007 12:11:50 +0000 (13:11 +0100)]
r25968: ldb: we need to use @SONAMEFLAG@ directly so that the '#' trick can work

metze
(This used to be commit 48957e4b2acd1c19c5be42c6de77eba190dfd7e2)

11 years agor25967: ldb: a module doesn't need to link against $(LIBS)
Stefan Metzmacher [Thu, 15 Nov 2007 12:07:08 +0000 (13:07 +0100)]
r25967: ldb: a module doesn't need to link against $(LIBS)

As the main library already links to it.

metze
(This used to be commit f6a8c36be6def543363fe1a2af9c0f875a07bbb5)

11 years agor25966: Don't force an 8 byte width to generated SIDs, as this can actually
Andrew Bartlett [Thu, 15 Nov 2007 10:37:41 +0000 (11:37 +0100)]
r25966: Don't force an 8 byte width to generated SIDs, as this can actually

end up with a SID with a space in it.

Andrew Bartlett
(This used to be commit 7771f59eadf7045d852e60aa365036da230b41b9)

11 years agor25965: Remove duplicate block - thanks metze!
Andrew Bartlett [Thu, 15 Nov 2007 10:05:22 +0000 (11:05 +0100)]
r25965: Remove duplicate block - thanks metze!

Andrew Bartlett
(This used to be commit d7e65da56454bc7721083e0aa7fa2e9c47f2b79d)

11 years agor25964: Fix comment and use talloc hirachy in ldb_tdb initialisation.
Andrew Bartlett [Thu, 15 Nov 2007 10:01:14 +0000 (11:01 +0100)]
r25964: Fix comment and use talloc hirachy in ldb_tdb initialisation.

Andrew Bartlett
(This used to be commit 05cc2a7d966a10f1f111d7bae3261e1087fdffe6)

11 years agor25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
Stefan Metzmacher [Thu, 15 Nov 2007 09:20:55 +0000 (10:20 +0100)]
r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this

metze
(This used to be commit e145accfc25c04597c786e0bddbaf37e0d493863)

11 years agor25962: Move to more modern ldb functions loading module list.
Andrew Bartlett [Thu, 15 Nov 2007 04:54:51 +0000 (05:54 +0100)]
r25962: Move to more modern ldb functions loading module list.

Andrew Bartlett
(This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)

11 years agor25961: Add new tests to verify basedn validation in LDAP searches.
Andrew Bartlett [Thu, 15 Nov 2007 01:46:13 +0000 (02:46 +0100)]
r25961: Add new tests to verify basedn validation in LDAP searches.

Andrew Bartlett
(This used to be commit e178df4a180e7ce3eba1a14fb45b2fcc582f06c3)

11 years agor25960: Enable checks on the validity of the search base on sam.ldb in Samba4.
Andrew Bartlett [Thu, 15 Nov 2007 01:45:31 +0000 (02:45 +0100)]
r25960: Enable checks on the validity of the search base on sam.ldb in Samba4.

Remove bogus check to return NO_SUCH_ENTRY in ldap_backend.c, as this
error is now correctly emited from ldb.

Andrew Bartlett
(This used to be commit ed57862b90812e5a38ca81935b131338112fb19f)

11 years agor25959: Add a new special DN to LDB: @OPTIONS
Andrew Bartlett [Thu, 15 Nov 2007 00:53:44 +0000 (01:53 +0100)]
r25959: Add a new special DN to LDB: @OPTIONS

Use the checkBaseOnSearch attribute to control if we should check the
base DN on search requests.

Also ensure we honour any errors in searching, not just errors in the
supplied 'done' callback.

Andrew Bartlett
(This used to be commit deaac92f439ef001bfe052df170d6e34e8ba5845)

11 years agor25958: Callers of gendb_search_dn() don't expect to get
Andrew Bartlett [Thu, 15 Nov 2007 00:13:24 +0000 (01:13 +0100)]
r25958: Callers of gendb_search_dn() don't expect to get

LDB_ERR_NO_SUCH_OBJECT for base searches.  Return 0 in this case.

Andrew Bartlett
(This used to be commit eb180f6a6af0caf185e0f9782173c232dab9c5fb)

11 years agor25957: Rework the cracknames code to use less gendb_search() and instead call
Andrew Bartlett [Thu, 15 Nov 2007 00:12:10 +0000 (01:12 +0100)]
r25957: Rework the cracknames code to use less gendb_search() and instead call

ldb_search_exp_fmt().  While it is a bit more verbose to code with, it
returns better error codes, and allows us to handle the case where the
base DN doesn't exist better.

Andrew Bartlett
(This used to be commit be6ef043a3f811e6b08d3e5fe7094a72d974134a)

11 years agor25956: Try metze's suggestion for Mac OS X shld flags.
Jelmer Vernooij [Wed, 14 Nov 2007 21:46:29 +0000 (22:46 +0100)]
r25956: Try metze's suggestion for Mac OS X shld flags.
(This used to be commit 5fea6e0d9ae671ea00292b66a2608b3ee954f917)

11 years agor25955: libreplace: add a useful link about linking shared libraries
Stefan Metzmacher [Wed, 14 Nov 2007 10:42:03 +0000 (11:42 +0100)]
r25955: libreplace: add a useful link about linking shared libraries

http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

metze
(This used to be commit 403c5521d1bbd78a6b20d7da121870a5aa1d3546)

11 years agor25954: we don't need this twice
Stefan Metzmacher [Wed, 14 Nov 2007 09:52:47 +0000 (10:52 +0100)]
r25954: we don't need this twice

metze
(This used to be commit 5cc89f1b8ec650560768b52b67302bc695b652c1)

11 years agor25953: AIX make doesn't support $^.
Jelmer Vernooij [Wed, 14 Nov 2007 09:51:32 +0000 (10:51 +0100)]
r25953: AIX make doesn't support $^.
(This used to be commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)

11 years agor25952: Add in new data file required by samba3sam test.
Andrew Bartlett [Wed, 14 Nov 2007 09:40:58 +0000 (10:40 +0100)]
r25952: Add in new data file required by samba3sam test.

Andrew Bartlett
(This used to be commit f36a35dd690f2b15171976a4d093a306cb0d3c68)

11 years agor25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.
Günther Deschner [Wed, 14 Nov 2007 08:48:12 +0000 (09:48 +0100)]
r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.

Guenther
(This used to be commit 1b49119c7318495cb3f2e5894e8faa3726a7fa0a)

11 years agor25950: Enable seperate module to prevent subtree deletes.
Andrew Bartlett [Wed, 14 Nov 2007 02:55:05 +0000 (03:55 +0100)]
r25950: Enable seperate module to prevent subtree deletes.

Andrew Bartlett
(This used to be commit a71414ec3efd3e52a898b58bd2ea7d986518f531)

11 years agor25949: Make error messages clearer and more correct.
Andrew Bartlett [Wed, 14 Nov 2007 02:52:39 +0000 (03:52 +0100)]
r25949: Make error messages clearer and more correct.

Andrew Bartlett
(This used to be commit f0a0d73f768434cb474b311d7c366d1f2a06c8f4)

11 years agor25948: Fix up the samba3sam test (which is very fragile) to work with the new
Andrew Bartlett [Wed, 14 Nov 2007 02:51:02 +0000 (03:51 +0100)]
r25948: Fix up the samba3sam test (which is very fragile) to work with the new

restrictions imposed by the samldb module.

This module is worth keeping, because when we go back to do more
extensive backend mapping, the testing of this module shows it is
still possible.

Andrew Bartlett
(This used to be commit a10d2554dc1f9b57ce2a98ea20969b3b3c8aec53)

11 years agor25945: Fix flags for MacOS X.
Jelmer Vernooij [Wed, 14 Nov 2007 00:07:39 +0000 (01:07 +0100)]
r25945: Fix flags for MacOS X.
(This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767)

11 years agor25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
Jelmer Vernooij [Wed, 14 Nov 2007 00:01:31 +0000 (01:01 +0100)]
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)

11 years agor25943: Fix soname on hpux.
Jelmer Vernooij [Tue, 13 Nov 2007 23:22:31 +0000 (00:22 +0100)]
r25943: Fix soname on hpux.
(This used to be commit fd762b01ed378739241dc14b6af9df9fcfe7659c)

11 years agor25942: Make various ldb modules handle an LDB backend that enforces validity
Andrew Bartlett [Tue, 13 Nov 2007 21:54:52 +0000 (22:54 +0100)]
r25942: Make various ldb modules handle an LDB backend that enforces validity

of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).

We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.

In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.

I've fixed the licence on both of these modules to be GPLv3.

Andrew Bartlett
(This used to be commit d3894c90f31fb45e038ab478cd9d7d34962d069b)

11 years agor25941: Use samdb_relative_path() (new function in samdb.c) in the partitions
Andrew Bartlett [Tue, 13 Nov 2007 21:40:42 +0000 (22:40 +0100)]
r25941: Use samdb_relative_path() (new function in samdb.c) in the partitions

module.

Andrew Bartlett
(This used to be commit c8d1ab30845fa1496c85630b138b1cb512c2b6aa)

11 years agor25940: Rework the samldb and templates handling.
Andrew Bartlett [Tue, 13 Nov 2007 21:38:55 +0000 (22:38 +0100)]
r25940: Rework the samldb and templates handling.

Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules.  This moves them to a seperate templates.ldb.

In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search.  This
returns far more useful errors, which we now handle and report better.

The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain.  This function also returns better errors.

dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()

Andrew Bartlett
(This used to be commit f1ab90c88c782c693b41795d70368650806543b5)

11 years agor25939: Rework the CLDAP server not to use gendb_search but to call ldb_search
Andrew Bartlett [Tue, 13 Nov 2007 21:30:33 +0000 (22:30 +0100)]
r25939: Rework the CLDAP server not to use gendb_search but to call ldb_search

directly.

Handle the errors from ldb_search (now that we get more than just -1),
including NO_SUCH_ENTRY when the base DN doesn't exist.

Andrew Bartlett
(This used to be commit e47df4a0fe5efd91f0355aa13c9b50c7be789767)

11 years agor25938: We don't need the CLDAP server unless we are a DC.
Andrew Bartlett [Tue, 13 Nov 2007 21:26:24 +0000 (22:26 +0100)]
r25938: We don't need the CLDAP server unless we are a DC.

Andrew Bartlett
(This used to be commit e8606bbcc67e24bdc2ee062ab3d808e5d2143d69)

11 years agor25936: provision/newuser: don't try to set the 'memberOf' attribute
Stefan Metzmacher [Tue, 13 Nov 2007 07:48:29 +0000 (08:48 +0100)]
r25936: provision/newuser: don't try to set the 'memberOf' attribute

metze
(This used to be commit c6d959e52cf4b86a52e46402392f32450d3c3635)

11 years agor25935: Fix registry tests.
Jelmer Vernooij [Tue, 13 Nov 2007 03:57:09 +0000 (04:57 +0100)]
r25935: Fix registry tests.
(This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)