bbaumbach/samba-autobuild/.git
16 years agor17964: try to support sun* hosts
Stefan Metzmacher [Thu, 31 Aug 2006 10:31:40 +0000 (10:31 +0000)]
r17964: try to support sun* hosts

metze
(This used to be commit 87d88b3a47047f837101aca2180555dc35cfcf31)

16 years agor17963: fix install logic for talloc.3
Stefan Metzmacher [Thu, 31 Aug 2006 10:17:54 +0000 (10:17 +0000)]
r17963: fix install logic for talloc.3

metze
(This used to be commit 161f2c04f78ba03ae4a24667e50cc9d8a446921e)

16 years agor17962: source/intl/ isn't used in samba4 anymore
Stefan Metzmacher [Thu, 31 Aug 2006 10:04:49 +0000 (10:04 +0000)]
r17962: source/intl/ isn't used in samba4 anymore

metze
(This used to be commit 3412f6690828c2bbffdb495bc64c7a6989ccd1c3)

16 years agor17961: source/po/ isn't justed in samba4, so remove it
Stefan Metzmacher [Thu, 31 Aug 2006 09:57:57 +0000 (09:57 +0000)]
r17961: source/po/ isn't justed in samba4, so remove it

metze
(This used to be commit 0c546524de23496837c9222b8a19813d141d28a3)

16 years agor17960: try to use gmake if present on IRIX
Stefan Metzmacher [Thu, 31 Aug 2006 09:38:48 +0000 (09:38 +0000)]
r17960: try to use gmake if present on IRIX

metze
(This used to be commit 18b4ae591a3a137dd25edd16a574e489cd5552bf)

16 years agor17958: as talloc_init() enabled null tracking, we should avoid to use it
Stefan Metzmacher [Thu, 31 Aug 2006 09:26:43 +0000 (09:26 +0000)]
r17958: as talloc_init() enabled null tracking, we should avoid to use it
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking

also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible

metze
(This used to be commit d1dd3df5e4fd21f5cbd00e472438fe3eadb266e5)

16 years agor17957: don't try to use an internet connection when generating the manpage
Stefan Metzmacher [Thu, 31 Aug 2006 09:18:06 +0000 (09:18 +0000)]
r17957: don't try to use an internet connection when generating the manpage
and only install the manpage if we build it

metze
(This used to be commit 23c6c7a27cc966d8e948e00c41d34e9a6ad40f2c)

16 years agor17956: LSA Cleanup!
Andrew Bartlett [Thu, 31 Aug 2006 08:22:13 +0000 (08:22 +0000)]
r17956: LSA Cleanup!

This commit cleans up a number of aspects of the LSA interface.

Firstly, we do 2 simple searches on opening the LSA policy, to obtain
the basic information we need.  This also avoids us searching for
dnsDomain (an invented attribute).

While I was at it, I added and tested new LSA calls, including the
enumTrustedDomainsEx call.  I have also merged the identical structures
lsa_DomainInformation and lsa_DomainList.

Also in this commit: Fix netlogon use of uninitialised variables.

Andrew Bartlett
(This used to be commit 3f3fa7f466df56612064029143fbae8effb668aa)

16 years agor17955: Don't search for the dnsDomain attribute, it is invented (not in the
Andrew Bartlett [Thu, 31 Aug 2006 08:17:09 +0000 (08:17 +0000)]
r17955: Don't search for the dnsDomain attribute, it is invented (not in the
AD schema).

Andrew Bartlett
(This used to be commit fac27e4dddc98288dc765e135db6b168fbec760c)

16 years agor17954: Avoid including \n in error strings (left over from DEBUG() conversion).
Andrew Bartlett [Thu, 31 Aug 2006 08:15:23 +0000 (08:15 +0000)]
r17954: Avoid including \n in error strings (left over from DEBUG() conversion).

Make it easier to debug CrackNames failures.

Andrew Bartlett
(This used to be commit 5dd07074db0b25ea2e929bbdcf89f26e3665bd1c)

16 years agor17952: merge changes from samba3
Stefan Metzmacher [Thu, 31 Aug 2006 07:43:09 +0000 (07:43 +0000)]
r17952: merge changes from samba3

metze
(This used to be commit ff8d044c2e14e81b4bb32eaacc56875e9602ce4d)

16 years agor17950: sync talloc with samba3
Stefan Metzmacher [Thu, 31 Aug 2006 06:33:54 +0000 (06:33 +0000)]
r17950: sync talloc with samba3

metze
(This used to be commit 5697841e2949d2f7a053b4766c48906943a5a04e)

16 years agor17940: Fix a warning spotted on the buildfarm.
Rafal Szczesniak [Wed, 30 Aug 2006 22:30:47 +0000 (22:30 +0000)]
r17940: Fix a warning spotted on the buildfarm.

rafal
(This used to be commit b285a34ddd8bf570a060b8c9eb8aee1566317c27)

16 years agor17939: Fix compiler warnings spotted on buildfarm.
Rafal Szczesniak [Wed, 30 Aug 2006 22:05:59 +0000 (22:05 +0000)]
r17939: Fix compiler warnings spotted on buildfarm.

