samba.git
13 years agor16516: Get rid of file_exists() as there already is a file_exist().
Jelmer Vernooij [Mon, 26 Jun 2006 11:23:06 +0000 (11:23 +0000)]
r16516: Get rid of file_exists() as there already is a file_exist().

13 years agor16514: Fix build (not run!) of --enable-dso.
Jelmer Vernooij [Sun, 25 Jun 2006 22:42:12 +0000 (22:42 +0000)]
r16514: Fix build (not run!) of --enable-dso.

13 years agor16489: Because the torture/ui.h file isn't automaticly generated, the
Andrew Bartlett [Fri, 23 Jun 2006 21:05:45 +0000 (21:05 +0000)]
r16489: Because the torture/ui.h file isn't automaticly generated, the
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than
_PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto
files, but not C files).

This found a number of missing descriptions in the LOCAL-SOCKET test.

Andrew Bartlett

13 years agor16476: Error in composite functions implemented the 'old way' (single event handler,
Rafal Szczesniak [Thu, 22 Jun 2006 21:29:21 +0000 (21:29 +0000)]
r16476: Error in composite functions implemented the 'old way' (single event handler,
no continue functions) need to report an error by means of state only.
composite_error calls event handler function which frees the context and
state structure. This fixes a segfault in some cases (caught it on modifyuser
test).

rafal

13 years agor16469: do some smb2 tests
Stefan Metzmacher [Thu, 22 Jun 2006 17:50:02 +0000 (17:50 +0000)]
r16469: do some smb2 tests

metze

13 years agor16468: implement SMB2_ALL_INFORMATION in the posix backend
Stefan Metzmacher [Thu, 22 Jun 2006 17:36:06 +0000 (17:36 +0000)]
r16468: implement SMB2_ALL_INFORMATION in the posix backend

metze

13 years agor16467: implement SMB2 GetInfo server code
Stefan Metzmacher [Thu, 22 Jun 2006 17:35:04 +0000 (17:35 +0000)]
r16467: implement SMB2 GetInfo server code

metze

13 years agor16466: for SMB2_ALL_EAS it's not valid for the ntvfs backends to return
Stefan Metzmacher [Thu, 22 Jun 2006 17:33:56 +0000 (17:33 +0000)]
r16466: for SMB2_ALL_EAS it's not valid for the ntvfs backends to return
0 eas, they should return an error:
NO_EAS_ON_FILE or NO_MORE_EAS

metze

13 years agor16464: split client and server min/max protocol settings
Stefan Metzmacher [Thu, 22 Jun 2006 17:06:36 +0000 (17:06 +0000)]
r16464: split client and server min/max protocol settings

metze

13 years agor16463: TORTURE_NBENCH should be a module...
Stefan Metzmacher [Thu, 22 Jun 2006 17:00:11 +0000 (17:00 +0000)]
r16463: TORTURE_NBENCH should be a module...

thanks to jpeach!

metze

13 years agor16457: fix typo
Stefan Metzmacher [Thu, 22 Jun 2006 07:59:42 +0000 (07:59 +0000)]
r16457: fix typo

metze

13 years agor16456: return on error...
Stefan Metzmacher [Thu, 22 Jun 2006 07:36:00 +0000 (07:36 +0000)]
r16456: return on error...

metze

13 years agor16450: fix the build...
Stefan Metzmacher [Wed, 21 Jun 2006 21:28:07 +0000 (21:28 +0000)]
r16450: fix the build...

metze

13 years agor16449: move some code to a generic place
Stefan Metzmacher [Wed, 21 Jun 2006 21:24:00 +0000 (21:24 +0000)]
r16449: move some code to a generic place

metze

13 years agor16448: add more error checks
Stefan Metzmacher [Wed, 21 Jun 2006 20:43:59 +0000 (20:43 +0000)]
r16448: add more error checks

metze

13 years agor16447: print the result of talloc_set_parent()
Stefan Metzmacher [Wed, 21 Jun 2006 20:28:51 +0000 (20:28 +0000)]
r16447: print the result of talloc_set_parent()

trying to find the bug on HPUX

metze

13 years agor16446: talloc_set_name() allocates and can fail...
Stefan Metzmacher [Wed, 21 Jun 2006 19:28:24 +0000 (19:28 +0000)]
r16446: talloc_set_name() allocates and can fail...
pass the error to the callers

metze

13 years agor16445: print out values
Stefan Metzmacher [Wed, 21 Jun 2006 19:26:48 +0000 (19:26 +0000)]
r16445: print out values

metze

13 years agor16444: - split out qfsinfo passthru levels
Stefan Metzmacher [Wed, 21 Jun 2006 19:22:40 +0000 (19:22 +0000)]
r16444: - split out qfsinfo passthru levels
- use 1 to 1 mapping of interface and wire levels

metze

13 years agor16443: add push code for SMB2 levels
Stefan Metzmacher [Wed, 21 Jun 2006 18:26:17 +0000 (18:26 +0000)]
r16443: add push code for SMB2 levels

metze

13 years agor16442: if we want to use CHECK_SIZE(NULL, 3)
Stefan Metzmacher [Wed, 21 Jun 2006 17:49:34 +0000 (17:49 +0000)]
r16442: if we want to use CHECK_SIZE(NULL, 3)
we need null tracking, so enable it explicit before running any tests

metze

13 years agor16441: - give old tests a chance to report errors
Stefan Metzmacher [Wed, 21 Jun 2006 17:47:19 +0000 (17:47 +0000)]
r16441: - give old tests a chance to report errors
- display the correct test name

metze

13 years agor16440: split out passthru level into a new functions,
Stefan Metzmacher [Wed, 21 Jun 2006 17:22:55 +0000 (17:22 +0000)]
r16440: split out passthru level into a new functions,
so they can we reused for smb2 later

metze

13 years agor16410: remove some warnings of talloc_steal() usage without target
Stefan Metzmacher [Tue, 20 Jun 2006 09:57:00 +0000 (09:57 +0000)]
r16410: remove some warnings of talloc_steal() usage without target
I only commit this as this is used in a global macro

tridge: we should try to get rid of this warning without using
(void)talloc_steal(ctx, ptr);
everywhere!!!

metze

13 years agor16407: add parsing code the SMB2 GetInfo in the server
Stefan Metzmacher [Tue, 20 Jun 2006 07:05:51 +0000 (07:05 +0000)]
r16407: add parsing code the SMB2 GetInfo in the server

metze

13 years agor16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
Stefan Metzmacher [Tue, 20 Jun 2006 07:03:53 +0000 (07:03 +0000)]
r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo

metze

13 years agor16405: fix compiler warning of missing smb2_handle
Stefan Metzmacher [Tue, 20 Jun 2006 07:02:19 +0000 (07:02 +0000)]
r16405: fix compiler warning of missing smb2_handle

metze

13 years agor16403: remove dependency to smbsrv_request next part...
Stefan Metzmacher [Tue, 20 Jun 2006 06:32:29 +0000 (06:32 +0000)]
r16403: remove dependency to smbsrv_request next part...

metze

13 years agor16402: start to remove the dependecy to smbsrv_request from the parsing functions
Stefan Metzmacher [Tue, 20 Jun 2006 06:20:05 +0000 (06:20 +0000)]
r16402: start to remove the dependecy to smbsrv_request from the parsing functions

metze

13 years agor16401: keep the old pointer when realloc fails, this is needed for the
Stefan Metzmacher [Tue, 20 Jun 2006 06:05:10 +0000 (06:05 +0000)]
r16401: keep the old pointer when realloc fails, this is needed for the
search callback

metze

13 years agor16400: add more error checks
Stefan Metzmacher [Tue, 20 Jun 2006 05:06:10 +0000 (05:06 +0000)]
r16400: add more error checks

metze

13 years agor16399: - split out pushing smb_fsinfo into a DATA_BLOB
Stefan Metzmacher [Tue, 20 Jun 2006 04:14:37 +0000 (04:14 +0000)]
r16399: - split out pushing smb_fsinfo into a DATA_BLOB
- add error checks

metze

13 years agor16357: - start get rid of void parsing functions
Stefan Metzmacher [Mon, 19 Jun 2006 18:01:27 +0000 (18:01 +0000)]
r16357: - start get rid of void parsing functions
- there will more changes come but I want to do them in
  relative small chunks

metze

13 years agor16342: Placeholder for a function implementing NET-API-MODIFYUSER test.
Rafal Szczesniak [Sun, 18 Jun 2006 22:26:30 +0000 (22:26 +0000)]
r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.

rafal

13 years agor16341: newer autoconf versions export 'datarootdir',
Stefan Metzmacher [Sun, 18 Jun 2006 17:44:47 +0000 (17:44 +0000)]
r16341: newer autoconf versions export 'datarootdir',
fix a warning with old autoconf versions

metze

13 years agor16333: Move more code out of the core smbtorture. It now no longer
Jelmer Vernooij [Sat, 17 Jun 2006 02:20:39 +0000 (02:20 +0000)]
r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.

13 years agor16332: Fix two small bugs found by the buildfarm.
Jelmer Vernooij [Sat, 17 Jun 2006 01:20:02 +0000 (01:20 +0000)]
r16332: Fix two small bugs found by the buildfarm.

13 years agor16331: Split out registering of multi fn tests, fix typo in name of pac suite.
Jelmer Vernooij [Sat, 17 Jun 2006 01:12:28 +0000 (01:12 +0000)]
r16331: Split out registering of multi fn tests, fix typo in name of pac suite.

13 years agor16330: Show number of succeeded, failed and skipped tests and success rate at the
Jelmer Vernooij [Sat, 17 Jun 2006 00:56:17 +0000 (00:56 +0000)]
r16330: Show number of succeeded, failed and skipped tests and success rate at the
end of a smbtorture run.

13 years agor16329: Convert to new UI API.
Jelmer Vernooij [Sat, 17 Jun 2006 00:41:53 +0000 (00:41 +0000)]
r16329: Convert to new UI API.

13 years agor16328: Wrap all existing tests in simple single-function testsuites.
Jelmer Vernooij [Sat, 17 Jun 2006 00:17:50 +0000 (00:17 +0000)]
r16328: Wrap all existing tests in simple single-function testsuites.

13 years agor16321: Add suite_start/suite_finish hooks, support --format=quiet
Jelmer Vernooij [Fri, 16 Jun 2006 23:10:15 +0000 (23:10 +0000)]
r16321: Add suite_start/suite_finish hooks, support --format=quiet

13 years agor16316: Convert to new torture UI API.
Jelmer Vernooij [Fri, 16 Jun 2006 22:59:40 +0000 (22:59 +0000)]
r16316: Convert to new torture UI API.

13 years agor16315: Convert to new API.
Jelmer Vernooij [Fri, 16 Jun 2006 22:48:50 +0000 (22:48 +0000)]
r16315: Convert to new API.

13 years agor16304: Improve testing UI API. This now allows registering the full
Jelmer Vernooij [Fri, 16 Jun 2006 22:06:09 +0000 (22:06 +0000)]
r16304: Improve testing UI API. This now allows registering the full
test suite tree, looks a bit more like other unit testing API's,
fixes some memory responsibility issues, introduces testcases,
and removes the need for tests to call torture_ok().

13 years agor16265: Fix 'newuser' command.
Andrew Bartlett [Thu, 15 Jun 2006 18:25:41 +0000 (18:25 +0000)]
r16265: Fix 'newuser' command.

Andrew Bartlett

13 years agor16264: Add, but do not yet enable, the partitions module.
Andrew Bartlett [Thu, 15 Jun 2006 18:04:24 +0000 (18:04 +0000)]
r16264: Add, but do not yet enable, the partitions module.

This required changes to the rootDSE module, to allow registration of
partitions.  In doing so I renamed the 'register' operation to
'register_control' and 'register_partition', which changed a few more
modules.

Due to the behaviour of certain LDAP servers, we create the baseDN
entry in two parts: Firstly, we allow the admin to export a simple
LDIF file to add to their server.  Then we perform a modify to add the
remaining attributes.

To delete all users in partitions, we must now search and delete all
objects in the partition, rather than a simple search from the root.
Against LDAP, this might not delete all objects, so we allow this to
fail.

In testing, we found that the 'Domain Controllers' container was
misnamed, and should be 'CN=', rather than 'OU='.

To avoid the Templates being found in default searches, they have been
moved to CN=Templates from CN=Templates,${BASEDN}.

Andrew Bartlett

13 years agor16263: A number of these searches need to be under the partitions DN, and the
Andrew Bartlett [Thu, 15 Jun 2006 17:19:18 +0000 (17:19 +0000)]
r16263: A number of these searches need to be under the partitions DN, and the
other needs the default basedn.

Andrew Bartlett

13 years agor16262: Another basedn fix.
Andrew Bartlett [Thu, 15 Jun 2006 17:18:08 +0000 (17:18 +0000)]
r16262: Another basedn fix.

Andrew Bartlett

13 years agor16240: Add better error reporting in the password_hash module
Andrew Bartlett [Thu, 15 Jun 2006 00:29:11 +0000 (00:29 +0000)]
r16240: Add better error reporting in the password_hash module

Remove duplicate attribute in search request

Search for the domain by NDR-encoded SID, not string (consistant with
the rest of the C code, and helps partially-constructed LDAP
backends).

Use the default basedn for the domain search.

Andrew Bartlett

13 years agor16239: Search for the domain in the correct partition, so this will work with
Andrew Bartlett [Wed, 14 Jun 2006 23:52:18 +0000 (23:52 +0000)]
r16239: Search for the domain in the correct partition, so this will work with
LDAP backends.

Andrew Bartlett

13 years agor16238: Use a baseDN for the auth_sam searches, to allow continued function
Andrew Bartlett [Wed, 14 Jun 2006 23:50:58 +0000 (23:50 +0000)]
r16238: Use a baseDN for the auth_sam searches, to allow continued function
with partitions.

Also fix some debug messages.

Andrew Bartlett

13 years agor16237: Use an appropriate basedn for these searches, so they occour into the
Andrew Bartlett [Wed, 14 Jun 2006 23:49:14 +0000 (23:49 +0000)]
r16237: Use an appropriate basedn for these searches, so they occour into the
correct partition.

Andrew Bartlett

13 years agor16236: Add a proper baseDN to a large number of queries. Searching the NULL
Andrew Bartlett [Wed, 14 Jun 2006 23:47:45 +0000 (23:47 +0000)]
r16236: Add a proper baseDN to a large number of queries.  Searching the NULL
baseDN won't work once the partitions module is loaded.

Andrew Bartlett

13 years agor16235: Don't update minor_status when cleaning up on error. This restores
Andrew Bartlett [Wed, 14 Jun 2006 23:46:27 +0000 (23:46 +0000)]
r16235: Don't update minor_status when cleaning up on error.  This restores
sensible log messages to gensec_gssapi.

Andrew Bartlett

13 years agor16234: Set the request timeout from the LDAP search. Without this, the
Andrew Bartlett [Wed, 14 Jun 2006 23:39:18 +0000 (23:39 +0000)]
r16234: Set the request timeout from the LDAP search.  Without this, the
initial request time is uninitialised, and this causes havoc later.
This also allows us to honour the client's wishes.

We should be doing this for all the operations...

Andrew Bartlett

13 years agor16232: Avoid searching on domainDns, as it is not an AD attribute in the
Andrew Bartlett [Wed, 14 Jun 2006 23:32:19 +0000 (23:32 +0000)]
r16232: Avoid searching on domainDns, as it is not an AD attribute in the
official schema.

Add baseDNs, so we search the correct partition.

Andrew Bartlett

13 years agor16227: Don't segfault if the ldb_search() fails.
Andrew Bartlett [Wed, 14 Jun 2006 16:09:34 +0000 (16:09 +0000)]
r16227: Don't segfault if the ldb_search() fails.

Andrew Bartlett

13 years agor16226: Fixes for various segfault bugs found against a buggy Samba4. With
Andrew Bartlett [Wed, 14 Jun 2006 16:08:43 +0000 (16:08 +0000)]
r16226: Fixes for various segfault bugs found against a buggy Samba4.  With
the current API we need to check both that the RPC didn't fault, and
that the query succeeded.

Also print the right things in debug messages.

Andrew Bartlett

13 years agor16218: If a connection is forced as 'anonymous', don't treat it as
Andrew Bartlett [Wed, 14 Jun 2006 04:00:42 +0000 (04:00 +0000)]
r16218: If a connection is forced as 'anonymous', don't treat it as
'authentication requested'...

Andrew Bartlett

13 years agor16211: Refactor domain_opened function a bit and add a few comments.
Rafal Szczesniak [Tue, 13 Jun 2006 21:57:44 +0000 (21:57 +0000)]
r16211: Refactor domain_opened function a bit and add a few comments.

rafal

13 years agor16186: Use full include path to make sure it's being picked up by the
Jelmer Vernooij [Tue, 13 Jun 2006 10:47:08 +0000 (10:47 +0000)]
r16186: Use full include path to make sure it's being picked up by the
dependency generator.

13 years agor16185: Remove autogenerated file from SVN.
Jelmer Vernooij [Tue, 13 Jun 2006 10:21:52 +0000 (10:21 +0000)]
r16185: Remove autogenerated file from SVN.

13 years agor16184: Convert to UI API. The async test was previously broken (fails
Jelmer Vernooij [Tue, 13 Jun 2006 10:19:01 +0000 (10:19 +0000)]
r16184: Convert to UI API. The async test was previously broken (fails
with NT_STATUS_NO_MEMORY) and still does.

13 years agor16182: Better test the 15 out of 20 tests we right now survive than not test at
Volker Lendecke [Tue, 13 Jun 2006 09:11:29 +0000 (09:11 +0000)]
r16182: Better test the 15 out of 20 tests we right now survive than not test at
all...

Volker

13 years agor16174: Couple of fixes to the UI code - make 'torture_ok()' optional, be more verbos...
Jelmer Vernooij [Mon, 12 Jun 2006 23:03:02 +0000 (23:03 +0000)]
r16174: Couple of fixes to the UI code - make 'torture_ok()' optional, be more verbose by default.

13 years agor16173: Use memory context provided by smbtorture.
Jelmer Vernooij [Mon, 12 Jun 2006 23:01:51 +0000 (23:01 +0000)]
r16173: Use memory context provided by smbtorture.

13 years agor16172: Translate the ldb error codes into appropriate messages for the
Andrew Bartlett [Mon, 12 Jun 2006 21:29:21 +0000 (21:29 +0000)]
r16172: Translate the ldb error codes into appropriate messages for the
transaction cases.

Andrew Bartlett

13 years agor16171: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 20:26:01 +0000 (20:26 +0000)]
r16171: Convert to UI API

13 years agor16170: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 20:15:14 +0000 (20:15 +0000)]
r16170: Convert to UI API

