kai/samba-autobuild/.git
16 years agor23294: try to fix the build
Stefan Metzmacher [Fri, 1 Jun 2007 13:49:19 +0000 (13:49 +0000)]
r23294: try to fix the build

metze
(This used to be commit 04f19c054edc96e165efe8146d660cc4bc3f6dde)

16 years agor23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
Stefan Metzmacher [Fri, 1 Jun 2007 13:04:56 +0000 (13:04 +0000)]
r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
we end up with sozeof(uint64_t) == 4 :-(

the _APP32_64BIT_OFF_T section in <sys/unistd.h> missed
to redirect pread, pwrite to pread64, pwrite64 in HP-UX 11.00
so try it manually as a workarround

metze
(This used to be commit bb2da636be57e44d80b2bb52b3bba5c145f4bc68)

16 years agor23292: check for errors returned in a call result.
Rafal Szczesniak [Fri, 1 Jun 2007 12:29:22 +0000 (12:29 +0000)]
r23292: check for errors returned in a call result.

rafal
(This used to be commit 18c5341fad967d5115b9ea5257e499ded5861a65)

16 years agor23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN...
Jelmer Vernooij [Fri, 1 Jun 2007 12:01:53 +0000 (12:01 +0000)]
r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
(This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)

16 years agor23288: give more info...
Stefan Metzmacher [Fri, 1 Jun 2007 10:17:02 +0000 (10:17 +0000)]
r23288: give more info...

metze
(This used to be commit 7fae261a494b4b71c3022f63112ef23ea495c769)

16 years agor23286: In SWAT, it was not possible to use a domain name other than the default.
Andrew Bartlett [Fri, 1 Jun 2007 03:47:35 +0000 (03:47 +0000)]
r23286: In SWAT, it was not possible to use a domain name other than the default.

Fix this in the same way the setup/provision script does.

Andrew Bartlett
(This used to be commit bed522df4bd976851ad983e8af3946c7bb7bcd4f)

16 years agor23281: Ensure we wipe all the right things in distclean.
Andrew Bartlett [Thu, 31 May 2007 23:01:08 +0000 (23:01 +0000)]
r23281: Ensure we wipe all the right things in distclean.

Andrew Bartlett
(This used to be commit 9bf7e4d89632b39da336b4c0de2aa5c1d7f25d9a)

16 years agor23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
Stefan Metzmacher [Thu, 31 May 2007 13:59:08 +0000 (13:59 +0000)]
r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it

metze
(This used to be commit 6dff6c93fc9073f29b0ae50e4b4abd695918a115)

16 years agor23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
Stefan Metzmacher [Thu, 31 May 2007 12:23:52 +0000 (12:23 +0000)]
r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
(This used to be commit 71eac88f7e666e6cd0dfe113d02861cdfecbee9b)

16 years agor23264: Make it more clear what this is actually setting up
Andrew Bartlett [Thu, 31 May 2007 12:08:03 +0000 (12:08 +0000)]
r23264: Make it more clear what this is actually setting up
(This used to be commit f687bc92aea00aa489d310ac31e08a5718a36ec4)

16 years agor23262: Fix mkrelease.sh to work in the right directories
Andrew Bartlett [Thu, 31 May 2007 05:37:52 +0000 (05:37 +0000)]
r23262: Fix mkrelease.sh to work in the right directories
(This used to be commit db8d78f187339acefc0ba03b3c33d1128208b084)

16 years agor23261: Merge WHATSNEW back into the main branch. Comments/omissions greatly
Andrew Bartlett [Thu, 31 May 2007 05:05:45 +0000 (05:05 +0000)]
r23261: Merge WHATSNEW back into the main branch.  Comments/omissions greatly
appriciated.

Andrew Bartlett
(This used to be commit f803e563cb3239b78a9161cf861044b1d44d21f8)

16 years agor23257: Newer OpenLDAP versions don't seem to need this, so simplfy.
Andrew Bartlett [Thu, 31 May 2007 00:00:19 +0000 (00:00 +0000)]
r23257: Newer OpenLDAP versions don't seem to need this, so simplfy.

Andrew Bartlett
(This used to be commit 3ecd180343f381dd0e1a3221f63590e8352d50e8)

16 years agor23240: Fill in netr_DsrGetDcSiteCoverageW.
Günther Deschner [Wed, 30 May 2007 10:24:40 +0000 (10:24 +0000)]
r23240: Fill in netr_DsrGetDcSiteCoverageW.

Guenther
(This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)

16 years agor23239: Fill in drsuapi_QuerySitesByCost.
Günther Deschner [Wed, 30 May 2007 09:54:19 +0000 (09:54 +0000)]
r23239: Fill in drsuapi_QuerySitesByCost.

Guenther
(This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)

16 years agor23238: merged transaction lock changes from ctdb
Andrew Tridgell [Wed, 30 May 2007 08:15:49 +0000 (08:15 +0000)]
r23238: merged transaction lock changes from ctdb

this ensures that having the global lock also implies the transaction
lock
(This used to be commit 9dbb2633d7781fcc5d15b175ef36bfda5eb199bb)

16 years agor23237: update lib/replace from ctdb
Andrew Tridgell [Wed, 30 May 2007 08:14:59 +0000 (08:14 +0000)]
r23237: update lib/replace from ctdb
(This used to be commit 361c5995bcf1dafb89f935ac4183dc295e1d524d)

16 years agor23235: Don't do a seperate LDAP provision step. Instead, everything we need
Andrew Bartlett [Wed, 30 May 2007 01:09:18 +0000 (01:09 +0000)]
r23235: Don't do a seperate LDAP provision step.  Instead, everything we need
(including the config files) is created by provision-backend.

Andrew Bartlett
(This used to be commit 6d4d90399f5a0451fcf2156a465123801e027359)

16 years agor23233: Use the schema and basedn files generated by the provision-backend script.
Andrew Bartlett [Wed, 30 May 2007 00:36:23 +0000 (00:36 +0000)]
r23233: Use the schema and basedn files generated by the provision-backend script.

(Moving towards using only the script's output, one step at a time).

Andrew Bartlett
(This used to be commit a7a409074a53b6b35727a454f1ecbe5daf376aad)

16 years agor23232: Add in some extra files required by the new provision-backend.
Andrew Bartlett [Tue, 29 May 2007 23:24:42 +0000 (23:24 +0000)]
r23232: Add in some extra files required by the new provision-backend.

(sorry for breaking the build)

Andrew Bartlett
(This used to be commit 0108334fe3331b7a2cfa972c6f0674b56d436cb5)

16 years agor23231: Fix make test on build farm for 64-bit hosts. There's no reason this should
Jim McDonough [Tue, 29 May 2007 21:50:17 +0000 (21:50 +0000)]
r23231: Fix make test on build farm for 64-bit hosts.  There's no reason this should
be any different for 64-bit hosts, but we probably are lucking out on other
fields here as well.  The "fields_present" field shouldn't just be copied
from usrmgr traces, because it indicates which fields should be set, and
in this case, we were setting the kickoff time (NOT the expired time) to some
random date.
(This used to be commit 69270178e5b5b069cc7bcd04d04cf8ec29512da2)

16 years agor23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
Stefan Metzmacher [Tue, 29 May 2007 15:19:37 +0000 (15:19 +0000)]
r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
loikeet-heimdal

metze
(This used to be commit 48eb20199e7a01f4ab7f5194a5256ad7dd03ad86)

16 years agor23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
Stefan Metzmacher [Tue, 29 May 2007 15:18:20 +0000 (15:18 +0000)]
r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
for dlopen but no library contains the function...

metze
(This used to be commit 0c7e3ed9625d512522a0cc7278e705fbbfc316f4)

16 years agor23205: abartlet please commit the correct content ...
Stefan Metzmacher [Tue, 29 May 2007 14:51:24 +0000 (14:51 +0000)]
r23205: abartlet please commit the correct content ...

this just fixes make install

metze
(This used to be commit 236da2cb3db5297b6b9c40a572c3d547954f5090)

16 years agor23191: Use the new provision-backend script to setup Fedora DS for make test.
Andrew Bartlett [Tue, 29 May 2007 13:06:08 +0000 (13:06 +0000)]
r23191: Use the new provision-backend script to setup Fedora DS for make test.

OpenLDAP to follow once I get things working...

Andrew Bartlett
(This used to be commit 2cde9eb860fe95b52e7e9300222000a2a1666ca2)

16 years agor23189: Work towards a totally scripted setup of LDAP backends, so others can
Andrew Bartlett [Tue, 29 May 2007 12:18:41 +0000 (12:18 +0000)]
r23189: Work towards a totally scripted setup of LDAP backends, so others can
easily try this out.

I also intend to use this for the selftest, but I'm chasing issues
with the OpenlDAP (but not Fedora DS) backend.

Andrew Bartlett
(This used to be commit 0f457b1d2e20c36ab220b4a6711ce7930c4c7d21)

16 years agor23188: revert 23123 and 23118.
Stefan Metzmacher [Tue, 29 May 2007 11:13:07 +0000 (11:13 +0000)]
r23188: revert 23123 and 23118.

as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...

as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/

metze
(This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)

16 years agor23187: revert 23145 and 23135 to fix the build on solaris...
Stefan Metzmacher [Tue, 29 May 2007 11:03:07 +0000 (11:03 +0000)]
r23187: revert 23145 and 23135 to fix the build on solaris...

metze
(This used to be commit cd012361d27ede945308bd5c75916ad967bae006)

16 years agor23182: fixed valgrind error
Andrew Tridgell [Tue, 29 May 2007 08:30:41 +0000 (08:30 +0000)]
r23182: fixed valgrind error
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)

16 years agor23181: prevent attempts to reopen the connection twice at the same time
Andrew Tridgell [Tue, 29 May 2007 08:22:45 +0000 (08:22 +0000)]
r23181: prevent attempts to reopen the connection twice at the same time
(This used to be commit a25c27dbae4534f2125001c16ac9ae0b67c519cb)

16 years agor23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT
Andrew Tridgell [Tue, 29 May 2007 07:32:28 +0000 (07:32 +0000)]
r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT
(This used to be commit 32a6c268a7963382dc05f53783ac22f7fd0de429)

16 years agor23179: I forgot ejsnet.js script is one of tests. Disable it temporarily.
Rafal Szczesniak [Tue, 29 May 2007 06:33:55 +0000 (06:33 +0000)]
r23179: I forgot ejsnet.js script is one of tests. Disable it temporarily.

rafal
(This used to be commit 9471de13ea92ca017019464c4439c4a5528879c0)

16 years agor23178: add simple js code I use for testing and which starts to look like
Rafal Szczesniak [Tue, 29 May 2007 05:49:35 +0000 (05:49 +0000)]
r23178: add simple js code I use for testing and which starts to look like
ejsnet command line utility (perhaps to be moved to utils later...)

rafal
(This used to be commit 43f9d9ba71f51007e80b340600a55fb07d89fd4c)

16 years agor23177: Add in a new provision-backend script. This helps set up the OpenLDAP or...
Andrew Bartlett [Tue, 29 May 2007 01:20:47 +0000 (01:20 +0000)]
r23177: Add in a new provision-backend script.  This helps set up the OpenLDAP or Fedora DS backend.

This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
(This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec)

16 years agor23176: Note that we only return one DC from this call at the moment.
Andrew Bartlett [Tue, 29 May 2007 00:34:31 +0000 (00:34 +0000)]
r23176: Note that we only return one DC from this call at the moment.

Andrew Bartlett
(This used to be commit 4fee8a7b77d01c7cb8b32911016158f2ff2cf8f6)

16 years agor23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
Jelmer Vernooij [Mon, 28 May 2007 21:04:59 +0000 (21:04 +0000)]
r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)