rafal
(This used to be commit 4803e95c68d8824b5494ee86d626e474d8a0c925)

16 years agor17938: More comments.
Rafal Szczesniak [Wed, 30 Aug 2006 20:48:06 +0000 (20:48 +0000)]
r17938: More comments.

rafal
(This used to be commit 4a127aacfa142838b474b2d8186026575bca14a4)

16 years agor17932: Fix header installation.
Jelmer Vernooij [Wed, 30 Aug 2006 13:27:13 +0000 (13:27 +0000)]
r17932: Fix header installation.
(This used to be commit d0b7c740c77c901960c6de80f0d3b77cd396946f)

16 years agor17931: Really remove the files this time. Looks like there's something wrong with
Jelmer Vernooij [Wed, 30 Aug 2006 11:47:40 +0000 (11:47 +0000)]
r17931: Really remove the files this time. Looks like there's something wrong with
the rename code in bzr-svn...
(This used to be commit 03e402181ace8fddde38d626fb8d765693b8d429)

16 years agor17930: Merge noinclude branch:
Jelmer Vernooij [Wed, 30 Aug 2006 11:29:34 +0000 (11:29 +0000)]
r17930: Merge noinclude branch:
 * Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)

16 years agor17926: add trustedDomain class
Simo Sorce [Tue, 29 Aug 2006 22:50:49 +0000 (22:50 +0000)]
r17926: add trustedDomain class
(This used to be commit 43e95f4572778fec70ea4a62b6b4d20d8f96a2f8)

16 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
(This used to be commit 5ff3f10d4fbd47419797890f87df3a50b3bb31fa)

16 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
(This used to be commit b199557b358e6216d89d233513079fcd56b307aa)

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

metze
(This used to be commit 972a84f220f0dabc4e1cc3ffd40a4bf4dedc74d9)

16 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
(This used to be commit d0aa78177d24877320bac2294328e0083f34e9a5)

16 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
(This used to be commit 7664b52b89bfac6f2db52fae2daa65c856acd1ac)

16 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
(This used to be commit 933d1b47ad614d02cc02b602e704948b342febdb)

16 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
(This used to be commit 4241a1bb832461ca44ce0f20cb770ea2b6f2d7e3)

16 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
(This used to be commit 7cab4285b1b61ad5cb425e42d89bcf7d645b0710)

16 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
(This used to be commit 6955ffe4544eddd9e34461f57858480b1acf49c9)

16 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
(This used to be commit fb73ce8d4364a1da3c320034d90c0556529c61c4)

16 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
(This used to be commit 6b4f788c71a6d445ded522d89cd5425f9e2fb391)

16 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
(This used to be commit b15e4c7cfa4df3dc429945e4d330a8a9766eb1a6)

16 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
(This used to be commit 7579503bb886e9c4cc08756013f5311ce550c9fd)

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

metze
(This used to be commit ccef1f729089939b9250f1b177d5241f8baaa5eb)

16 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
(This used to be commit bfca83c91e47e9017474809cd7bc8b2e6e20416a)

16 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
(This used to be commit 155cd6b88283b85c53c7ec65efcf431da7b649ac)

16 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
(This used to be commit 66b6456eee579623b64c649356ab0175c46f5789)

16 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
(This used to be commit bb79542edbb290c7dbea7c921b0e911dd1b3366b)

16 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
(This used to be commit eca7085850ba8475cc01dda1911c4222dd14c1a6)

16 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
(This used to be commit 32996ca9d62568006f8bee85a1f2f37c64c04fb5)

16 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
(This used to be commit f9d39dba41441cd5d06964ce0aebef9bcba40759)

16 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
(This used to be commit d22117a53bafa4bb72c854353620099b5a6f81d8)

16 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
(This used to be commit fab0e66281ca0feddf1ce26249706e865856b17a)

16 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.
(This used to be commit 0c444ba1adfb9ce5cfa736bf0620aa3bec66050d)

16 years agor17859: Fix some return values
Simo Sorce [Sun, 27 Aug 2006 23:32:14 +0000 (23:32 +0000)]
r17859: Fix some return values
(This used to be commit 5b4fc48c49bada2711e356c557ba5f45e34396f6)

16 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
(This used to be commit c9b0b1fb67855ed3bfd1f34c664275bd7f34ff8c)

16 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
(This used to be commit 6db488cc6e29704ae2ae17b2875a76ded5d86b88)

16 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
(This used to be commit 4a932255a01d9f1ac91feb9e371494933f1ae74e)

16 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
(This used to be commit e17371b7f970fe4cc91f8034c18292cc3c22f161)

16 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.
(This used to be commit bb393603707ada3d4b917f8374b7738f16c78f46)

16 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
(This used to be commit 1a9401738f652a87d377a32086342f5f98525fc2)

16 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
(This used to be commit 4189736e09dab2b7ff57b7bba04d54c0ffeea140)

16 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
(This used to be commit fd166ca0c079d83081bc1d631fe40b965c7873d4)

16 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
(This used to be commit 1de34590821b0c076bf8d48cbdae97f33275647e)

