metze/samba/wb-ndr.git
16 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

16 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

16 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

16 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

16 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

16 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

16 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

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.

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.

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

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

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

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

16 years agor26024: fix make install
Stefan Metzmacher [Mon, 19 Nov 2007 06:02:33 +0000 (07:02 +0100)]
r26024: fix make install

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

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

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

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

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

metze

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

metze

16 years agor26006: Improve some dependencies.
Jelmer Vernooij [Fri, 16 Nov 2007 22:24:23 +0000 (23:24 +0100)]
r26006: Improve some dependencies.

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.

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.

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.

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.

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.

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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 $^.

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

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

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

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

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

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.

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.

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.

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

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

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

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

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

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

16 years agor25935: Fix registry tests.
Jelmer Vernooij [Tue, 13 Nov 2007 03:57:09 +0000 (04:57 +0100)]
r25935: Fix registry tests.

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

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

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.

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.

16 years agor25930: fix test name
Jelmer Vernooij [Sun, 11 Nov 2007 22:37:01 +0000 (23:37 +0100)]
r25930: fix test name

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.

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.

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.

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.

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

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

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

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