13 years agor16169: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 20:10:11 +0000 (20:10 +0000)]
r16169: Convert to UI API

13 years agor16168: Make the example match the actual function.
Andrew Bartlett [Mon, 12 Jun 2006 20:08:19 +0000 (20:08 +0000)]
r16168: Make the example match the actual function.

This was very confusing until I really looked at it.

Andrew Bartlett

13 years agor16167: Add tests for the changes to use hex digits, including some tests
Andrew Bartlett [Mon, 12 Jun 2006 20:02:16 +0000 (20:02 +0000)]
r16167: Add tests for the changes to use hex digits, including some tests
commented out until we fix some more things on our server.

Andrew Bartlett

13 years agor16166: Remove hexidecimal constants from the Samba4 provision files.
Andrew Bartlett [Mon, 12 Jun 2006 20:00:18 +0000 (20:00 +0000)]
r16166: Remove hexidecimal constants from the Samba4 provision files.

This change is required for compatibility with the OSX client, in
particular, but returning 0x80000002 rather than -2147483646 violates
what LDAP clients expect in general.

Andrew Bartlett

13 years agor16165: Add some more helper utilities
Jelmer Vernooij [Mon, 12 Jun 2006 19:49:53 +0000 (19:49 +0000)]
r16165: Add some more helper utilities