16 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
(This used to be commit ebf75c6196afdd4bfa4f11bb1d45d385ab0babed)

16 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
(This used to be commit 4975659fd70abdbae42ee378b7be766102f4df55)

16 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
(This used to be commit 1686c69d0e784220aba053e3dd21f6d14cc86929)

16 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.
(This used to be commit 0caf6a44e03393c645030a9288e7dfd31e97c98b)

16 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
(This used to be commit 9910c01a3a5dd417c47e83b9c9b6df8f4547e816)

16 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
(This used to be commit 946901e5dde9d31727448070a06e56da38d4a59e)

16 years agor17827: Fix an error message
Volker Lendecke [Fri, 25 Aug 2006 10:50:51 +0000 (10:50 +0000)]
r17827: Fix an error message
(This used to be commit 4242309d54d201b35e9cc96c0359ded64cf7485a)

16 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
(This used to be commit 8df16dce4d67c17a24aba934f0d656aa5670e539)

16 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
(This used to be commit 4ec4f91a437bdfab7b8e0fd1e43c0b8b1927e461)

16 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
(This used to be commit 09007b0907662a0d147e8eb21d5bdfc90dbffefc)

16 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
(This used to be commit a5ea749f0ac63bf495a55ee8d9d002208ab93572)

16 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
(This used to be commit c670837cc0dd04834a283bde0471c702a34c66c9)

16 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
(This used to be commit 5d1b66b68fc517ce684f75e466ed5f25e46857d5)

16 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
(This used to be commit 221272e3930e1fbf30df1ad19713935d38cde46c)

16 years agor17811: Add .bzrignore file
Jelmer Vernooij [Thu, 24 Aug 2006 21:32:30 +0000 (21:32 +0000)]
r17811: Add .bzrignore file
(This used to be commit 10419a9fba0e56dbad9abe9e0e7b9c22caf02b3f)

16 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
(This used to be commit 6968136621dc75532a19c910bf559aa37b7e41bd)

16 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
(This used to be commit 40fb476a9cc53c757dcf07e879107c4572b8a1ee)

16 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
(This used to be commit fdef17f81e5fc48cca3dd7611d6d5007147473b1)

16 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
(This used to be commit ba866665f5baffc1dc703d60114b9f1856c4b886)

16 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
(This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)

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

metze
(This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)

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

metze
(This used to be commit 00fcc4f16a01a0c6a70f86c8bd9d1f9801dfd9df)

16 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
(This used to be commit dd0f692d19416c82f237661710b814ba20163605)

16 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
(This used to be commit 7670e224d4be7035bb07fdaa0d156c5f109f20cc)

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

metze
(This used to be commit 256fc452a46dfe7449c6ebddb75e0801ceae5dc4)

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

metze
(This used to be commit 8b806c4c5e4f25e011b545d742097b3b307e5af8)

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

metze
(This used to be commit c999dd02100e59bfd34585850c354ac2e9708cbb)

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

metze
(This used to be commit 97f6980372e2d06bdae461c737f9e0279f30b9b9)

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

metze
(This used to be commit bbe641f23676961972ac337304ece1116b0219b6)

16 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
(This used to be commit fbdc5c635606490618ecd54f1b49db70e680cf05)

16 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
(This used to be commit 5389ba19c8ce4cc8f5992b2f9b4fc451df8ee3f2)

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

metze
(This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)

16 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
(This used to be commit 45baef570de751412116bf59ae5c91a57635349f)

16 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
(This used to be commit 58e7fa037571a3a9fab46945e6158687fff54a17)

16 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
(This used to be commit c66cf31afd99d537b1f4dfc8ff1502dfa6accfd3)

16 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
(This used to be commit 2f4aa95f8d414262eb4d78060ee3a97a85ec5182)

16 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
(This used to be commit 3953d3566e41d0a189be38aee3d99805dd71961a)

16 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
(This used to be commit a6f22cd924ce040d6b3c31c9c483f1c256015f8d)

16 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
(This used to be commit 47e695ed88d364a7d423e804fe5340006ebf7c18)

16 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
(This used to be commit 348aff8c8372b235d42ede35c18f83fd53db99f9)

16 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
(This used to be commit 0b254f3bde8827312c6fcb93ccd7a0c489ed5e20)

16 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
(This used to be commit 7232da0436ff1d84e419d268fee31a095bbb88b7)

16 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
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)

16 years agor17764: more portable setenv() replacement
Andrew Tridgell [Thu, 24 Aug 2006 00:41:15 +0000 (00:41 +0000)]
r17764: more portable setenv() replacement
(This used to be commit 5c00b6d08324b46cd7025264c0320352d2842ead)

16 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/
(This used to be commit ed2dbc4dfe4556831c809dab24e3833cd2018138)

16 years agor17762: HPUX needs setenv
Andrew Tridgell [Wed, 23 Aug 2006 23:20:50 +0000 (23:20 +0000)]
r17762: HPUX needs setenv
(This used to be commit 535c96f1e7639071d34ea47a88181d861c3a3038)

16 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
(This used to be commit aeee1b4655620154a8fefe471ac6327c5ccb8798)