kai/samba.git
16 years agor18979: With these extra indexes (also added for the normal case) and a
Andrew Bartlett [Thu, 28 Sep 2006 17:08:17 +0000 (17:08 +0000)]
r18979: With these extra indexes (also added for the normal case) and a
DB_CONFIG file, we now get reasonable enought performance to pass
'make test' against OpenLDAP.

We do have to double the maximum runtime for the torture client however.

Andrew Bartlett

16 years agor18978: Fix bug found by:
Andrew Bartlett [Thu, 28 Sep 2006 17:06:38 +0000 (17:06 +0000)]
r18978: Fix bug found by:
http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/

The issue here is that if the UTF8 conversion fails, because this
isn't actually UTF8 data, then we need to do a binary compare instead.

Andrew Bartlett

16 years agor18977: Seperate these asserts, so we know which fired.
Andrew Bartlett [Thu, 28 Sep 2006 16:58:28 +0000 (16:58 +0000)]
r18977: Seperate these asserts, so we know which fired.

Andrew Bartlett

16 years agor18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>
Stefan Metzmacher [Thu, 28 Sep 2006 15:12:44 +0000 (15:12 +0000)]
r18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze

16 years agor18974: we don't have the configure check that sets
Stefan Metzmacher [Thu, 28 Sep 2006 15:10:11 +0000 (15:10 +0000)]
r18974: we don't have the configure check that sets
ac_cv_gnu_ld_no_default_allow_shlib_undefined
and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3
I don't see a problem is always pass it explicit

metze

16 years agor18972: we don't need this now all builds in the build farm are limited to 150
Andrew Tridgell [Thu, 28 Sep 2006 06:49:14 +0000 (06:49 +0000)]
r18972: we don't need this now all builds in the build farm are limited to 150
file descriptors. We'll pretty quickly find leaks :)

16 years agor18971: avoid strndup is a few places. Fixes a minor memory leak, and should
Andrew Tridgell [Thu, 28 Sep 2006 06:44:47 +0000 (06:44 +0000)]
r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.

16 years agor18970: avoid strndup and strnlen on AIX. They are quite broken. See
Andrew Tridgell [Thu, 28 Sep 2006 06:43:27 +0000 (06:43 +0000)]
r18970: avoid strndup and strnlen on AIX. They are quite broken. See
http://lists.samba.org/archive/samba-technical/2004-August/036915.html

16 years agor18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIES
Andrew Tridgell [Thu, 28 Sep 2006 01:17:16 +0000 (01:17 +0000)]
r18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIES

16 years agor18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bug
Andrew Tridgell [Wed, 27 Sep 2006 23:24:36 +0000 (23:24 +0000)]
r18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bug
took a _LONG_ time to find.

The problem was that when encoding/decoding password buffers we use
the pull/push string functions, which by default align unicode
strings. But on solaris sparc the buffer is not aligned always (its a
stack variable, an array of uint8_t). That perfectly OK in C, so we
just tell the pull/push functions not to auto-align.

16 years agor18960: fix caching of some configure tests AC_CACHE_CHECK()
Stefan Metzmacher [Wed, 27 Sep 2006 14:47:00 +0000 (14:47 +0000)]
r18960: fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...

metze

16 years agor18957: we need to include unistd.h in system/network.h because
Stefan Metzmacher [Wed, 27 Sep 2006 14:16:32 +0000 (14:16 +0000)]
r18957: we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze

16 years agor18948: fix the build on solaris, the ioctl() prototype
Stefan Metzmacher [Wed, 27 Sep 2006 11:15:03 +0000 (11:15 +0000)]
r18948: fix the build on solaris, the ioctl() prototype
in unistd.h was included after libreplace defined ioctl swrap_ioctl

metze

16 years agor18947: overload listen() and ioctl() in socket_wrapper
Stefan Metzmacher [Wed, 27 Sep 2006 10:13:45 +0000 (10:13 +0000)]
r18947: overload listen() and ioctl() in socket_wrapper

