samba.git
13 years agor17886: add talloc_ptrtype() and talloc_array_ptrtype(),
Stefan Metzmacher [Mon, 28 Aug 2006 16:55:51 +0000 (16:55 +0000)]
r17886: add talloc_ptrtype() and talloc_array_ptrtype(),
see the manpage what they do:-)

metze

13 years agor17885: use _TALLOC_TYPEPF() consitently
Stefan Metzmacher [Mon, 28 Aug 2006 15:36:12 +0000 (15:36 +0000)]
r17885: use _TALLOC_TYPEPF() consitently

metze

13 years agor17884: Shape up the snprintf fix after Metzes comments
Volker Lendecke [Mon, 28 Aug 2006 14:38:47 +0000 (14:38 +0000)]
r17884: Shape up the snprintf fix after Metzes comments

13 years agor17883: check if talloc_asprintf() works correct
Stefan Metzmacher [Mon, 28 Aug 2006 14:06:23 +0000 (14:06 +0000)]
r17883: check if talloc_asprintf() works correct

metze

13 years agor17882: merge change from samba3
Stefan Metzmacher [Mon, 28 Aug 2006 12:15:13 +0000 (12:15 +0000)]
r17882: merge change from samba3

metze

13 years agor17876: Require one less patch for the LDAP backend to work.
Andrew Bartlett [Mon, 28 Aug 2006 05:26:42 +0000 (05:26 +0000)]
r17876: Require one less patch for the LDAP backend to work.

This lets the modules or backend generate the host and domain GUID,
rather than the randguid() function.  These can still be specified
from the command line.

Andrew Bartlett

13 years agor17871: Add an option to make the system account behave as anonymous on the
Andrew Bartlett [Mon, 28 Aug 2006 03:28:03 +0000 (03:28 +0000)]
r17871: Add an option to make the system account behave as anonymous on the
network.  This helps where we are trying to talk to an LDAP server,
until we share a common SASL authentication scheme.

Andrew Bartlett

13 years agor17870: This module (for the moment) handles the modifyTimestamp generation. For...
Andrew Bartlett [Mon, 28 Aug 2006 03:26:17 +0000 (03:26 +0000)]
r17870: This module (for the moment) handles the modifyTimestamp generation.  For that, it needs to hook into the modify operation.

Andrew Bartlett

13 years agor17868: remove duplicated attributes from list
Simo Sorce [Mon, 28 Aug 2006 02:57:54 +0000 (02:57 +0000)]
r17868: remove duplicated attributes from list

13 years agor17860: Let's commit the work down up to now on the new schema module.
Simo Sorce [Sun, 27 Aug 2006 23:39:09 +0000 (23:39 +0000)]
r17860: Let's commit the work down up to now on the new schema module.
At the moment it is able to validate an object has no conflicting
objectlasses that it meets the criteria to be inserted as child of
the parent and also sorts and create the objectclass hierarchy so
that the objectclass .c module can be obsoleted.

Not activated by default as we have to completely rework the
current provisioning method. (In my tests I could not activate
it before all other ldif except for the one that create users
were loaded, make test seem to be happy anyway if it is activated
after provisioning).

Next steps will be attribute and attribute syntax checking on add operation.
And then the modify operation will follow.

Simo.

13 years agor17859: Fix some return values
Simo Sorce [Sun, 27 Aug 2006 23:32:14 +0000 (23:32 +0000)]
r17859: Fix some return values

13 years agor17858: Add new libnet domain open tests.
Rafal Szczesniak [Sun, 27 Aug 2006 20:41:29 +0000 (20:41 +0000)]
r17858: Add new libnet domain open tests.

rafal

13 years agor17857: A couple of new tests.
Rafal Szczesniak [Sun, 27 Aug 2006 20:39:50 +0000 (20:39 +0000)]
r17857: A couple of new tests.

rafal

13 years agor17856: The two new functions - libnet_LookupName and libnet_UserInfo.
Rafal Szczesniak [Sun, 27 Aug 2006 20:37:23 +0000 (20:37 +0000)]
r17856: The two new functions - libnet_LookupName and libnet_UserInfo.
These two perform name resolving in SAM database and fetching
user account information, respectively. The code is quite rough
yet, but it builds and basic tests work. Now, I'm working on
cleaning it up...

rafal

