tprouty/samba.git
16 years agor22637: Install tdbbackup and tdbdump again. TDB_1_1_0
Jelmer Vernooij [Wed, 2 May 2007 16:09:33 +0000 (16:09 +0000)]
r22637: Install tdbbackup and tdbdump again.

16 years agor22635: make it possible to not turn off dns canonicalization of hostnames
Stefan Metzmacher [Wed, 2 May 2007 09:54:06 +0000 (09:54 +0000)]
r22635: make it possible to not turn off dns canonicalization of hostnames
with krb5:set_dns_canonicalize=yes

needed for the drsuapi replication, but we should fix this with
a kdc locator plugin ...

metze

16 years agor22634: make the events system much less dependent on the samba4 build system
Andrew Tridgell [Tue, 1 May 2007 21:29:42 +0000 (21:29 +0000)]
r22634: make the events system much less dependent on the samba4 build system

16 years agor22632: merged volkers select events fix
Andrew Tridgell [Tue, 1 May 2007 20:57:54 +0000 (20:57 +0000)]
r22632: merged volkers select events fix

16 years agor22629: if irpc gets freed within event_loop_once() we crash...
Stefan Metzmacher [Tue, 1 May 2007 09:55:36 +0000 (09:55 +0000)]
r22629: if irpc gets freed within event_loop_once() we crash...
so deferr the freeing

metze

16 years agor22628: convert to new composite api
Stefan Metzmacher [Tue, 1 May 2007 09:06:25 +0000 (09:06 +0000)]
r22628: convert to new composite api
and free the smbcli_request explicit to fix a crash where
the request handler gets called after its private data is already
freed

metze

16 years agor22627: fix crash msgs_tmp isn't always initialized
Stefan Metzmacher [Tue, 1 May 2007 08:43:52 +0000 (08:43 +0000)]
r22627: fix crash msgs_tmp isn't always initialized
and we don't need an extra allocated string anyway

metze

16 years agor22626: test member server with local and domain credentials
Stefan Metzmacher [Tue, 1 May 2007 04:12:54 +0000 (04:12 +0000)]
r22626: test member server with local and domain credentials

metze

16 years agor22625: hopefully fix make test on solaris
Stefan Metzmacher [Tue, 1 May 2007 03:30:04 +0000 (03:30 +0000)]
r22625: hopefully fix make test on solaris

metze

16 years agor22624: - configure other auth methods for the member server
Stefan Metzmacher [Tue, 1 May 2007 03:28:12 +0000 (03:28 +0000)]
r22624: - configure other auth methods for the member server
- use the netbiosname as domain and realm for the provision
  of the member server

metze

16 years agor22623: export SMB_CONF_PATH from selftest.pl
Stefan Metzmacher [Tue, 1 May 2007 03:26:01 +0000 (03:26 +0000)]
r22623: export SMB_CONF_PATH from selftest.pl

metze

16 years agor22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvar
Stefan Metzmacher [Tue, 1 May 2007 03:25:17 +0000 (03:25 +0000)]
r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvar

very usefull for make testenv!

this makes it also possible to pass a config file to smbscript

metze

16 years agor22621: fix the 'sam' auth module
Stefan Metzmacher [Tue, 1 May 2007 03:22:17 +0000 (03:22 +0000)]
r22621: fix the 'sam' auth module

metze

16 years agor22620: fix compiler warnings
Stefan Metzmacher [Tue, 1 May 2007 02:08:11 +0000 (02:08 +0000)]
r22620: fix compiler warnings

metze

16 years agor22619: fix pidl warnings
Stefan Metzmacher [Tue, 1 May 2007 02:01:45 +0000 (02:01 +0000)]
r22619: fix pidl warnings

metze

16 years agor22618: handle the properties related to the type
Stefan Metzmacher [Tue, 1 May 2007 02:00:57 +0000 (02:00 +0000)]
r22618: handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:

declare [switch_type(uint16)] union netr_Validation;

void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);

metze

16 years agor22617: assume we have defered elements if the type is just provides via
Stefan Metzmacher [Tue, 1 May 2007 01:57:17 +0000 (01:57 +0000)]
r22617: assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls

metze