16 years agor23174: merge text
Jelmer Vernooij [Mon, 28 May 2007 14:24:36 +0000 (14:24 +0000)]
r23174: merge text
(This used to be commit a6293ab5cb31a73f23adebacc68d2d383fa62e22)

16 years agor23158: Set version to 1.0.1.
Jelmer Vernooij [Sat, 26 May 2007 16:56:54 +0000 (16:56 +0000)]
r23158: Set version to 1.0.1.
(This used to be commit db065db67a5edcefc6dbe2e504a4922b9b9f7f21)

16 years agor23157: Add news file for talloc.
Jelmer Vernooij [Sat, 26 May 2007 16:55:08 +0000 (16:55 +0000)]
r23157: Add news file for talloc.
(This used to be commit cb92da26799d27975dd27255007573cef6397d8a)

16 years agor23153: a first cut at a fix for the dgram flood problem that volker
Andrew Tridgell [Sat, 26 May 2007 08:47:27 +0000 (08:47 +0000)]
r23153: a first cut at a fix for the dgram flood problem that volker
found. Not sure this is the best solution, but it should work.
(This used to be commit 80002cd12a64fa2679e48c58906cb9b26ad17e49)

16 years agor23152: fixed some async retry issues in openbench
Andrew Tridgell [Sat, 26 May 2007 03:24:08 +0000 (03:24 +0000)]
r23152: fixed some async retry issues in openbench
(This used to be commit 08eeaff0799051c3046a1101943b74d634828f6e)