metze

16 years agor18946: fix compiler warning
Stefan Metzmacher [Wed, 27 Sep 2006 06:48:24 +0000 (06:48 +0000)]
r18946: fix compiler warning

metze

16 years agor18945: fix compiler warnings and end-of-non-void function bugs
Stefan Metzmacher [Wed, 27 Sep 2006 06:42:19 +0000 (06:42 +0000)]
r18945: fix compiler warnings and end-of-non-void function bugs

metze

16 years agor18944: talloc_reference() can fail...
Stefan Metzmacher [Wed, 27 Sep 2006 06:39:56 +0000 (06:39 +0000)]
r18944: talloc_reference() can fail...
(remove compiler warning)

metze

16 years agor18943: Samba4 wants its databases private to root. I know some of them could
Andrew Tridgell [Wed, 27 Sep 2006 06:02:07 +0000 (06:02 +0000)]
r18943: Samba4 wants its databases private to root. I know some of them could
potentially be public, but we'd need to think about them
carefully.

16 years agor18942: add a ldb_set_create_perms() function in ldb. I didn't call it
Andrew Tridgell [Wed, 27 Sep 2006 05:57:41 +0000 (05:57 +0000)]
r18942: add a ldb_set_create_perms() function in ldb. I didn't call it
ldb_set_umask() (which is what we had discussed) as it doesn't
actually set the umask (in effect it sets the inverse of the umask -
the perms to be used for the file)

16 years agor18939: don't rely on the umask being right in ldb creation. Both Samba3 and
Andrew Tridgell [Wed, 27 Sep 2006 03:34:50 +0000 (03:34 +0000)]
r18939: don't rely on the umask being right in ldb creation. Both Samba3 and
Samba4 smbd force the umask to 0, which meant we ended up with ldb
being world writable.

This isn't really an ideal fix, as it means ldb no longer honors umask
(as it should do, like all good libraries).

Unfortunately the 'proper' fix is too complex for now

this also merges a tiny code style fix from s4 to s3

16 years agor18936: hopefully fix the test for negative enum values. When a compiler
Andrew Tridgell [Wed, 27 Sep 2006 02:00:13 +0000 (02:00 +0000)]
r18936: hopefully fix the test for negative enum values. When a compiler
truncates the enums, the test was passing.

16 years agor18933: Add helpful emacs marker
Andrew Bartlett [Tue, 26 Sep 2006 22:14:15 +0000 (22:14 +0000)]
r18933: Add helpful emacs marker

16 years agor18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be incorporating...
Derrell Lipman [Tue, 26 Sep 2006 16:58:27 +0000 (16:58 +0000)]
r18925: Add current snapshot of the ejs-2.0 code.  Tridge, will you be incorporating this?

16 years agor18918: - bail out with unsupported option to socket()
Stefan Metzmacher [Tue, 26 Sep 2006 13:15:31 +0000 (13:15 +0000)]
r18918: - bail out with unsupported option to socket()
- don't reuse portnumbers in the autobind code
- use if (!...) return; logic instead of if (...) { do everything } return
  for swrap_close

metze

16 years agor18917: having 255 virtual interfaces available in socket wrapper means we
Andrew Tridgell [Tue, 26 Sep 2006 11:31:14 +0000 (11:31 +0000)]
r18917: having 255 virtual interfaces available in socket wrapper means we
stat() 240 files that don't exist on every broadcast. That's a bit
excessive!

reduce max virtual interfaces to 16

16 years agor18916: fixed the messaging layer on *BSD systems. When a socket was full we
Andrew Tridgell [Tue, 26 Sep 2006 11:27:09 +0000 (11:27 +0000)]
r18916: fixed the messaging layer on *BSD systems. When a socket was full we
were getting ENOBUFS, which mapped to NT_STATUS_NO_MEMORY, which in
turn caused the messaging code to loop trying until it gave up.