13 years agor16164: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 19:48:58 +0000 (19:48 +0000)]
r16164: Convert to UI API

13 years agor16163: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 19:42:58 +0000 (19:42 +0000)]
r16163: Convert to UI API

13 years agor16162: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 19:31:35 +0000 (19:31 +0000)]
r16162: Convert to UI API

13 years agor16161: Convert to UI API
Jelmer Vernooij [Mon, 12 Jun 2006 19:19:34 +0000 (19:19 +0000)]
r16161: Convert to UI API

13 years agor16160: Fix double semicolon in ui.h
Jelmer Vernooij [Mon, 12 Jun 2006 19:11:24 +0000 (19:11 +0000)]
r16160: Fix double semicolon in ui.h
Support output in perl's Test::Harness format (smbtorture output
can now be parsed by the 'prove' utility which generates statistics
about how much tests failed, succeeded, skipped, etc)

13 years agor16159: Even more work on samldb error reporting. Make sure to get the
Andrew Bartlett [Mon, 12 Jun 2006 19:02:41 +0000 (19:02 +0000)]
r16159: Even more work on samldb error reporting.  Make sure to get the
original error strings back to the callers.

Andrew Bartlett

13 years agor16158: Convert to use UI API
Jelmer Vernooij [Mon, 12 Jun 2006 19:02:38 +0000 (19:02 +0000)]
r16158: Convert to use UI API