13 years agor17849: Next round for RPC-SAMBA3-SHARESEC
Volker Lendecke [Sun, 27 Aug 2006 10:46:19 +0000 (10:46 +0000)]
r17849: Next round for RPC-SAMBA3-SHARESEC

13 years agor17848: Ok, this did not do it. Still got the same problem.
Volker Lendecke [Sun, 27 Aug 2006 10:08:18 +0000 (10:08 +0000)]
r17848: Ok, this did not do it. Still got the same problem.

13 years agor17846: Ok, this is a patch that needs further discussion. On Solaris, snprintf seems
Volker Lendecke [Sat, 26 Aug 2006 22:27:29 +0000 (22:27 +0000)]
r17846: Ok, this is a patch that needs further discussion. On Solaris, snprintf seems
to be broken. The %lu modifies apparently can not cope with the high
bit==1. In dom_sid_string I added some printfs and got:

auth: 21
auth: 2666793276
auth: 679821296
auth: 2310223117
auth: 1206
sid=S-1-5-21-8446744072081377596-679821296-8446744071724807437-1206

The "auth:" values are direct printfs, the sid= is the resulting code from
dom_sid_string.

I could not reproduce it with a simple test program, and #ifdef'ing out
HAVE_SNPRINTF in config.h manually does not help either, probably because the
dynamic linker overwrites the symbol in lib/replace.

Checking it in because it fixes the RPC-SAMBA3-SHARESEC test directly on host
"sunx", I would like to see whether it also fixes IRIX and AIX.

Volker

13 years agor17844: The AIX compiler thinks { } is a syntax error
Volker Lendecke [Sat, 26 Aug 2006 20:28:32 +0000 (20:28 +0000)]
r17844: The AIX compiler thinks { } is a syntax error

13 years agor17842: After talking to Simo, apply the next attempt to resolve the strnlen
Volker Lendecke [Sat, 26 Aug 2006 17:19:58 +0000 (17:19 +0000)]
r17842: After talking to Simo, apply the next attempt to resolve the strnlen
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.

Volker

13 years agor17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise
Volker Lendecke [Sat, 26 Aug 2006 16:44:10 +0000 (16:44 +0000)]
r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise

13 years agor17840: A step towards building on Solaris which appears not to have strnlen.
Volker Lendecke [Sat, 26 Aug 2006 16:19:22 +0000 (16:19 +0000)]
r17840: A step towards building on Solaris which appears not to have strnlen.

Volker

13 years agor17839: do not reference possibleInferiors we have not extracted
Simo Sorce [Sat, 26 Aug 2006 15:38:01 +0000 (15:38 +0000)]
r17839: do not reference possibleInferiors we have not extracted
trim duplicate may attributes

13 years agor17838: revert rev 17754
Stefan Metzmacher [Sat, 26 Aug 2006 08:40:51 +0000 (08:40 +0000)]
r17838: revert rev 17754

readd --always-create option to mkproto.pl

metze

13 years agor17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
Simo Sorce [Fri, 25 Aug 2006 12:59:03 +0000 (12:59 +0000)]
r17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
once at connection time, after modules have been loaded.

Introduce a function to retrieve the value where needed.

13 years agor17829: Fix the order of the bytes
Simo Sorce [Fri, 25 Aug 2006 12:57:12 +0000 (12:57 +0000)]
r17829: Fix the order of the bytes

13 years agor17828: set the auto_baseDN opaque even on failure to fetch rootDSE. That
Andrew Tridgell [Fri, 25 Aug 2006 12:45:19 +0000 (12:45 +0000)]
r17828: set the auto_baseDN opaque even on failure to fetch rootDSE. That
ensures we never try twice

13 years agor17827: Fix an error message
Volker Lendecke [Fri, 25 Aug 2006 10:50:51 +0000 (10:50 +0000)]
r17827: Fix an error message

13 years agor17826: Add line numbers to the d_printfs
Volker Lendecke [Fri, 25 Aug 2006 10:43:39 +0000 (10:43 +0000)]
r17826: Add line numbers to the d_printfs

13 years agor17825: I broken cracknames in my last patch - fix it up
Andrew Tridgell [Fri, 25 Aug 2006 09:32:43 +0000 (09:32 +0000)]
r17825: I broken cracknames in my last patch - fix it up

13 years agor17824: add a wrapper for the common partitions_basedn calculation
Andrew Tridgell [Fri, 25 Aug 2006 07:32:18 +0000 (07:32 +0000)]
r17824: add a wrapper for the common partitions_basedn calculation