16 years agor23149: Fix up the trusted domain lookup code to use the new structures.
Andrew Bartlett [Sat, 26 May 2007 00:25:22 +0000 (00:25 +0000)]
r23149: Fix up the trusted domain lookup code to use the new structures.

Andrew Bartlett
(This used to be commit 6ecb3cb0b337260f31abd257e9f900661de4cfd2)

16 years agor23146: fix the build (temporary)
Stefan Metzmacher [Fri, 25 May 2007 13:30:49 +0000 (13:30 +0000)]
r23146: fix the build (temporary)

abartlet: please fix this correct!

metze
(This used to be commit a4df092c80ca5d797bb8e13175c9918f9cc76043)

16 years agor23145: try to fix the build on solaris
Stefan Metzmacher [Fri, 25 May 2007 13:11:17 +0000 (13:11 +0000)]
r23145: try to fix the build on solaris

metze
(This used to be commit 7a513bd741dc2b16a4331e9687a28fb7e403d040)

16 years agor23144: splitup RAW-OPLOCK into small units
Stefan Metzmacher [Fri, 25 May 2007 13:03:33 +0000 (13:03 +0000)]
r23144: splitup RAW-OPLOCK into small units

metze
(This used to be commit 0cfe152cb143165b908ef023a06c4107efbdecb9)