Now it correctly falls back to select. Messaging speed goes from 3
messages per second to over 7000 on my test vmware box. Not bad for a
one line change :)

16 years agor18915: fix usage of popt, do make -W setting the recursive flag on SuSE 10.1
Stefan Metzmacher [Tue, 26 Sep 2006 10:34:40 +0000 (10:34 +0000)]
r18915: fix usage of popt, do make -W setting the recursive flag on SuSE 10.1

metze

16 years agor18914: this bug fix needs to be for just hpux 11.11
Andrew Tridgell [Tue, 26 Sep 2006 05:40:57 +0000 (05:40 +0000)]
r18914: this bug fix needs to be for just hpux 11.11

16 years agor18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This idea
Andrew Tridgell [Tue, 26 Sep 2006 03:11:31 +0000 (03:11 +0000)]
r18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This idea
come from Don McCall. Don may well be able to provide us with a
configure test in the future which does this in a nicer way, I just
want to see if it works now.

16 years agor18911: add a JSON encoder
Derrell Lipman [Tue, 26 Sep 2006 02:26:36 +0000 (02:26 +0000)]
r18911: add a JSON encoder

16 years agor18910: Change ldb_msg_add_string() to not actually add an attribute if the
Andrew Tridgell [Tue, 26 Sep 2006 01:21:34 +0000 (01:21 +0000)]
r18910: Change ldb_msg_add_string() to not actually add an attribute if the
string is zero length. This allows callers to not have to worry about
creating an invalid ldap attribute.

See extensive discussion on samba-technical list :-)

16 years agor18909: use newer functions that were introduced after this code was made
Simo Sorce [Mon, 25 Sep 2006 22:55:56 +0000 (22:55 +0000)]
r18909: use newer functions that were introduced after this code was made

16 years agor18908: Store the schema structure into an opaque pointer so that it can be reused...
Simo Sorce [Mon, 25 Sep 2006 22:53:03 +0000 (22:53 +0000)]
r18908: Store the schema structure into an opaque pointer so that it can be reused by multiple connections

16 years agor18903: merge from samba3:
Stefan Metzmacher [Mon, 25 Sep 2006 16:59:00 +0000 (16:59 +0000)]
r18903: merge from samba3:

define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3

metze

16 years agor18894: Merge const fixes from 3_0
Volker Lendecke [Mon, 25 Sep 2006 05:59:38 +0000 (05:59 +0000)]
r18894: Merge const fixes from 3_0

16 years agor18890: sort the flags out and remove unknown as there's still
Rafal Szczesniak [Mon, 25 Sep 2006 05:03:08 +0000 (05:03 +0000)]
r18890: sort the flags out and remove unknown as there's still
quite a few of them (not sure if these are used actually).

rafal

16 years agor18887: add flags found while on the plane.
Rafal Szczesniak [Mon, 25 Sep 2006 04:43:23 +0000 (04:43 +0000)]
r18887: add flags found while on the plane.

rafal

16 years agor18885: Fix bug in our IDL pointed out by Ronnie
Simo Sorce [Mon, 25 Sep 2006 04:04:40 +0000 (04:04 +0000)]
r18885: Fix bug in our IDL pointed out by Ronnie

16 years agor18884: client_test.exp getting changed to client_tests.exp was an intentional error...
Brad Henry [Mon, 25 Sep 2006 03:54:46 +0000 (03:54 +0000)]
r18884: client_test.exp getting changed to client_tests.exp was an intentional error that I inserted for testing earlier and forgot to take out before commiting.
The other error was a real bug. :)

16 years agor18883: Start including test_functions.sh.
Brad Henry [Mon, 25 Sep 2006 03:29:59 +0000 (03:29 +0000)]
r18883: Start including test_functions.sh.
test_win.sh has been rewritten to use the testit() function from test_functions.sh.

16 years agor18882: make style consistent
Simo Sorce [Mon, 25 Sep 2006 02:56:41 +0000 (02:56 +0000)]
r18882: make style consistent