13 years agor17823: get rid of most of the samdb_base_dn() calls, as they are no longer
Andrew Tridgell [Fri, 25 Aug 2006 07:08:06 +0000 (07:08 +0000)]
r17823: get rid of most of the samdb_base_dn() calls, as they are no longer
needed in searches

13 years agor17822: the ildap ldb backend doesn't need the auto rootDSE logic any more
Andrew Tridgell [Fri, 25 Aug 2006 06:45:47 +0000 (06:45 +0000)]
r17822: the ildap ldb backend doesn't need the auto rootDSE logic any more

13 years agor17821: changed ldb_search() and the ldbsearch command line utility to
Andrew Tridgell [Fri, 25 Aug 2006 06:41:37 +0000 (06:41 +0000)]
r17821: changed ldb_search() and the ldbsearch command line utility to
automatically work out the basedn when basedn==NULL. The basedn is
fetched from the rootDSE defaultNamingContext value (if there is one)

This means we don't have to have the defaultNamingContext logic in
lots of places. It makes a lot of sense to me to have basedn==NULL
mean "use the default, as given by the database"

Note that explicitly specifing a basedn of '' is not the same thing,
and will not trigger this code

The baseDN is cached in a ldb opaque, so we only have to fetch it once

13 years agor17820: simplify the code flow a little
Andrew Tridgell [Fri, 25 Aug 2006 06:38:29 +0000 (06:38 +0000)]
r17820: simplify the code flow a little

13 years agor17811: Add .bzrignore file
Jelmer Vernooij [Thu, 24 Aug 2006 21:32:30 +0000 (21:32 +0000)]
r17811: Add .bzrignore file

13 years agor17794: ifdef out unused macros
Stefan Metzmacher [Thu, 24 Aug 2006 12:13:41 +0000 (12:13 +0000)]
r17794: ifdef out unused macros

metze

13 years agor17793: add -Wmissing-prototypes, -Wmissing-declarations, -Wmissing-field-initializers
Stefan Metzmacher [Thu, 24 Aug 2006 11:33:00 +0000 (11:33 +0000)]
r17793: add -Wmissing-prototypes, -Wmissing-declarations, -Wmissing-field-initializers
gcc options, but don't enable them yet.

we should step by step try to enable them, after removing the flood of warnings
they would generate.

metze

13 years agor17792: io.out.winsserver is a const char *,
Stefan Metzmacher [Thu, 24 Aug 2006 11:24:06 +0000 (11:24 +0000)]
r17792: io.out.winsserver is a const char *,
and iname->winserver = talloc_steal(iname, io.out.winsserver)
generated a warning, so I changed iname->winsserver to also
be a const char *.

then a talloc_free(iname->winsserver) would generate a warning,
but we can steal it into the tmp_ctx without a warning
and that gets free'ed a few lines later.

metze

13 years agor17791: get rid of another compiler warning
Stefan Metzmacher [Thu, 24 Aug 2006 11:13:13 +0000 (11:13 +0000)]
r17791: get rid of another compiler warning

metze

13 years agor17790: replace uses -ldl and should directly depend on it
Stefan Metzmacher [Thu, 24 Aug 2006 10:55:17 +0000 (10:55 +0000)]
r17790: replace uses -ldl and should directly depend on it

metze

13 years agor17789: remove compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 10:51:34 +0000 (10:51 +0000)]
r17789: remove compiler warnings

metze

13 years agor17788: fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 10:41:31 +0000 (10:41 +0000)]
r17788: fix compiler warnings

metze

13 years agor17787: ifdef out unused macros and generate a smb_panic()
Stefan Metzmacher [Thu, 24 Aug 2006 10:38:06 +0000 (10:38 +0000)]
r17787: ifdef out unused macros and generate a smb_panic()
when the wrong macro is used on a field.

metze

13 years agor17786: remove unused macros, fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 09:53:21 +0000 (09:53 +0000)]
r17786: remove unused macros, fix compiler warnings

metze

13 years agor17785: fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 09:51:41 +0000 (09:51 +0000)]
r17785: fix compiler warnings

metze

13 years agor17784: fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 09:49:58 +0000 (09:49 +0000)]
r17784: fix compiler warnings

metze

