ira/wip.git
15 years agor17925: Another class we need.
Andrew Bartlett [Tue, 29 Aug 2006 22:38:59 +0000 (22:38 +0000)]
r17925: Another class we need.

Andrew Bartlett

15 years agor17907: - add a generic talloc_report_depth_cb() function which takes a callback
Stefan Metzmacher [Tue, 29 Aug 2006 09:51:49 +0000 (09:51 +0000)]
r17907: - add a generic talloc_report_depth_cb() function which takes a callback
  to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
  talloc_report_depth_file()

metze

15 years agor17905: fix c++ warnings
Stefan Metzmacher [Tue, 29 Aug 2006 09:46:59 +0000 (09:46 +0000)]
r17905: fix c++ warnings

metze

15 years agor17904: we don't want warnings about unused parameters
Stefan Metzmacher [Tue, 29 Aug 2006 09:29:09 +0000 (09:29 +0000)]
r17904: we don't want warnings about unused parameters

volker that one was for you:-)

metze

15 years agor17898: handle objectcategory and isdefunct for classes
Simo Sorce [Mon, 28 Aug 2006 23:30:43 +0000 (23:30 +0000)]
r17898: handle objectcategory and isdefunct for classes

15 years agor17895: - talloc_increase_ref_count() can fail
Stefan Metzmacher [Mon, 28 Aug 2006 18:21:21 +0000 (18:21 +0000)]
r17895: - talloc_increase_ref_count() can fail
- make talloc_reference() typesafe when gcc >= 3 is used

metze

15 years agor17894: better name for the internal syntax type
Simo Sorce [Mon, 28 Aug 2006 18:00:45 +0000 (18:00 +0000)]
r17894: better name for the internal syntax type

15 years agor17893: add a function to disable the null_context
Stefan Metzmacher [Mon, 28 Aug 2006 17:50:26 +0000 (17:50 +0000)]
r17893: add a function to disable the null_context

metze

15 years agor17892: fix the last talloc c++ warning
Stefan Metzmacher [Mon, 28 Aug 2006 17:40:31 +0000 (17:40 +0000)]
r17892: fix the last talloc c++ warning

metze

15 years agor17891: remove c++ warnings from talloc
Stefan Metzmacher [Mon, 28 Aug 2006 17:38:49 +0000 (17:38 +0000)]
r17891: remove c++ warnings from talloc

metze

15 years agor17890: add -Wc++-compat option to gcc but don't use it yet
Stefan Metzmacher [Mon, 28 Aug 2006 17:21:34 +0000 (17:21 +0000)]
r17890: add -Wc++-compat option to gcc but don't use it yet

metze

15 years agor17889: allocate a valid element where the pointer can point to,
Stefan Metzmacher [Mon, 28 Aug 2006 17:18:41 +0000 (17:18 +0000)]
r17889: allocate a valid element where the pointer can point to,
fix c++ warnings

metze

15 years agor17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
Stefan Metzmacher [Mon, 28 Aug 2006 17:17:39 +0000 (17:17 +0000)]
r17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
functions to get rid of c++ warnings

metze

15 years agor17887: fix c++ warnings
Stefan Metzmacher [Mon, 28 Aug 2006 17:12:12 +0000 (17:12 +0000)]
r17887: fix c++ warnings

metze

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

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

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

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

metze

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

metze

15 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

15 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

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

metze

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

metze

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

metze

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

metze

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

metze

15 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

15 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

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

metze

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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/

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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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 ....

15 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

15 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

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

metze

15 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

15 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?

15 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

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

15 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

15 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

15 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