16 years agor22616: allow the unclist file to not specify a share name, and instead
Andrew Tridgell [Mon, 30 Apr 2007 22:38:27 +0000 (22:38 +0000)]
r22616: allow the unclist file to not specify a share name, and instead
inherit the share name from the command line if it is not
specified. This allows you to just specify the servers in the unclist,
and connect to the same share on all servers.

16 years agor22612: Fix more cases where we have uninitialised values in the
Andrew Bartlett [Mon, 30 Apr 2007 16:52:30 +0000 (16:52 +0000)]
r22612: Fix more cases where we have uninitialised values in the
composite_context, because we don't use the creation function.

Andrew Bartlett

16 years agor22610: fix build with included popt
Stefan Metzmacher [Mon, 30 Apr 2007 14:32:50 +0000 (14:32 +0000)]
r22610: fix build with included popt

metze

16 years agor22609: skip BASE-UTABLE (400s) and BASE-SMB (837s)
Stefan Metzmacher [Mon, 30 Apr 2007 13:24:00 +0000 (13:24 +0000)]
r22609: skip BASE-UTABLE (400s) and BASE-SMB (837s)

maybe we should have a "make completetest"
that includes all benchmark and scanner tests,
which we can run before doing a release...

metze

16 years agor22608: use a shorter share name as testparm complained about
Stefan Metzmacher [Mon, 30 Apr 2007 13:17:19 +0000 (13:17 +0000)]
r22608: use a shorter share name as testparm complained about
a share name longer than 12 chars

metze

16 years agor22607: work with the solaris version of popt
Stefan Metzmacher [Mon, 30 Apr 2007 13:13:49 +0000 (13:13 +0000)]
r22607: work with the solaris version of popt

metze

16 years agor22606: don't every try to prompt within make test...
Stefan Metzmacher [Mon, 30 Apr 2007 13:03:03 +0000 (13:03 +0000)]
r22606: don't every try to prompt within make test...

metze

16 years agor22605: Set up all required environments before starting tests.
Jelmer Vernooij [Mon, 30 Apr 2007 12:48:42 +0000 (12:48 +0000)]
r22605: Set up all required environments before starting tests.

16 years agor22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal. TALLOC_1_0
Jelmer Vernooij [Mon, 30 Apr 2007 11:27:41 +0000 (11:27 +0000)]
r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.

16 years agor22601: run net join with the correct socket_wrapper and krb5 configuration
Stefan Metzmacher [Mon, 30 Apr 2007 11:16:50 +0000 (11:16 +0000)]
r22601: run net join with the correct socket_wrapper and krb5 configuration

metze

16 years agor22600: Update bzr ignores, put right version in .pc files, prepare for support of...
Jelmer Vernooij [Mon, 30 Apr 2007 10:49:42 +0000 (10:49 +0000)]
r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.

16 years agor22599: Document member server.
Jelmer Vernooij [Mon, 30 Apr 2007 10:23:20 +0000 (10:23 +0000)]
r22599: Document member server.

16 years agor22598: Simplify includes for replace.
Jelmer Vernooij [Mon, 30 Apr 2007 09:38:25 +0000 (09:38 +0000)]
r22598: Simplify includes for replace.

16 years agor22597: try to pass on some more boxes in the build-farm without timeout
Stefan Metzmacher [Mon, 30 Apr 2007 09:35:32 +0000 (09:35 +0000)]
r22597: try to pass on some more boxes in the build-farm without timeout

metze

16 years agor22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
Jelmer Vernooij [Mon, 30 Apr 2007 08:53:56 +0000 (08:53 +0000)]
r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.

16 years agor22595: Add version numbers.
Jelmer Vernooij [Mon, 30 Apr 2007 08:08:36 +0000 (08:08 +0000)]
r22595: Add version numbers.

16 years agor22594: This helped coax out valgrind errors last night, but we don't need it any...
Andrew Bartlett [Mon, 30 Apr 2007 06:55:23 +0000 (06:55 +0000)]
r22594: This helped coax out valgrind errors last night, but we don't need it any more.

Andrew Bartlett

16 years agor22582: Cleanups towards making winbind work again. We still have a long way to...
Andrew Bartlett [Sun, 29 Apr 2007 21:40:48 +0000 (21:40 +0000)]
r22582: Cleanups towards making winbind work again.  We still have a long way to go, as this has bitrotted over the past months.