16 years agor23143: error found by valgrind
Andrew Tridgell [Fri, 25 May 2007 12:35:03 +0000 (12:35 +0000)]
r23143: error found by valgrind
(This used to be commit 268a26131ee43a673e7b79a359b2575dcef554d5)

16 years agor23142: added error checking and reconnect on echo replies
Andrew Tridgell [Fri, 25 May 2007 12:21:29 +0000 (12:21 +0000)]
r23142: added error checking and reconnect on echo replies
(This used to be commit 0d47efe6d6d1738183c59942a077faaf1c77f004)

16 years agor23141: Use the finddcs() library call rather than a winbind-specific version.
Andrew Bartlett [Fri, 25 May 2007 11:59:52 +0000 (11:59 +0000)]
r23141: Use the finddcs() library call rather than a winbind-specific version.

(I created finddcs() from the winbind code a while back, so this
finishes that work)

Andrew Bartlett
(This used to be commit 218b279a46a4ca739597936f0b67573599e6d375)

16 years agor23140: send send echos while disconnected
Andrew Tridgell [Fri, 25 May 2007 11:39:43 +0000 (11:39 +0000)]
r23140: send send echos while disconnected
(This used to be commit 233172a9f71e297e255c393946ad51fad96b356e)

16 years agor23139: use echo operations once a second in lockbench and openbench to ensure
Andrew Tridgell [Fri, 25 May 2007 10:43:06 +0000 (10:43 +0000)]
r23139: use echo operations once a second in lockbench and openbench to ensure
we detect IP takeover on servers
(This used to be commit b5292a25edf1c071dea19877fb6b31f2501132ef)

16 years agor23138: added a raw interface for SMBecho operations
Andrew Tridgell [Fri, 25 May 2007 10:42:29 +0000 (10:42 +0000)]
r23138: added a raw interface for SMBecho operations
(This used to be commit 590c6c21db5abd436441a9af62ee65436d6f1222)

16 years agor23137: make it possible to skip the pidl tests
Stefan Metzmacher [Fri, 25 May 2007 09:15:09 +0000 (09:15 +0000)]
r23137: make it possible to skip the pidl tests
with PIDL_TESTS_SKIP=yes

