bbaumbach/samba-autobuild/.git
16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 years agor25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
Andrew Bartlett [Tue, 13 Nov 2007 03:32:36 +0000 (04:32 +0100)]
r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the

modules.

This will be useful when we start enforcing validity in base DNs.

Andrew Bartlett
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)

16 years agor25933: LDB: Don't free errstring until after the printf, in case it is one of
Andrew Bartlett [Tue, 13 Nov 2007 03:31:28 +0000 (04:31 +0100)]
r25933: LDB: Don't free errstring until after the printf, in case it is one of

the arguments.

Andrew Bartlett
(This used to be commit af40b1cd88f0e932665f6fe90daae8e687a3dc0c)

16 years agor25932: Remove unnecessary include - should fix the build on hosts without popt.
Jelmer Vernooij [Mon, 12 Nov 2007 16:22:12 +0000 (17:22 +0100)]
r25932: Remove unnecessary include - should fix the build on hosts without popt.
(This used to be commit f250ae0c361aef864f25dfc7599ce1e7a4e29cf8)

16 years agor25931: Add config .mk file for crypto lib.
Jelmer Vernooij [Sun, 11 Nov 2007 23:05:10 +0000 (00:05 +0100)]
r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)

16 years agor25930: fix test name
Jelmer Vernooij [Sun, 11 Nov 2007 22:37:01 +0000 (23:37 +0100)]
r25930: fix test name
(This used to be commit 41dcd8c261aecaccee21667367bb524c13d620d9)

16 years agor25929: Add some help strings.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:57 +0000 (23:36 +0100)]
r25929: Add some help strings.
(This used to be commit ef364df37f2f00c238903bec4c8a035c05bdf366)

16 years agor25928: Split up torture-local a bit.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:53 +0000 (23:36 +0100)]
r25928: Split up torture-local a bit.
(This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)

16 years agor25927: Move share tests to param directory.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:50 +0000 (23:36 +0100)]
r25927: Move share tests to param directory.
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)

16 years agor25926: Move iconv test to iconv code directory.
Jelmer Vernooij [Sun, 11 Nov 2007 22:36:45 +0000 (23:36 +0100)]
r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4a935d3249d0b631b942fd318a2ece2)

16 years agor25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
Stefan Metzmacher [Sun, 11 Nov 2007 13:06:02 +0000 (14:06 +0100)]
r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID

(found by make valgrindtest)

metze
(This used to be commit e95c2ffe009ebdc9993b75ecc1a47175ff840ec4)

16 years agor25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
Stefan Metzmacher [Sun, 11 Nov 2007 12:59:01 +0000 (13:59 +0100)]
r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest

metze
(This used to be commit 9b151e6ceaeaa15e8cbd92f452522fe005f2382f)

16 years agor25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett [Sat, 10 Nov 2007 08:29:32 +0000 (09:29 +0100)]
r25923: Make sure to install phpldapadmin-config.php

Andrew Bartlett
(This used to be commit 472dd7b318a03fa0166cdf3d15e4f5495de25c2c)

16 years agor25922: Make it easier to bind to a unix domain socket, without messing with
Andrew Bartlett [Sat, 10 Nov 2007 04:48:38 +0000 (05:48 +0100)]
r25922: Make it easier to bind to a unix domain socket, without messing with

ports...

Andrew Bartlett
(This used to be commit 70de473980e99eeeb719bf9f63d23a399847b23b)

16 years agor25921: Now also listen on ldapi by default in the LDAP server
Andrew Bartlett [Sat, 10 Nov 2007 04:31:26 +0000 (05:31 +0100)]
r25921: Now also listen on ldapi by default in the LDAP server

Create a phpLDAPadmin configuration file example to use ldapi to talk
to Samba4

Andrew Bartlett
(This used to be commit 54f4c8ba6127757fd272bd97e301188eb69977ed)

16 years agor25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:51 +0000 (19:24 +0100)]
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)

lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)

16 years agor25919: ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:25 +0000 (19:24 +0100)]
r25919: ndr: change NTSTAUS into enum ndr_err_code (ndrdump)

librpc/tools/ndrdump.c

metze
(This used to be commit c788fe3eecae49187a84561783ddbe8f0199ac70)

16 years agor25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
Stefan Metzmacher [Fri, 9 Nov 2007 18:24:10 +0000 (19:24 +0100)]
r25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)

ndr_sec_helper.c
ndr_spoolss_buf.c
ndr_compression.c
ndr_drsuapi.[ch]
ndr_krb5pac.c
ndr_orpc.c

metze
(This used to be commit 356e027bf883c8fc36fa4759eff56e364daf9fce)

16 years agor25917: ndr: move ndr_map_error2ntstatus to errormap.c
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:57 +0000 (19:23 +0100)]
r25917: ndr: move ndr_map_error2ntstatus to errormap.c

metze
(This used to be commit 8fc2e7737fc15f7265816f077e2a48a7a98f75b8)

16 years agor25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:40 +0000 (19:23 +0100)]
r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)

librpc/ndr/

metze
(This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)

16 years agor25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Stefan Metzmacher [Fri, 9 Nov 2007 18:23:25 +0000 (19:23 +0100)]
r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)

Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze
(This used to be commit 7106f21de8dfc472aa0846b49bfdb7543c63b310)