This change in particular catches winbind up with the next
composite_create() function.

We also needed to remove an unused flags field, and fill in the lm
response.

Andrew Bartlett

16 years agor22581: disable BASE-UTABLE and BASE-SMB on the ntvfs/cifs share
Stefan Metzmacher [Sun, 29 Apr 2007 21:40:17 +0000 (21:40 +0000)]
r22581: disable BASE-UTABLE and BASE-SMB on the ntvfs/cifs share
we should maybe disable them complete they're protocol scanners!
and take more than 400s each

metze

16 years agor22580: remove not yet needed line...
Stefan Metzmacher [Sun, 29 Apr 2007 21:38:32 +0000 (21:38 +0000)]
r22580: remove not yet needed line...

metze

16 years agor22579: disable progress printing in the build-farm
Stefan Metzmacher [Sun, 29 Apr 2007 21:37:29 +0000 (21:37 +0000)]
r22579: disable progress printing in the build-farm

metze

16 years agor22575: move script/tests/ -> selftest/
Stefan Metzmacher [Sun, 29 Apr 2007 20:37:59 +0000 (20:37 +0000)]
r22575: move script/tests/ -> selftest/

as discussed with jelmer and abartlet

metze

16 years agor22572: Don't manually set objectGUID values
Andrew Bartlett [Sun, 29 Apr 2007 15:24:49 +0000 (15:24 +0000)]
r22572: Don't manually set objectGUID values

16 years agor22571: - don't use "localhost" anymore in our tests
Stefan Metzmacher [Sun, 29 Apr 2007 13:54:51 +0000 (13:54 +0000)]
r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member

metze

16 years agor22570: run the NBT tests against DC and MEMBER
Stefan Metzmacher [Sun, 29 Apr 2007 13:31:13 +0000 (13:31 +0000)]
r22570: run the NBT tests against DC and MEMBER

metze

16 years agor22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
Stefan Metzmacher [Sun, 29 Apr 2007 13:07:36 +0000 (13:07 +0000)]
r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.

we should find out why this is needed and add explicit name resolution
in related code...

metze

16 years agor22568: use the $SERVER_IP for the NET-* tests because I'll later change
Stefan Metzmacher [Sun, 29 Apr 2007 13:05:53 +0000 (13:05 +0000)]
r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc

mimir: please take a look why that's needed at all, as it shouldn't:-)

metze

16 years agor22567: add NET-API-DOMLIST test to automatic testing.
Rafal Szczesniak [Sun, 29 Apr 2007 12:33:04 +0000 (12:33 +0000)]
r22567: add NET-API-DOMLIST test to automatic testing.

rafal

16 years agor22566: add a simple test of libnet_DomainList function.
Rafal Szczesniak [Sun, 29 Apr 2007 12:32:17 +0000 (12:32 +0000)]
r22566: add a simple test of libnet_DomainList function.

rafal

16 years agor22565: add libnet_DomainList function.
Rafal Szczesniak [Sun, 29 Apr 2007 12:31:09 +0000 (12:31 +0000)]
r22565: add libnet_DomainList function.

rafal

16 years agor22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
Jeremy Allison [Sat, 28 Apr 2007 23:23:24 +0000 (23:23 +0000)]
r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.

16 years agor22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett [Sat, 28 Apr 2007 16:39:24 +0000 (16:39 +0000)]
r22559: Make the ad2OLschema tool case insensitive.

Andrew Bartlett

16 years agor22558: Move to a static list of enctypes to put into our keytab. In future,
Andrew Bartlett [Sat, 28 Apr 2007 16:38:06 +0000 (16:38 +0000)]
r22558: Move to a static list of enctypes to put into our keytab.  In future,
I'll allow this to be configured from the secrets.ldb, but it should
fix some user issues.

Andrew Bartlett

16 years agor22557: Simo has long bugged me that the paths in the sam.ldb partitions were
Andrew Bartlett [Sat, 28 Apr 2007 15:18:25 +0000 (15:18 +0000)]
r22557: Simo has long bugged me that the paths in the sam.ldb partitions were
not relative to the location of the sam.ldb, but instead
lp_private_dir().

This fixes that issue.

Andrew Bartlett