16 years agor18881: remove wrong check and statement.
Simo Sorce [Mon, 25 Sep 2006 02:56:20 +0000 (02:56 +0000)]
r18881: remove wrong check and statement.
to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements.

16 years agor18880: JSON-RPC work in progress
Derrell Lipman [Mon, 25 Sep 2006 02:49:56 +0000 (02:49 +0000)]
r18880: JSON-RPC work in progress

16 years agor18873: Use WERR_errors table rather than DOS_errors table for wireshark.
Jelmer Vernooij [Sun, 24 Sep 2006 16:39:28 +0000 (16:39 +0000)]
r18873: Use WERR_errors table rather than DOS_errors table for wireshark.

16 years agor18872: when converting IDL to use out,ref pointers, you also must fix any
Andrew Tridgell [Sun, 24 Sep 2006 08:01:24 +0000 (08:01 +0000)]
r18872: when converting IDL to use out,ref pointers, you also must fix any
length_is() statements.

16 years agor18862: as andrew pointed our on irc, if we are going to define _TRUE, then
Andrew Tridgell [Sun, 24 Sep 2006 02:13:52 +0000 (02:13 +0000)]
r18862: as andrew pointed our on irc, if we are going to define _TRUE, then
better make it be true :)

16 years agor18861: merge from samba3
Andrew Tridgell [Sun, 24 Sep 2006 02:06:05 +0000 (02:06 +0000)]
r18861: merge from samba3

16 years agor18860: fixed some code that bitrotted while we didn't have the safety check
Andrew Tridgell [Sun, 24 Sep 2006 02:05:37 +0000 (02:05 +0000)]
r18860: fixed some code that bitrotted while we didn't have the safety check
with NTSTATUS, WERROR etc.

16 years agor18859: finally worked out what is going wrong with immediate structures. The
Andrew Tridgell [Sun, 24 Sep 2006 01:52:20 +0000 (01:52 +0000)]
r18859: finally worked out what is going wrong with immediate structures. The
problem is that the AC_PROG_CC_C99 macro ends up selecting either
-std=std99 or -std=gnu99 for gcc. Ironically enough, that breaks
constant structure initialisers!

So, simplest solution is to not try that configure test if we know we
are using gcc

16 years agor18851: Some C++ warnings
Volker Lendecke [Sat, 23 Sep 2006 20:29:54 +0000 (20:29 +0000)]
r18851: Some C++ warnings

16 years agor18850: add strspn() function i ejs
Derrell Lipman [Sat, 23 Sep 2006 19:17:50 +0000 (19:17 +0000)]
r18850: add strspn() function i ejs

16 years agor18849: a bit of help for the new user, to figure out how to do initial setup
Derrell Lipman [Sat, 23 Sep 2006 19:16:42 +0000 (19:16 +0000)]
r18849: a bit of help for the new user, to figure out how to do initial setup

16 years agor18848: Save the json library before I start hacking on it. I'm going to be
Derrell Lipman [Sat, 23 Sep 2006 19:15:27 +0000 (19:15 +0000)]
r18848: Save the json library before I start hacking on it.  I'm going to be
converting it to natively use ejs objects, instead of its own internal
format.

16 years agor18847: Add WERR_NO_SYSTEM_RESOURCES showing up in dfs torture testing.
Günther Deschner [Sat, 23 Sep 2006 19:04:39 +0000 (19:04 +0000)]
r18847: Add WERR_NO_SYSTEM_RESOURCES showing up in dfs torture testing.

Guenther

16 years agor18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead of
Günther Deschner [Sat, 23 Sep 2006 09:13:48 +0000 (09:13 +0000)]
r18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead of
WERR_OK) in the dfs torture test.

Guenther

16 years agor18843: Got DFS_MANAGER_VERSION_NT4 wrong.
Günther Deschner [Sat, 23 Sep 2006 08:17:14 +0000 (08:17 +0000)]
r18843: Got DFS_MANAGER_VERSION_NT4 wrong.