13 years agor16152: Support multiple output formats for those tests using the ui and add support...
Jelmer Vernooij [Mon, 12 Jun 2006 12:24:33 +0000 (12:24 +0000)]
r16152: Support multiple output formats for those tests using the ui and add support for subunit output.

13 years agor16151: |= fix found by metze
Volker Lendecke [Mon, 12 Jun 2006 11:45:43 +0000 (11:45 +0000)]
r16151: |= fix found by metze

13 years agor16149: This is a very Samba3 specific test: It tests whether 'hide unreadable' and
Volker Lendecke [Mon, 12 Jun 2006 10:18:15 +0000 (10:18 +0000)]
r16149: This is a very Samba3 specific test: It tests whether 'hide unreadable' and
'hide unwriteable files' actually do what they are supposed to do.

Volker

13 years agor16143: Fix disappearance of user-specified CPPFLAGS,LDFLAGS and LIBS variables.
Jelmer Vernooij [Sun, 11 Jun 2006 23:12:51 +0000 (23:12 +0000)]
r16143: Fix disappearance of user-specified CPPFLAGS,LDFLAGS and LIBS variables.

13 years agor16140: How on earth does this work on most build farm machines.... ?
Volker Lendecke [Sun, 11 Jun 2006 10:10:38 +0000 (10:10 +0000)]
r16140: How on earth does this work on most build farm machines.... ?