metze
(This used to be commit 682c19f326b67464c50651bd985a8f75d90d3ba9)

16 years agor23136: Set the event context onto the credentials in more places.
Andrew Bartlett [Fri, 25 May 2007 08:44:33 +0000 (08:44 +0000)]
r23136: Set the event context onto the credentials in more places.

This helps ensure that the kerberos code uses the right event context.

Andrew Bartlett
(This used to be commit cbdce358ae8f86c9b76a50537b931e56b07ee213)

16 years agor23135: inet_ntop and inet_pton are now provided by libreplace
Stefan Metzmacher [Fri, 25 May 2007 08:14:15 +0000 (08:14 +0000)]
r23135: inet_ntop and inet_pton are now provided by libreplace

metze
(This used to be commit 7e3e2defa593a15c1952f115426f8bdd65df3a15)

16 years agor23134: Set the event context onto the cli_credentials.
Andrew Bartlett [Fri, 25 May 2007 08:05:14 +0000 (08:05 +0000)]
r23134: Set the event context onto the cli_credentials.

Andrew Bartlett
(This used to be commit 8b97ca2a8719abdd9f853a5d8f075428b2f49a61)

16 years agor23133: I felt pity on Kai, as he starts work on winbind in Samba4, so I
Andrew Bartlett [Fri, 25 May 2007 08:04:39 +0000 (08:04 +0000)]
r23133: I felt pity on Kai, as he starts work on winbind in Samba4, so I
decided to clean it up a little.

We now use SPNEGO for authentication if possible, and common routines
shared with the rest of the librpc codebase.  Rather than make a
connection to IPC$, then connect the pipes to it, we instead have the
lsa and samr pipes as 'secondary connections'.

Andrew Bartlett
(This used to be commit 86654056b22245a57396544d572de6401069b9e5)

16 years agor23132: Resolve an issue where we would use the ccache after we free()ed it.
Andrew Bartlett [Fri, 25 May 2007 05:19:02 +0000 (05:19 +0000)]
r23132: Resolve an issue where we would use the ccache after we free()ed it.

The problem was, we would set the ccache, then invalidate it as we set
details from it (like the principal name from the ccache).

Instead, set the ccache onto the credentials structure after we are
done processing it.

Andrew Bartlett
(This used to be commit d285bd927c604d930fc44cc84ef3321aa4ce9d9a)

16 years agor23129: Merge from 3_0:
Günther Deschner [Thu, 24 May 2007 23:38:46 +0000 (23:38 +0000)]
r23129: Merge from 3_0:

* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags
* the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags

Guenther
(This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b)

16 years agor23126: this was sitting on my laptop for a while...
Rafal Szczesniak [Thu, 24 May 2007 21:51:25 +0000 (21:51 +0000)]
r23126: this was sitting on my laptop for a while...

change the way the ejs object is being created and return listing
context (with status) rather than collecting all entries gathered
from libnet call.

rafal
(This used to be commit b16787a56120498c985f2617f43250df725c285a)

16 years agor23125: add host manager subcontext function.
Rafal Szczesniak [Thu, 24 May 2007 21:45:29 +0000 (21:45 +0000)]
r23125: add host manager subcontext function.

rafal
(This used to be commit 2f16ff04d22e13cfb2dc5d8b69004d969a4c25fb)

16 years agor23124: add host subcontext providing (at the moment) list of domains
Rafal Szczesniak [Thu, 24 May 2007 21:44:27 +0000 (21:44 +0000)]
r23124: add host subcontext providing (at the moment) list of domains
hosted on the server.

rafal
(This used to be commit 385a094443e29990a2895693f2b6435e3d32c0f3)

16 years agor23123: Fix two utterly simply typos that broke the whole build farm...
Michael Adam [Thu, 24 May 2007 21:29:15 +0000 (21:29 +0000)]
r23123: Fix two utterly simply typos that broke the whole build farm...

Michael
(This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)

16 years agor23118: Make inet_pton and inet_ntop available through lib/replace.
Michael Adam [Thu, 24 May 2007 15:51:01 +0000 (15:51 +0000)]
r23118: Make inet_pton and inet_ntop available through lib/replace.
The code for inet_pton.c and inet_ntop.c is taken from
the rsync code.