13 years agor17783: fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 09:49:09 +0000 (09:49 +0000)]
r17783: fix compiler warnings

metze

13 years agor17782: fix compiler warning
Stefan Metzmacher [Thu, 24 Aug 2006 09:48:40 +0000 (09:48 +0000)]
r17782: fix compiler warning

metze

13 years agor17781: fix compiler warning
Stefan Metzmacher [Thu, 24 Aug 2006 09:47:51 +0000 (09:47 +0000)]
r17781: fix compiler warning

metze

13 years agor17780: better fix this one correctly
Stefan Metzmacher [Thu, 24 Aug 2006 09:47:08 +0000 (09:47 +0000)]
r17780: better fix this one correctly

metze

13 years agor17779: this macro is unused
Stefan Metzmacher [Thu, 24 Aug 2006 09:41:45 +0000 (09:41 +0000)]
r17779: this macro is unused

metze

13 years agor17778: fix compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 09:41:10 +0000 (09:41 +0000)]
r17778: fix compiler warnings

metze

13 years agor17777: these macros are unused...
Stefan Metzmacher [Thu, 24 Aug 2006 08:48:15 +0000 (08:48 +0000)]
r17777: these macros are unused...

metze

13 years agor17776: these macros are also defined in libcli/raw/trans2.h
Stefan Metzmacher [Thu, 24 Aug 2006 08:45:32 +0000 (08:45 +0000)]
r17776: these macros are also defined in libcli/raw/trans2.h

metze

13 years agor17775: use an enum to get rid of compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 08:32:57 +0000 (08:32 +0000)]
r17775: use an enum to get rid of compiler warnings

metze

13 years agor17774: this macro is unused
Stefan Metzmacher [Thu, 24 Aug 2006 08:19:43 +0000 (08:19 +0000)]
r17774: this macro is unused

metze

13 years agor17773: this macros are unsed, with compiler warnings
Stefan Metzmacher [Thu, 24 Aug 2006 08:17:31 +0000 (08:17 +0000)]
r17773: this macros are unsed, with compiler warnings

metze

13 years agor17772: warn about unused macros
Stefan Metzmacher [Thu, 24 Aug 2006 07:58:22 +0000 (07:58 +0000)]
r17772: warn about unused macros
(only when defined in the .c file not in headers)

metze

13 years agor17771: add a comment explaing the odd cast
Andrew Tridgell [Thu, 24 Aug 2006 07:20:32 +0000 (07:20 +0000)]
r17771: add a comment explaing the odd cast

13 years agor17770: don't force -L/usr/lib, it breaks us4
Andrew Tridgell [Thu, 24 Aug 2006 06:13:11 +0000 (06:13 +0000)]
r17770: don't force -L/usr/lib, it breaks us4

13 years agor17769: only look for dlopen in -ldl if not found in libc. Needed for us4
Andrew Tridgell [Thu, 24 Aug 2006 06:04:12 +0000 (06:04 +0000)]
r17769: only look for dlopen in -ldl if not found in libc. Needed for us4

13 years agor17768: This merges in the current version of Brad Henry's windows testing
Andrew Tridgell [Thu, 24 Aug 2006 04:14:34 +0000 (04:14 +0000)]
r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later

13 years agor17765: fix handling of old solaris /bin/sh in ldb build/test
Andrew Tridgell [Thu, 24 Aug 2006 01:03:42 +0000 (01:03 +0000)]
r17765: fix handling of old solaris /bin/sh in ldb build/test

13 years agor17764: more portable setenv() replacement
Andrew Tridgell [Thu, 24 Aug 2006 00:41:15 +0000 (00:41 +0000)]
r17764: more portable setenv() replacement

13 years agor17763: moved setenv to ldb/replace/
Andrew Tridgell [Wed, 23 Aug 2006 23:21:29 +0000 (23:21 +0000)]
r17763: moved setenv to ldb/replace/

13 years agor17762: HPUX needs setenv
Andrew Tridgell [Wed, 23 Aug 2006 23:20:50 +0000 (23:20 +0000)]
r17762: HPUX needs setenv

13 years agor17756: I don't know why but this only works with the standalone
Stefan Metzmacher [Wed, 23 Aug 2006 14:48:19 +0000 (14:48 +0000)]
r17756: I don't know why but this only works with the standalone
ldb build...I'll test more tomorrow.

metze