16 years agor22556: Make the slapd command valid.
Andrew Bartlett [Sat, 28 Apr 2007 15:17:03 +0000 (15:17 +0000)]
r22556: Make the slapd command valid.

Andrew Bartlett

16 years agor22552: this doesn't need a dc
Stefan Metzmacher [Sat, 28 Apr 2007 09:34:32 +0000 (09:34 +0000)]
r22552: this doesn't need a dc

metze

16 years agor22551: use fixed passwords, to make it possible to reproduce stuff
Stefan Metzmacher [Sat, 28 Apr 2007 09:01:52 +0000 (09:01 +0000)]
r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files

metze

16 years agor22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
Stefan Metzmacher [Sat, 28 Apr 2007 08:58:40 +0000 (08:58 +0000)]
r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()

metze

16 years agor22549: export some more info ipaddress and in member env also the
Stefan Metzmacher [Sat, 28 Apr 2007 08:57:06 +0000 (08:57 +0000)]
r22549: export some more info ipaddress and in member env also the
details of the dc

metze

16 years agor22548: - maintain a global array of exported envvars
Stefan Metzmacher [Sat, 28 Apr 2007 08:48:11 +0000 (08:48 +0000)]
r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
  SELFTEST_TESTENV=member make testenv

metze

16 years agor22547: fix some pathes and make sure we work with relative and abslute prefix pathes
Stefan Metzmacher [Sat, 28 Apr 2007 08:43:51 +0000 (08:43 +0000)]
r22547: fix some pathes and make sure we work with relative and abslute prefix pathes

metze

16 years agor22546: use the same error codes in both share backends
Stefan Metzmacher [Sat, 28 Apr 2007 08:37:36 +0000 (08:37 +0000)]
r22546: use the same error codes in both share backends

metze

16 years agor22545: fix formating and a compiler warning
Stefan Metzmacher [Sat, 28 Apr 2007 08:00:51 +0000 (08:00 +0000)]
r22545: fix formating and a compiler warning

metze

16 years agor22544: use the same syntax as in all other files
Stefan Metzmacher [Sat, 28 Apr 2007 07:31:19 +0000 (07:31 +0000)]
r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...

metze

16 years agor22541: Added talloc_size_strict macro.
Jeremy Allison [Fri, 27 Apr 2007 22:04:27 +0000 (22:04 +0000)]
r22541: Added talloc_size_strict macro.
Jeremy.

16 years agor22540: Added _strict varients of the macro calls - added
Jeremy Allison [Fri, 27 Apr 2007 21:58:10 +0000 (21:58 +0000)]
r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.

16 years agor22539: Added _strict varients of the talloc calls to
Jeremy Allison [Fri, 27 Apr 2007 21:09:16 +0000 (21:09 +0000)]
r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.

16 years agor22538: same day late at night in au...:-)
Stefan Metzmacher [Fri, 27 Apr 2007 17:35:15 +0000 (17:35 +0000)]
r22538: same day late at night in au...:-)

fix the strcasecmp_m() returns 0 for a match

also use the correct array element to fill priv->dcinfo

the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"

metze

16 years agor22536: resolve name before passing to cldap
Stefan Metzmacher [Fri, 27 Apr 2007 14:31:26 +0000 (14:31 +0000)]
r22536: resolve name before passing to cldap

metze

16 years agor22535: pass down $(TESTS) to all test variants
Stefan Metzmacher [Fri, 27 Apr 2007 14:23:08 +0000 (14:23 +0000)]
r22535: pass down $(TESTS) to all test variants

metze

16 years agor22534: don't remove socket and fd_event before we told the
Stefan Metzmacher [Fri, 27 Apr 2007 14:17:28 +0000 (14:17 +0000)]
r22534: don't remove socket and fd_event before we told the
packet layer.

also fix double free (left over from cut-n-paste)

metze

16 years agor22531: Fix up OpenLDAP schema map to almost pass 'make test'.
Andrew Bartlett [Fri, 27 Apr 2007 11:13:37 +0000 (11:13 +0000)]
r22531: Fix up OpenLDAP schema map to almost pass 'make test'.

Andrew Bartlett

16 years agor22530: use message() to make --quiet work
Stefan Metzmacher [Fri, 27 Apr 2007 10:06:34 +0000 (10:06 +0000)]
r22530: use message() to make --quiet work

metze