13 years agor16129: Further clean up the samldb module.
Andrew Bartlett [Fri, 9 Jun 2006 21:10:08 +0000 (21:10 +0000)]
r16129: Further clean up the samldb module.

This adds more/better setting of the ldb error string, and avoids
using gendb_search(), as this doens't return the error code.

Andrew Bartlett

13 years agor16125: Add another helpful utility function: samdb_msg_add_int()
Andrew Bartlett [Fri, 9 Jun 2006 16:33:46 +0000 (16:33 +0000)]
r16125: Add another helpful utility function: samdb_msg_add_int()

Andrew Bartlett

13 years agor16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously...
Volker Lendecke [Fri, 9 Jun 2006 13:09:04 +0000 (13:09 +0000)]
r16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now.

13 years agor16110: Start some simple rootDSE LDAP tests in ejs.
Andrew Bartlett [Fri, 9 Jun 2006 00:04:36 +0000 (00:04 +0000)]
r16110: Start some simple rootDSE LDAP tests in ejs.

Andrew Bartlett

13 years agor16109: Make this module simpiler, don't intercept operations we are not going
Andrew Bartlett [Thu, 8 Jun 2006 23:23:14 +0000 (23:23 +0000)]
r16109: Make this module simpiler, don't intercept operations we are not going
to implement.