I will put this into 3_0 and 3_0_26 too, but let's sort
the readahead issue in lib/replace of 3_0 first...

Michael
(This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)

16 years agor23115: the attribute array needs to be NULL terminated...
Stefan Metzmacher [Thu, 24 May 2007 12:40:46 +0000 (12:40 +0000)]
r23115: the attribute array needs to be NULL terminated...
hopefully fix the crash on some hosts in the farm...

metze
(This used to be commit 4fb9e4a353b1ef4177a6ef60996a366a8b56988f)

16 years agor23114: we fail the new BASE-DELETE/deltest20a|b tests
Stefan Metzmacher [Thu, 24 May 2007 12:02:34 +0000 (12:02 +0000)]
r23114: we fail the new BASE-DELETE/deltest20a|b tests

metze
(This used to be commit 9d510ed7661f329a092951c43b7c17c2664e46d1)

16 years agor23111: nicer ./configure --help output
Stefan Metzmacher [Thu, 24 May 2007 09:28:49 +0000 (09:28 +0000)]
r23111: nicer ./configure --help output

metze
(This used to be commit d0d371be719f219db9ed9b37df010a80fdda6fc3)

16 years agor23110: add --disable-shared option, very useful for the build-farm...
Stefan Metzmacher [Thu, 24 May 2007 09:28:05 +0000 (09:28 +0000)]
r23110: add --disable-shared option, very useful for the build-farm...

metze
(This used to be commit 251d534a883efd384e0951c9af595203d962b972)

16 years agor23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Michael Adam [Thu, 24 May 2007 07:15:36 +0000 (07:15 +0000)]
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)

16 years agor23104: Add comment explaining the new test.
Jeremy Allison [Wed, 23 May 2007 23:14:48 +0000 (23:14 +0000)]
r23104: Add comment explaining the new test.
Jeremy.
(This used to be commit 7b9b5c59a4ac2afca151ba12eba7c808057a677e)

16 years agor23103: Add a torture test for the insane semantics Steve's cifsfs client
Jeremy Allison [Wed, 23 May 2007 23:11:16 +0000 (23:11 +0000)]
r23103: Add a torture test for the insane semantics Steve's cifsfs client
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c5413bb9f15d1c47a095f63d7f167e0)

16 years agor23099: New interesting delete on close tests :-).
Jeremy Allison [Wed, 23 May 2007 21:14:05 +0000 (21:14 +0000)]
r23099: New interesting delete on close tests :-).
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c8f6f7e50d038d093898a1f4280be23)

16 years agor23090: a test showing two netlogon pipes open at once, using the LogonEx ops
Andrew Tridgell [Wed, 23 May 2007 07:44:51 +0000 (07:44 +0000)]
r23090: a test showing two netlogon pipes open at once, using the LogonEx ops
(This used to be commit 576dbdc8eece5c2fef743835c7cc255f02050ad3)

16 years agor23089: This is upstream now, so we don't need to add it manually.
Andrew Bartlett [Wed, 23 May 2007 02:41:31 +0000 (02:41 +0000)]
r23089: This is upstream now, so we don't need to add it manually.

Andrew Bartlett
(This used to be commit cddffbf602daff1c5a4770a9a294c0cdf4943384)

16 years agor23071: print the command on failure only
Stefan Metzmacher [Tue, 22 May 2007 12:45:58 +0000 (12:45 +0000)]
r23071: print the command on failure only

metze
(This used to be commit 65ed39172953507610b41273d4a46470725e2012)

16 years agor23069: print out the command, to find out the problem on host 'tridge'
Stefan Metzmacher [Tue, 22 May 2007 11:23:36 +0000 (11:23 +0000)]
r23069: print out the command, to find out the problem on host 'tridge'

metze
(This used to be commit 3f28a19ea1599f7a94faf7d8ee7ea5b3620abe6e)

16 years agor23067: use 'const union smb_search_data *file' also in the server code to get rid
Stefan Metzmacher [Tue, 22 May 2007 09:25:58 +0000 (09:25 +0000)]
r23067: use 'const union smb_search_data *file' also in the server code to get rid
of compiler warnings in the cifs backend

metze
(This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)