16 years agor22528: remember that the connection was marked dead and don't
Stefan Metzmacher [Fri, 27 Apr 2007 05:45:53 +0000 (05:45 +0000)]
r22528: remember that the connection was marked dead and don't
allow sending packet over the broken connection,
as we would segfault...

metze

16 years agor22523: Give a hint why this test fails (helped debugging backend issues).
Andrew Bartlett [Thu, 26 Apr 2007 09:32:26 +0000 (09:32 +0000)]
r22523: Give a hint why this test fails (helped debugging backend issues).

Andrew Bartlett

16 years agor22522: Print why we can't find these entries.
Andrew Bartlett [Wed, 25 Apr 2007 16:36:46 +0000 (16:36 +0000)]
r22522: Print why we can't find these entries.

Andrew Bartlett

16 years agor22521: Don't fail the module load just because we don't have a schema yet.
Andrew Bartlett [Wed, 25 Apr 2007 16:36:15 +0000 (16:36 +0000)]
r22521: Don't fail the module load just because we don't have a schema yet.

This code to be replaced by metze's schema loader soon...

Andrew Bartlett

16 years agor22520: Fix the TYPE command.
Jelmer Vernooij [Wed, 25 Apr 2007 16:10:54 +0000 (16:10 +0000)]
r22520: Fix the TYPE command.

16 years agor22519: convert libnet_DomainOpenSamr function from state-handling routine
Rafal Szczesniak [Wed, 25 Apr 2007 15:24:01 +0000 (15:24 +0000)]
r22519: convert libnet_DomainOpenSamr function from state-handling routine
to composite_continue.

rafal

16 years agor22518: Create pkgconfig dir.
Jelmer Vernooij [Wed, 25 Apr 2007 14:18:22 +0000 (14:18 +0000)]
r22518: Create pkgconfig dir.

16 years agor22517: Use DESTDIR
Jelmer Vernooij [Wed, 25 Apr 2007 13:31:38 +0000 (13:31 +0000)]
r22517: Use DESTDIR

16 years agor22516: Use DESTDIR
Jelmer Vernooij [Wed, 25 Apr 2007 12:58:49 +0000 (12:58 +0000)]
r22516: Use DESTDIR

16 years agor22515: only steal pipe on success
Stefan Metzmacher [Wed, 25 Apr 2007 12:36:12 +0000 (12:36 +0000)]
r22515: only steal pipe on success

metze

16 years agor22514: Add version numbers to tdb and talloc (required so they can be packaged indep...
Jelmer Vernooij [Wed, 25 Apr 2007 12:30:25 +0000 (12:30 +0000)]
r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian).

16 years agor22508: at option for the startup delay
Stefan Metzmacher [Wed, 25 Apr 2007 02:43:23 +0000 (02:43 +0000)]
r22508: at option for the startup delay

metze

16 years agor22503: Add support for dgram to socket_ipv6. No tests yet...
Jelmer Vernooij [Tue, 24 Apr 2007 13:55:04 +0000 (13:55 +0000)]
r22503: Add support for dgram to socket_ipv6. No tests yet...

16 years agor22501: dispatching events explicitly is not necessary.
Rafal Szczesniak [Tue, 24 Apr 2007 09:35:55 +0000 (09:35 +0000)]
r22501: dispatching events explicitly is not necessary.

rafal

16 years agor22500: there's a better way to find out if there are any children
Rafal Szczesniak [Tue, 24 Apr 2007 09:10:43 +0000 (09:10 +0000)]
r22500: there's a better way to find out if there are any children

rafal

16 years agor22499: UsrCtx should be created within UsersView. Tree widget just
Rafal Szczesniak [Tue, 24 Apr 2007 08:36:41 +0000 (08:36 +0000)]
r22499: UsrCtx should be created within UsersView. Tree widget just
opens it and passes the domain name(s) to operate on (selectable
via combo box).

rafal

16 years agor22498: The initial LDIF import into Fedora DS didn't work, so just push this
Andrew Bartlett [Tue, 24 Apr 2007 07:57:44 +0000 (07:57 +0000)]
r22498: The initial LDIF import into Fedora DS didn't work, so just push this
onto the end of dse.ldif.

This make Fedora DS work with multiple naming contexts.

Andrew Bartlett