Andrew Bartlett

13 years agor16108: Fixes from working with the partition module.
Andrew Bartlett [Thu, 8 Jun 2006 23:22:04 +0000 (23:22 +0000)]
r16108: Fixes from working with the partition module.

We were not using the correct baseDN for the templates search.  Using NULL is no longer valid (like against AD).

While chasing that down, return proper error codes, and use the
ldb_set_errstr() to get a good error string back up to the UI layer.

Andrew Bartlett

13 years agor16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct...
Gerald Carter [Thu, 8 Jun 2006 15:20:05 +0000 (15:20 +0000)]
r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar

13 years agor16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
Volker Lendecke [Thu, 8 Jun 2006 07:11:25 +0000 (07:11 +0000)]
r16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
"100" will give funny permissions...

Volker

13 years agor16090: Fix standalone build after the rename of enum ldb_request_type in
Tim Potter [Thu, 8 Jun 2006 03:57:57 +0000 (03:57 +0000)]
r16090: Fix standalone build after the rename of enum ldb_request_type in
r15944.

Hey idra I think a better rename would be to keep the LDB_REQ suffix
here to remain consistent with the other enums (e.g ldb_reply_type,
ldb_async_wait_type and ldb_async_state).

13 years agor16089: Make doxygen target work if $DOXYGEN variable is empty.
Tim Potter [Thu, 8 Jun 2006 03:35:39 +0000 (03:35 +0000)]
r16089: Make doxygen target work if $DOXYGEN variable is empty.

13 years agor16087: Fix silly cut-and-paste typo that cost me much of my afternoon...
Andrew Bartlett [Thu, 8 Jun 2006 01:02:14 +0000 (01:02 +0000)]
r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...

This only affects my new partitions module, which I will post soon,
but should be fixed anyway.

Andrew Bartlett

13 years agor16086: Ensure we can never dereference NULL pointers, and that describe what
Andrew Bartlett [Thu, 8 Jun 2006 01:00:46 +0000 (01:00 +0000)]
r16086: Ensure we can never dereference NULL pointers, and that describe what
these two DN comparison functions do.

Andrew Bartlett

13 years agor16085: Set the error string if we fail to find a valid op to execute. Helps
Andrew Bartlett [Thu, 8 Jun 2006 00:58:57 +0000 (00:58 +0000)]
r16085: Set the error string if we fail to find a valid op to execute.  Helps
in chasing down bugs :-)

Andrew Bartlett