Guenther

16 years agor18840: make these compatible with g++ warnings
Andrew Tridgell [Sat, 23 Sep 2006 04:36:30 +0000 (04:36 +0000)]
r18840: make these compatible with g++ warnings

16 years agor18839: align all directory search blobs on an 8 byte boundary to keep the
Andrew Tridgell [Sat, 23 Sep 2006 02:45:06 +0000 (02:45 +0000)]
r18839: align all directory search blobs on an 8 byte boundary to keep the
current vista release happy.

16 years agor18838: make sure we cleanup after SMB2-MAXWRITE (it creates a large file)
Andrew Tridgell [Sat, 23 Sep 2006 02:32:47 +0000 (02:32 +0000)]
r18838: make sure we cleanup after SMB2-MAXWRITE (it creates a large file)

16 years agor18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
Andrew Tridgell [Sat, 23 Sep 2006 02:19:15 +0000 (02:19 +0000)]
r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.

16 years agor18834: get the log context code right
Andrew Tridgell [Sat, 23 Sep 2006 01:59:48 +0000 (01:59 +0000)]
r18834: get the log context code right

16 years agor18833: darn, forgot to commit this
Andrew Tridgell [Sat, 23 Sep 2006 01:54:29 +0000 (01:54 +0000)]
r18833: darn, forgot to commit this

sorry about the build breakage

16 years agor18832: fixed standalone build
Andrew Tridgell [Fri, 22 Sep 2006 23:25:16 +0000 (23:25 +0000)]
r18832: fixed standalone build

16 years agor18831: minor build changes for samba3. The logging changes will be removed
Andrew Tridgell [Fri, 22 Sep 2006 23:22:39 +0000 (23:22 +0000)]
r18831: minor build changes for samba3. The logging changes will be removed
when the tdb api is updated

16 years agor18830: ensure backends aren't added twice (needed for samba3)
Andrew Tridgell [Fri, 22 Sep 2006 23:21:36 +0000 (23:21 +0000)]
r18830: ensure backends aren't added twice (needed for samba3)

16 years agor18829: Print a nice welcome message when we enter the test environment.
Andrew Bartlett [Fri, 22 Sep 2006 20:00:49 +0000 (20:00 +0000)]
r18829: Print a nice welcome message when we enter the test environment.

Andrew Bartlett

16 years agor18828: Export some more useful environment varibles, particularly for use in
Andrew Bartlett [Fri, 22 Sep 2006 19:43:08 +0000 (19:43 +0000)]
r18828: Export some more useful environment varibles, particularly for use in
'make testenv'

Andrew Bartlett

16 years agor18827: I forgot to commit this:
Andrew Bartlett [Fri, 22 Sep 2006 19:39:27 +0000 (19:39 +0000)]
r18827: I forgot to commit this:

Make kpasswdd use the new prototype for
_krb5_principalname2krb5_principal()

Andrew Bartlett

16 years agor18826: Allow 'enterprise' principal names to log in.
Andrew Bartlett [Fri, 22 Sep 2006 18:39:49 +0000 (18:39 +0000)]
r18826: Allow 'enterprise' principal names to log in.

These principals do not need to be in the same realm as the rest of
the ticket, the full principal name is in the first componet of the
ASN.1.

Samba4's backend will handle getting this to the 'right' place.

Andrew Bartlett

16 years agor18825: speed up the test_cifsdd.sh test by using a smaller file. It was
Andrew Tridgell [Fri, 22 Sep 2006 15:14:53 +0000 (15:14 +0000)]
r18825: speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems

16 years agor18824: fixed a bug in cifsdd when the file is exactly a multiple of the block
Andrew Tridgell [Fri, 22 Sep 2006 15:14:03 +0000 (15:14 +0000)]
r18824: fixed a bug in cifsdd when the file is exactly a multiple of the block
size (cifsdd incorrectly reported an error and exited)