16 years agor22497: Support renaming objectclasses and attributes for the LDAP backend.
Andrew Bartlett [Tue, 24 Apr 2007 05:57:56 +0000 (05:57 +0000)]
r22497: Support renaming objectclasses and attributes for the LDAP backend.

OpenLDAP is fussy about operational attributes in user-supplied
schema.

Andrew Bartlett

16 years agor22494: Skip subSchema again, but we will need to remap this objectClass.
Andrew Bartlett [Mon, 23 Apr 2007 21:56:23 +0000 (21:56 +0000)]
r22494: Skip subSchema again, but we will need to remap this objectClass.

Make the Fedora DS backend test again.

Andrew Bartlett

16 years agor22488: Hopefully fix ipv6.
Jelmer Vernooij [Mon, 23 Apr 2007 15:32:47 +0000 (15:32 +0000)]
r22488: Hopefully fix ipv6.

16 years agor22487: Add a separate widget class for listing users and reposition
Rafal Szczesniak [Mon, 23 Apr 2007 13:37:33 +0000 (13:37 +0000)]
r22487: Add a separate widget class for listing users and reposition
things on NetManager's screen. Qooxdoo layout positioning can
be tricky sometimes...

rafal

16 years agor22486: add a flag to ignore timeouts of a request and don't close
Stefan Metzmacher [Mon, 23 Apr 2007 12:31:12 +0000 (12:31 +0000)]
r22486: add a flag to ignore timeouts of a request and don't close
the connection on timeout

metze

16 years agor22485: don't crash when the main dcerpc code haven't setup
Stefan Metzmacher [Mon, 23 Apr 2007 10:39:20 +0000 (10:39 +0000)]
r22485: don't crash when the main dcerpc code haven't setup
transport.recv_data yet

also return always a usefull error

metze

16 years agor22478: Update the LDAP backend code to handle initialisation of multiple
Andrew Bartlett [Mon, 23 Apr 2007 07:33:15 +0000 (07:33 +0000)]
r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.

Make the LDAP provision run before smbd starts, then stop the LDAP
server.  This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).

This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.

Andrew Bartlett

16 years agor22477: When an invaild base is specified to ldb_search, it should return
Andrew Bartlett [Mon, 23 Apr 2007 07:26:08 +0000 (07:26 +0000)]
r22477: When an invaild base is specified to ldb_search, it should return
LDB_ERR_NO_SUCH_OBJECT.  Handle this (found against LDAP, ldb_tdb is
being updated).

Andrew Bartlett

16 years agor22476: The OID match is used very oddly in AD, as it is often used for fields
Andrew Bartlett [Mon, 23 Apr 2007 07:25:09 +0000 (07:25 +0000)]
r22476: The OID match is used very oddly in AD, as it is often used for fields
that contain attribute names and objectClasses.  Make it a case
insensitive string for now.

Andrew Bartlett

16 years agor22475: Rather than segfault, show the name of the malformed entry.
Andrew Bartlett [Mon, 23 Apr 2007 07:23:45 +0000 (07:23 +0000)]
r22475: Rather than segfault, show the name of the malformed entry.

Andrew Bartlett

16 years agor22474: If ldb does not return sucess, then the res variable may not be valid.
Andrew Bartlett [Mon, 23 Apr 2007 07:22:16 +0000 (07:22 +0000)]
r22474: If ldb does not return sucess, then the res variable may not be valid.
It *should* just be NULL from the initialisation above, but I've had
this not be the case...

Andrew Bartlett

16 years agor22472: Commit the start of the DRSUAPI pull replication service.
Stefan Metzmacher [Mon, 23 Apr 2007 00:43:47 +0000 (00:43 +0000)]
r22472: Commit the start of the DRSUAPI pull replication service.

It doesn't work completely yet because we aren't able to
resolve DNS SRV records. And also we also need a kdc locator
plugin...

But with some hacks the pull replication works fine

metze

16 years agor22471: Convert more code to use proper LDB error codes.
Simo Sorce [Mon, 23 Apr 2007 00:36:49 +0000 (00:36 +0000)]
r22471: Convert more code to use proper LDB error codes.
This is a 1 to 1 convertion, next step is to make this
code report an error if the basedn is not used, hopefully
avoiding an  explicit search on the base object in the most
common cases.