13 years agor17755: fix the build...
Stefan Metzmacher [Wed, 23 Aug 2006 14:13:54 +0000 (14:13 +0000)]
r17755: fix the build...

I hope we can find a more clean approach to import lib/replace/ into ldb.

metze

13 years agor17754: remove the --always-create option from mkproto.pl
Stefan Metzmacher [Wed, 23 Aug 2006 13:20:16 +0000 (13:20 +0000)]
r17754: remove the --always-create option from mkproto.pl
and make this behavior the default.

as with make 3.81 and autodependencies this way is much
faster as make can use faster codepathes internally.

(without this make needed more and more startup time after using
 autodependencies for a few weeks)

metze

13 years agor17753: fix compiler warnings and make the code simpler
Stefan Metzmacher [Wed, 23 Aug 2006 13:14:03 +0000 (13:14 +0000)]
r17753: fix compiler warnings and make the code simpler

metze

13 years agor17752: using -1 in a uint16_t value causes compiler warnings,
Stefan Metzmacher [Wed, 23 Aug 2006 13:06:31 +0000 (13:06 +0000)]
r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze

13 years agor17750: these have moved to ldb/replace/ now
Andrew Tridgell [Wed, 23 Aug 2006 11:32:29 +0000 (11:32 +0000)]
r17750: these have moved to ldb/replace/ now

13 years agor17749: more HPUX madness
Andrew Tridgell [Wed, 23 Aug 2006 11:31:43 +0000 (11:31 +0000)]
r17749: more HPUX madness

13 years agor17748: make the casts much easier to understand
Stefan Metzmacher [Wed, 23 Aug 2006 11:29:08 +0000 (11:29 +0000)]
r17748: make the casts much easier to understand

metze

13 years agor17747: ldb's make test should not try to install something
Stefan Metzmacher [Wed, 23 Aug 2006 11:27:40 +0000 (11:27 +0000)]
r17747: ldb's make test should not try to install something

metze

13 years agor17746: the automatic archive creation in make breaks on 3 platforms. Lets try
Andrew Tridgell [Wed, 23 Aug 2006 11:21:44 +0000 (11:21 +0000)]
r17746: the automatic archive creation in make breaks on 3 platforms. Lets try
manual archives and see if they work a bit better ....

13 years agor17745: got rid of the final asprintf() in ldb
Andrew Tridgell [Wed, 23 Aug 2006 10:55:20 +0000 (10:55 +0000)]
r17745: got rid of the final asprintf() in ldb

13 years agor17744: we explicit want to get warnings about declarations after statements:-)
Stefan Metzmacher [Wed, 23 Aug 2006 10:01:07 +0000 (10:01 +0000)]
r17744: we explicit want to get warnings about declarations after statements:-)

metze

13 years agor17743: fix compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:19:19 +0000 (09:19 +0000)]
r17743: fix compiler warnings

metze

13 years agor17742: make the casts explicit and remove compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:00:57 +0000 (09:00 +0000)]
r17742: make the casts explicit and remove compiler warnings

metze

13 years agor17741: tru64 uses inttypes.h not stdint.h.
Andrew Tridgell [Wed, 23 Aug 2006 05:19:42 +0000 (05:19 +0000)]
r17741: tru64 uses inttypes.h not stdint.h.

ain't standards wonderful?

13 years agor17740: get rid of dependence on asprintf(), using talloc_asprintf() instead
Andrew Tridgell [Wed, 23 Aug 2006 05:08:55 +0000 (05:08 +0000)]
r17740: get rid of dependence on asprintf(), using talloc_asprintf() instead