16 years agor18822: Automatically remove a forced dfs standard root creation.
Günther Deschner [Fri, 22 Sep 2006 10:37:43 +0000 (10:37 +0000)]
r18822: Automatically remove a forced dfs standard root creation.

Guenther

16 years agor18821: Correctly name dfs_AddStdRootForced() test.
Günther Deschner [Fri, 22 Sep 2006 10:31:19 +0000 (10:31 +0000)]
r18821: Correctly name dfs_AddStdRootForced() test.

Guenther

16 years agor18815: Fill in IDL for domain based DFS root functions (dfs_AddFtRoot,
Günther Deschner [Fri, 22 Sep 2006 08:36:30 +0000 (08:36 +0000)]
r18815: Fill in IDL for domain based DFS root functions (dfs_AddFtRoot,
dfs_RemoveFtRoot and dfs_FlushFtTable).

Guenther

16 years agor18808: added SMB2-MAXWRITE test and SMB2-DIR tests
Andrew Tridgell [Fri, 22 Sep 2006 04:04:46 +0000 (04:04 +0000)]
r18808: added SMB2-MAXWRITE test and SMB2-DIR tests

expanded size of dangerous level for write in SMB2-CONNECT test

16 years agor18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\
Andrew Tridgell [Fri, 22 Sep 2006 03:50:15 +0000 (03:50 +0000)]
r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\

16 years agor18806: fixed two spelling errors
Andrew Tridgell [Fri, 22 Sep 2006 03:49:40 +0000 (03:49 +0000)]
r18806: fixed two spelling errors

16 years agor18805: make error message match function name
Andrew Tridgell [Fri, 22 Sep 2006 03:49:24 +0000 (03:49 +0000)]
r18805: make error message match function name

16 years agor18800: fix a write behind the buffer bug...
Stefan Metzmacher [Thu, 21 Sep 2006 22:55:00 +0000 (22:55 +0000)]
r18800: fix a write behind the buffer bug...

Thanks Herb for finding this:-)

This was my bug, I typed it in on gd's laptop and he just run 'svn ci'

metze

16 years agor18786: I moved the usnChanged code around, and it now loaded in a different
Andrew Bartlett [Thu, 21 Sep 2006 16:42:56 +0000 (16:42 +0000)]
r18786: I moved the usnChanged code around, and it now loaded in a different
module.  I forgot to commit this last night.

Andrew Bartlett

16 years agor18783: fix make pch
Stefan Metzmacher [Thu, 21 Sep 2006 07:35:30 +0000 (07:35 +0000)]
r18783: fix make pch

metze