16 years agor23066: don't ignore errors
Stefan Metzmacher [Tue, 22 May 2007 09:02:16 +0000 (09:02 +0000)]
r23066: don't ignore errors

metze
(This used to be commit 1a1a339d48af535d60a37b6c646e3e6ca95d41b5)

16 years agor23065: revert local includes to prevent security problems (at least
Rafal Szczesniak [Tue, 22 May 2007 06:34:14 +0000 (06:34 +0000)]
r23065: revert local includes to prevent security problems (at least
temporarily...)

rafal
(This used to be commit 0ecb8fd81ebbd7327aa5c6b9347aa4dcb1ba6421)

16 years agor23064: Clarify comment and indent
Andrew Bartlett [Tue, 22 May 2007 05:22:18 +0000 (05:22 +0000)]
r23064: Clarify comment and indent
(This used to be commit 607e8409f86b28c51a058555021cd45c1cb72a26)

16 years agor23063: Make sure to invalidate the ccache when we set a
Andrew Bartlett [Tue, 22 May 2007 05:21:59 +0000 (05:21 +0000)]
r23063: Make sure to invalidate the ccache when we set a
username/password/realm/etc from the command line.

Also make sure it can't 'come back' from a later call to
cli_credentials_guess(), buy setting a threshold.

This should fix the issues with the build farm...

Andrew Bartlett
(This used to be commit 3b1dfb9306beb9f40d85d38cf6786ef161ec63f1)

16 years agor23062: make sure one node doesn't get ahead of the others at the start
Andrew Tridgell [Tue, 22 May 2007 05:16:16 +0000 (05:16 +0000)]
r23062: make sure one node doesn't get ahead of the others at the start
(This used to be commit 6ab736f5308aabec609408cef9e4c3629081dd75)

16 years agor23061: keep the RAW-BENCH-OPEN test balanced
Andrew Tridgell [Tue, 22 May 2007 04:53:05 +0000 (04:53 +0000)]
r23061: keep the RAW-BENCH-OPEN test balanced
(This used to be commit 453d6f5c58ef60599894749a513d45f1bf5f1c4e)

16 years agor23060: use #include <roken.h> consistently. Using "roken.h" in this directory
Andrew Tridgell [Tue, 22 May 2007 04:13:17 +0000 (04:13 +0000)]
r23060: use #include <roken.h> consistently. Using "roken.h" in this directory
breaks Samba builds on some systems as they find the wrong roken.h
(This used to be commit 59cd26b664af5edebc979d2bc746bf9621333130)

16 years agor23059: reject_free needs to be initialised
Andrew Tridgell [Tue, 22 May 2007 01:02:00 +0000 (01:02 +0000)]
r23059: reject_free needs to be initialised
(This used to be commit ffb8b493161f6951dabb94f2e9ee4c2f2c11b4e0)

16 years agor23058: the cldap code was getting too intimate with the internals of struct
Andrew Tridgell [Tue, 22 May 2007 00:43:10 +0000 (00:43 +0000)]
r23058: the cldap code was getting too intimate with the internals of struct
asn1_context. A hangover from when it wasn't a allocated structure
(This used to be commit e4b7968a40e11a96a0b9671f8ef5436f18427818)

16 years agor23057: only call the async recv function for the first pending receive, not
Andrew Tridgell [Mon, 21 May 2007 23:35:14 +0000 (23:35 +0000)]
r23057: only call the async recv function for the first pending receive, not
all pending receives, when the transport dies. This is because the
async callback most commonly shuts down the connection (it's the only
reasonable thing to do when it's dead), and that frees the whole
context. That means that if we loop more than once, we'll end up using
freed memory.
(This used to be commit 75d537d3a5e3fc5258ce48bfec0c0ce6160978f6)

16 years agor23056: added automatic reconnect to RAW-BENCH-OPEN, similar to RAW-BENCH-LOCK
Andrew Tridgell [Mon, 21 May 2007 23:33:26 +0000 (23:33 +0000)]
r23056: added automatic reconnect to RAW-BENCH-OPEN, similar to RAW-BENCH-LOCK
(This used to be commit 30b1733d75a5f309441818be9718c0434b984f42)

16 years agor23047: Allow local inclusion of js files as well as from predefined
Rafal Szczesniak [Mon, 21 May 2007 19:53:57 +0000 (19:53 +0000)]
r23047: Allow local inclusion of js files as well as from predefined
path(s).

rafal
(This used to be commit 278d26576a625d0fa161f492b902074ea82ef1a8)

16 years agor23045: forward SMB2 oplock breaks to the client
Stefan Metzmacher [Mon, 21 May 2007 17:39:05 +0000 (17:39 +0000)]
r23045: forward SMB2 oplock breaks to the client

metze
(This used to be commit 577acc198b096a1e182568b6db93c2da132b647e)

16 years agor23044: - use uint32_t for handle id's
Stefan Metzmacher [Mon, 21 May 2007 17:23:56 +0000 (17:23 +0000)]
r23044: - use uint32_t for handle id's
- include the session vuid in the SMB2 128-Bit wire handles
  as SMB2 oplock breaks doesn't include a TID or VUID in the header
  we need to make sure the handle is unique for the whole TCP connection

metze
(This used to be commit 7c29b8a7e67c48478399788912b22c287fbd3b4e)

16 years agor23043: allow more than UINT16_MAX - 1 handles on smb2 connections
Stefan Metzmacher [Mon, 21 May 2007 17:12:49 +0000 (17:12 +0000)]
r23043: allow more than UINT16_MAX - 1 handles on smb2 connections

metze
(This used to be commit 6d08c4cef22f6620cc11b712d0814772f747f466)

16 years agor23037: actually fix the asn1 memory leak :-)
Stefan Metzmacher [Mon, 21 May 2007 13:33:46 +0000 (13:33 +0000)]
r23037: actually fix the asn1 memory leak :-)