13 years agor17739: forgot to add replace/*
Andrew Tridgell [Wed, 23 Aug 2006 04:55:39 +0000 (04:55 +0000)]
r17739: forgot to add replace/*

13 years agor17738: solving the seemingly trivial problem of timegm() being missing on
Andrew Tridgell [Wed, 23 Aug 2006 04:53:47 +0000 (04:53 +0000)]
r17738: solving the seemingly trivial problem of timegm() being missing on
some systems requires quite a large change in ldb. The core problem is
that ldb doesn't have its own equivalent of lib/replace/, so we have
no sane place to put things like timegm.c

This patch moves part of lib/replace/ from Samba4 into ldb, and the
next patch will remove those parts from Samba4. We will probably need
to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/,
so that at each level the libraries have replacements for the
functions they need, but higher level libraries don't need to
re-include replacements if a lower level library already replaces the
function

13 years agor17737: fixed a 'declaration in code' error
Andrew Tridgell [Wed, 23 Aug 2006 02:51:40 +0000 (02:51 +0000)]
r17737: fixed a 'declaration in code' error

13 years agor17735: a (probably useless) attempt to workaround stupidity in HPs version of
Andrew Tridgell [Wed, 23 Aug 2006 02:06:07 +0000 (02:06 +0000)]
r17735: a (probably useless) attempt to workaround stupidity in HPs version of
make

13 years agor17734: tru64 needs these for standalone build
Andrew Tridgell [Wed, 23 Aug 2006 01:55:02 +0000 (01:55 +0000)]
r17734: tru64 needs these for standalone build

13 years agor17733: doxygen is way too noisy to build every time, and it doesn't do
Andrew Tridgell [Wed, 23 Aug 2006 01:51:45 +0000 (01:51 +0000)]
r17733: doxygen is way too noisy to build every time, and it doesn't do
dependencies. If someone can fix it to only rebuild when something
changes, then feel free to re-enable it by default. Otherwise use
"make doxygen" if you are in need of a doxygen fix ....

13 years agor17732: after some help from Jelmer, changed builddocs.sh not to rely on
Andrew Tridgell [Wed, 23 Aug 2006 01:44:22 +0000 (01:44 +0000)]
r17732: after some help from Jelmer, changed builddocs.sh not to rely on
either an internet connection, or a list of xsl paths

13 years agor17731: try to cope with freebsd handling of .a dependencies
Andrew Tridgell [Wed, 23 Aug 2006 01:13:40 +0000 (01:13 +0000)]
r17731: try to cope with freebsd handling of .a dependencies

13 years agor17730: cast dlsym result to try to avoid a compiler crash on hpux
Andrew Tridgell [Wed, 23 Aug 2006 00:46:40 +0000 (00:46 +0000)]
r17730: cast dlsym result to try to avoid a compiler crash on hpux

13 years agor17729: remove the dependence on an internet connection for building
Andrew Tridgell [Wed, 23 Aug 2006 00:42:33 +0000 (00:42 +0000)]
r17729: remove the dependence on an internet connection for building
standalone ldb by only running xsltproc if we can find a local copy of
the required stylesheets

13 years agor17726: not having slapd installed isn't a ldb test failure
Andrew Tridgell [Tue, 22 Aug 2006 23:48:41 +0000 (23:48 +0000)]
r17726: not having slapd installed isn't a ldb test failure

13 years agor17725: VPATH and builds out of the source directory causes problems with the
Andrew Tridgell [Tue, 22 Aug 2006 23:32:19 +0000 (23:32 +0000)]
r17725: VPATH and builds out of the source directory causes problems with the
AIX 5.1 version of make. Putting a direct dependency on $(OBJS) works
around this, and should be harmless on other systems

13 years agor17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
Andrew Tridgell [Tue, 22 Aug 2006 23:12:22 +0000 (23:12 +0000)]
r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
will realise that buffer overflows are bad ....

13 years agor17722: better to use talloc_vasprintf() than vasprintf() directly, as it
Andrew Tridgell [Tue, 22 Aug 2006 22:28:37 +0000 (22:28 +0000)]
r17722: better to use talloc_vasprintf() than vasprintf() directly, as it
depends on less libc functions

13 years agor17721: fixed the dlopen and MODULESDIR handling in the standalone build
Andrew Tridgell [Tue, 22 Aug 2006 22:27:57 +0000 (22:27 +0000)]
r17721: fixed the dlopen and MODULESDIR handling in the standalone build

13 years agor17720: in standalone ldb build, some systems need sys/stat.h and a defn of
Andrew Tridgell [Tue, 22 Aug 2006 20:49:58 +0000 (20:49 +0000)]
r17720: in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t

13 years agor17719: ldb_cmdline needs to be static for cc on solaris
Andrew Tridgell [Tue, 22 Aug 2006 20:39:01 +0000 (20:39 +0000)]
r17719: ldb_cmdline needs to be static for cc on solaris

13 years agor17718: don't consider a slapadd failure in the ldap backend tests as a ldb
Andrew Tridgell [Tue, 22 Aug 2006 20:33:39 +0000 (20:33 +0000)]
r17718: don't consider a slapadd failure in the ldap backend tests as a ldb
failure