16 years agor18782: Do not send random data to the password change (although that reveals
Günther Deschner [Thu, 21 Sep 2006 07:19:47 +0000 (07:19 +0000)]
r18782: Do not send random data to the password change (although that reveals
interesting new password set tests), make sure to send valid characters.

Guenther

16 years agor18781: Move the usnCreated and usnChanged handling around again.
Andrew Bartlett [Thu, 21 Sep 2006 06:44:12 +0000 (06:44 +0000)]
r18781: Move the usnCreated and usnChanged handling around again.

This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb.  For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.

This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.

To assist this, we also store the last modified time in the TDB,
whenever we change a value.

Andrew Bartlett

16 years agor18780: Add convenience "make testenv" to launch the xtermtest Andrew just added.
Jelmer Vernooij [Thu, 21 Sep 2006 06:42:52 +0000 (06:42 +0000)]
r18780: Add convenience "make testenv" to launch the xtermtest Andrew just added.

16 years agor18779: Not simo's fault, this is actually a bug I introduced a week ago, when I...
Andrew Bartlett [Thu, 21 Sep 2006 06:34:21 +0000 (06:34 +0000)]
r18779: Not simo's fault, this is actually a bug I introduced a week ago, when I fixed the previous bug in this code.

We need to remove fragments from the incoming fragment list, or else
we leak (actually, we walk free()'ed data as we add/remove elements).

Andrew Bartlett

16 years agor18777: add helper functions to create an ldb_request structure
Simo Sorce [Thu, 21 Sep 2006 06:14:32 +0000 (06:14 +0000)]
r18777: add helper functions to create an ldb_request structure

16 years agor18776: Fill in and test dfs_ManagerInitialize().
Günther Deschner [Thu, 21 Sep 2006 06:06:59 +0000 (06:06 +0000)]
r18776: Fill in and test dfs_ManagerInitialize().

Guenther

16 years agor18775: Performing an ldb op of 'do nothing' is pointless, and breaks against
Andrew Bartlett [Thu, 21 Sep 2006 05:44:39 +0000 (05:44 +0000)]
r18775: Performing an ldb op of 'do nothing' is pointless, and breaks against
OpenLDAP.

Andrew Bartlett

16 years agor18774: This allows an automated way to setup the test environment in a shell,
Andrew Bartlett [Thu, 21 Sep 2006 05:42:56 +0000 (05:42 +0000)]
r18774: This allows an automated way to setup the test environment in a shell,
with all the helpful env variables set.

TEST_LDAP=yes script/tests/selftest.sh st/ xterm SOCKET_WRAPPER

Andrew Bartlett

16 years agor18770: Avoid crashes and fix up other issues in the client-side paged_searches module.
Andrew Bartlett [Thu, 21 Sep 2006 04:52:49 +0000 (04:52 +0000)]
r18770: Avoid crashes and fix up other issues in the client-side paged_searches module.

In particular, we must query the remote server to find out if paged
searches are supported, not the local ldb.

This patch also removes the ue of bool, and returns it to LDB error codes.

Andrew Bartlett

16 years agor18769: Re-enable __VA_ARGS__ test (but don't make it fatal)
Jelmer Vernooij [Thu, 21 Sep 2006 04:48:41 +0000 (04:48 +0000)]
r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)

16 years agor18768: Fix some warnings.
Jelmer Vernooij [Thu, 21 Sep 2006 04:33:19 +0000 (04:33 +0000)]
r18768: Fix some warnings.

16 years agor18767: Fix [ref] pointer in object oriented interfaces. Removes a
Jelmer Vernooij [Thu, 21 Sep 2006 04:26:31 +0000 (04:26 +0000)]
r18767: Fix [ref] pointer in object oriented interfaces. Removes a
bunch of warnings when compiling dcom.idl.

16 years agor18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Günther Deschner [Thu, 21 Sep 2006 03:36:10 +0000 (03:36 +0000)]
r18766: Getting rid of one test_GetManagerVersion() call and fix the build.

Guenther

16 years agor18765: Fill in dfs_SetInfo() IDL and align function arguments with the names
Günther Deschner [Thu, 21 Sep 2006 03:11:51 +0000 (03:11 +0000)]
r18765: Fill in dfs_SetInfo() IDL and align function arguments with the names
found in the documentation.

Guenther

16 years agor18764: Test all standalone DFS root functions in the torture test.
Günther Deschner [Thu, 21 Sep 2006 02:45:02 +0000 (02:45 +0000)]
r18764: Test all standalone DFS root functions in the torture test.

Guenther

16 years agor18763: Removing old dfs_Add test, will be replaced with another one soon.
Günther Deschner [Thu, 21 Sep 2006 02:41:52 +0000 (02:41 +0000)]
r18763: Removing old dfs_Add test, will be replaced with another one soon.

Guenther

16 years agor18762: Fillin standalone DFS root functions IDL.
Günther Deschner [Thu, 21 Sep 2006 02:10:02 +0000 (02:10 +0000)]
r18762: Fillin standalone DFS root functions IDL.

Guenther

16 years agor18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Günther Deschner [Wed, 20 Sep 2006 23:59:17 +0000 (23:59 +0000)]
r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Thanks metze.

Guenther

16 years agor18757: Disable this for now
Simo Sorce [Wed, 20 Sep 2006 23:52:58 +0000 (23:52 +0000)]
r18757: Disable this for now