metze
(This used to be commit 13bda1152d3b88c0b93610d4698ce24183334276)

16 years agor23036: error checking on asn1_init() failure
Andrew Tridgell [Mon, 21 May 2007 12:47:18 +0000 (12:47 +0000)]
r23036: error checking on asn1_init() failure
(This used to be commit 26cf8494084c0106ef0e1c9b6ef40eeadf945ef2)

16 years agor23035: We don't need to add this entry, and I hope to figure out how to avoid
Andrew Bartlett [Mon, 21 May 2007 12:03:15 +0000 (12:03 +0000)]
r23035: We don't need to add this entry, and I hope to figure out how to avoid
adding the other two manually.

However, to do this we do need to skip the check (with -u) that
slaptest can access the db.

Andrew Bartlett
(This used to be commit ea206dce06d97c60868e44aab9281dcbbb393931)

16 years agor23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
Andrew Bartlett [Mon, 21 May 2007 11:57:56 +0000 (11:57 +0000)]
r23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
on credentials don't do anything' bug.

The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.

Andrew Bartlett
(This used to be commit ec2014f08b0845bc8aa0e8e6713bc4b21f430811)

16 years agor23033: regenerate schema.ldif with minischema.js
Stefan Metzmacher [Mon, 21 May 2007 09:15:27 +0000 (09:15 +0000)]
r23033: regenerate schema.ldif with minischema.js

metze
(This used to be commit c9e017c00864d08ad6eb38092abd29810604e207)

16 years agor23032: Remove calls to println(), and ensure we print the ldb errstring().
Andrew Bartlett [Mon, 21 May 2007 08:33:22 +0000 (08:33 +0000)]
r23032: Remove calls to println(), and ensure we print the ldb errstring().

Andrew Bartlett
(This used to be commit 5b6f704b24f7da40ce917fe8ed1a500684d1f3cd)

16 years agor23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
Andrew Tridgell [Mon, 21 May 2007 07:27:24 +0000 (07:27 +0000)]
r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)

16 years agor23030: finally fixed up our asn1 code to use better memory allocation. This
Andrew Tridgell [Mon, 21 May 2007 06:12:06 +0000 (06:12 +0000)]
r23030: finally fixed up our asn1 code to use better memory allocation. This
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9968221c1361785b94061046ecd159d)

16 years agor23029: fixed formatting
Andrew Tridgell [Mon, 21 May 2007 05:40:04 +0000 (05:40 +0000)]
r23029: fixed formatting
(This used to be commit 72ee4707725e9bbc9ab564315c7d78bdc564256f)