samba.git
16 years agor23542: Include function documentation in prototype headers.
Jelmer Vernooij [Mon, 18 Jun 2007 21:48:57 +0000 (21:48 +0000)]
r23542: Include function documentation in prototype headers.
(This used to be commit 03eef5f337446f04239e0b2f840213f0aa7d6ea1)

16 years agor23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not...
Alexander Bokovoy [Mon, 18 Jun 2007 14:06:04 +0000 (14:06 +0000)]
r23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not only when file is written but at initial write as well.
(This used to be commit 0258f9d3c21d1f9ce6bfcf31138d7f8b9bfb6b7d)

16 years agor23535: accept numeric ntstatus codes in nbench load files (ronnies wireshark
Andrew Tridgell [Sun, 17 Jun 2007 21:54:11 +0000 (21:54 +0000)]
r23535: accept numeric ntstatus codes in nbench load files (ronnies wireshark
script generates numeric codes)
(This used to be commit 455895c4b1651bc74f2f64514344d3561a2cd5bb)

16 years agor23534: honour the targetrate even for loadfiles with timestamps
Andrew Tridgell [Sun, 17 Jun 2007 20:04:57 +0000 (20:04 +0000)]
r23534: honour the targetrate even for loadfiles with timestamps
(This used to be commit 24b6aabd11849518f46231358994118a39bb0cb3)

16 years agor23533: added --option torture:targetrate=rate to target a particular
Andrew Tridgell [Sun, 17 Jun 2007 20:03:31 +0000 (20:03 +0000)]
r23533: added --option torture:targetrate=rate to target a particular
throughput in MBytes/sec
(This used to be commit 35477e8e3d58acce467648f3bd83a43d135caefa)

16 years agor23532: added lp_parm_double()
Andrew Tridgell [Sun, 17 Jun 2007 20:02:56 +0000 (20:02 +0000)]
r23532: added lp_parm_double()
(This used to be commit 524ba04b1f6996023886190eee8a226b08aafa35)

16 years agor23531: added optional latency reporting in BENCH-NBENCH. To use it, you need
Andrew Tridgell [Sun, 17 Jun 2007 19:35:00 +0000 (19:35 +0000)]
r23531: added optional latency reporting in BENCH-NBENCH. To use it, you need
to have a load file that puts a timestamp in the first column. That
tells NBENCH to target the same throughput as the capture, and to
report the maximum amount of latency miss in the test

This allows you to quickly see how many clients you can run with while
still meeting a given target
(This used to be commit 7f045ca4f5e3e777978cad39ac22f0c611af6b10)

16 years agor23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
Alexander Bokovoy [Sun, 17 Jun 2007 16:46:44 +0000 (16:46 +0000)]
r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
(This used to be commit 9bb079d70d3fab3ad66143301e8ddfbb5135dedb)

16 years agor23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
Andrew Tridgell [Sat, 16 Jun 2007 17:54:36 +0000 (17:54 +0000)]
r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
(This used to be commit fb20d0cbe0dc3899409a345df0b7d0d73ae64cf0)

16 years agor23520: display shadow copy information in 'allinfo'
Andrew Tridgell [Sat, 16 Jun 2007 17:14:02 +0000 (17:14 +0000)]
r23520: display shadow copy information in 'allinfo'
(This used to be commit 6855dba72e41a4399bc9cd03ebe9924120c43436)

16 years agor23519: added libcli code for fetching shadow copy information
Andrew Tridgell [Sat, 16 Jun 2007 17:13:42 +0000 (17:13 +0000)]
r23519: added libcli code for fetching shadow copy information
(This used to be commit a9c23729f253f65825466cfef965d259ec35a54c)

16 years agor23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
Alexander Bokovoy [Fri, 15 Jun 2007 12:23:14 +0000 (12:23 +0000)]
r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
(This used to be commit a580d19cb39e35464d28a8aa15bb9587e3e7d518)

16 years agor23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already...
Alexander Bokovoy [Fri, 15 Jun 2007 11:16:19 +0000 (11:16 +0000)]
r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
(This used to be commit 5530b38bbf776fec86dd47d3fe73c5e7a6eb188b)

16 years agor23503: use hdb_dbc not hdb_openp.
Andrew Bartlett [Fri, 15 Jun 2007 00:14:11 +0000 (00:14 +0000)]
r23503: use hdb_dbc not hdb_openp.

Andrew Bartlett
(This used to be commit 3a21304de04fa20198d5a863ffd0804a308dccb9)

16 years agor23493: regenerate lex.c files with flex 2.5.33
Stefan Metzmacher [Thu, 14 Jun 2007 13:02:55 +0000 (13:02 +0000)]
r23493: regenerate lex.c files with flex 2.5.33
this makes sure we include config.h as first header

hopefully fixes the build on SerNet-aix

metze
(This used to be commit 0149226ece306af4a65c27ce3fff2988232f4523)

16 years agor23492: Also activate the split out test...
Volker Lendecke [Thu, 14 Jun 2007 13:02:31 +0000 (13:02 +0000)]
r23492: Also activate the split out test...
(This used to be commit a3cb4bcae7a6eaac99e2cffbce4a8a7d7fcf1547)

16 years agor23491: Split out the RENAME trans2 call into a separate test
Volker Lendecke [Thu, 14 Jun 2007 13:01:58 +0000 (13:01 +0000)]
r23491: Split out the RENAME trans2 call into a separate test
(This used to be commit 80244f1ee66c3dbcc2958db4fa9ed333d9f0b40c)

16 years agor23490: try to fix the build without automatic dependencies
Stefan Metzmacher [Thu, 14 Jun 2007 12:33:40 +0000 (12:33 +0000)]
r23490: try to fix the build without automatic dependencies

metze
(This used to be commit d5a1806dff50b2731efbc522e86527e4a2961644)

16 years agor23488: hdb_openp has changed from void * to int...
Stefan Metzmacher [Thu, 14 Jun 2007 12:19:53 +0000 (12:19 +0000)]
r23488: hdb_openp has changed from void * to int...

lha: what is the reason for this? it's really bad to use
     an int for storing a pointer value...

metze
(This used to be commit 625a6598566761121f16e47e88bdd0fbb0f2846c)

16 years agor23487: fix the build with automatic dependencies
Stefan Metzmacher [Thu, 14 Jun 2007 12:05:08 +0000 (12:05 +0000)]
r23487: fix the build with automatic dependencies

metze
(This used to be commit ebf8cd09c3a4e32e824e31178330dde2d867f5e1)

16 years agor23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/
Kai Blin [Thu, 14 Jun 2007 06:05:27 +0000 (06:05 +0000)]
r23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/
(This used to be commit 4e7dc9eae4a30f67a87dbf8ccfda7f6a3ace114d)

16 years agor23456: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett [Wed, 13 Jun 2007 05:44:24 +0000 (05:44 +0000)]
r23456: Update Samba4 to current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit ae0f81ab235c72cceb120bcdeb051a483cf3cc4f)

16 years agor23455: These buffers may not be null terminated. Ensure we don't run past the
Andrew Bartlett [Wed, 13 Jun 2007 05:14:00 +0000 (05:14 +0000)]
r23455: These buffers may not be null terminated. Ensure we don't run past the
end of teh buffer printing the error strings.

Andrew Bartlett
(This used to be commit 37e7070ca92e2f48fa02f7fd6736e5b26520f559)

16 years agor23420: try to make the IBM checker happy
Stefan Metzmacher [Mon, 11 Jun 2007 14:41:14 +0000 (14:41 +0000)]
r23420: try to make the IBM checker happy

metze
(This used to be commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1)

16 years agor23419: initialize variable...
Stefan Metzmacher [Mon, 11 Jun 2007 14:40:23 +0000 (14:40 +0000)]
r23419: initialize variable...

metze
(This used to be commit d19293982bb534c9c4ebfe82f72224813e14bec9)

16 years agor23418: 'S' is 0x53...
Stefan Metzmacher [Mon, 11 Jun 2007 13:02:30 +0000 (13:02 +0000)]
r23418: 'S' is 0x53...

metze
(This used to be commit a7be6810771b804932abbf2ace4c2a7c5dd8a349)

16 years agor23413: TP5 is releast...
Stefan Metzmacher [Mon, 11 Jun 2007 09:50:18 +0000 (09:50 +0000)]
r23413: TP5 is releast...

metze
(This used to be commit 306cf0f38a4ce2b8fc0a06feababd20a499a0f4e)

16 years agor23412: We don't need hdb.h here any more
Andrew Bartlett [Mon, 11 Jun 2007 03:45:56 +0000 (03:45 +0000)]
r23412: We don't need hdb.h here any more
(This used to be commit 1abda90f15bcfb56ac56b01fd2b7343fade3843c)

16 years agor23403: Make nsstest build on Samba4.
Kai Blin [Sat, 9 Jun 2007 07:17:24 +0000 (07:17 +0000)]
r23403: Make nsstest build on Samba4.

For now, only build on Linux systems. If the build farm is happy with this,
I will gradually turn on this feature for other platforms, too.
(This used to be commit c2d4cc1c61d7b39de2139de836dbbdb6c2edf8bb)

16 years agor23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.
Günther Deschner [Fri, 8 Jun 2007 10:56:46 +0000 (10:56 +0000)]
r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.

Guenther
(This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)

16 years agor23385: Adding netr_DsRGetForestTrustInformation() test to query transitive forest
Günther Deschner [Fri, 8 Jun 2007 10:53:47 +0000 (10:53 +0000)]
r23385: Adding netr_DsRGetForestTrustInformation() test to query transitive forest
trusts as well as our primary domain.

Guenther
(This used to be commit 7b19df13a4885fefc38cd73a9c46ee897ffa79ae)

16 years agor23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().
Günther Deschner [Fri, 8 Jun 2007 10:49:46 +0000 (10:49 +0000)]
r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().

Guenther
(This used to be commit 82477b311e2a7a51906d0c00d8714f545b12b0bd)

16 years agor23383: Query transitive forest trust info in LSA torture test once we see such trusts.
Günther Deschner [Fri, 8 Jun 2007 10:43:42 +0000 (10:43 +0000)]
r23383: Query transitive forest trust info in LSA torture test once we see such trusts.

Guenther
(This used to be commit eaa17d5a8ff25ff96b3b6b71dab0effbeeb9b683)

16 years agor23382: Fill in lsa_lsaRQueryForestTrustInformation.
Günther Deschner [Fri, 8 Jun 2007 10:42:33 +0000 (10:42 +0000)]
r23382: Fill in lsa_lsaRQueryForestTrustInformation.

Guenther
(This used to be commit 54fa6d453c628039e5ec9053b0693229efdbe011)

16 years agor23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND...
Günther Deschner [Fri, 8 Jun 2007 10:32:29 +0000 (10:32 +0000)]
r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)

16 years agor23373: Fix spelling...
Andrew Bartlett [Thu, 7 Jun 2007 05:56:18 +0000 (05:56 +0000)]
r23373: Fix spelling...
(This used to be commit 370a586a21623f3c4441f0dedf9a8bdec14a6e40)

16 years agor23371: Fix the misleading comment I added - it really *should*
Jeremy Allison [Thu, 7 Jun 2007 00:14:06 +0000 (00:14 +0000)]
r23371: Fix the misleading comment I added - it really *should*
say "locks chain and returned record", not
"and returns record"
Jeremy.
(This used to be commit fa880e6cc16024f14d10cdc8120ce67bfd1d2eb6)

16 years agor23370: Traverse in tdb wasn't consistently using the
Jeremy Allison [Thu, 7 Jun 2007 00:00:45 +0000 (00:00 +0000)]
r23370: Traverse in tdb wasn't consistently using the
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
(This used to be commit fa548ad75e945ae4d167baffb87140c90cba268c)

16 years agor23365: Try to make Windows Vista join again. On my new test environment, it
Andrew Bartlett [Wed, 6 Jun 2007 12:51:45 +0000 (12:51 +0000)]
r23365: Try to make Windows Vista join again.  On my new test environment, it
wants to check for an existing domain join account, and fails.  This
test shows that we need to return NT_STATUS_NONE_MAPPED when nothing
matches.  (not yet tested if this helps vista).

Andrew Bartlett
(This used to be commit 7f3671bf11cab36a5c795d7db86f85081b73bc71)

16 years agor23364: add LDB_FLG_NOMMAP flag
Andrew Tridgell [Wed, 6 Jun 2007 12:44:04 +0000 (12:44 +0000)]
r23364: add LDB_FLG_NOMMAP flag
(This used to be commit 0c3442c68b01b6804f3fd966fc1fe9097eb863aa)

16 years agor23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
Michael Adam [Wed, 6 Jun 2007 09:27:43 +0000 (09:27 +0000)]
r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
This fixes the build on a SuSE 6.1. :-)
I guess this had been merely forgotten.

But beware: The implementations of rep_pread and rep_pwrite are
not thread safe.

Michael
(This used to be commit e4955c729fdf0bd299df4dadc4b33e09fe4d336e)

16 years agor23361: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Wed, 6 Jun 2007 01:36:15 +0000 (01:36 +0000)]
r23361: Merge from SAMBA_4_0_RELEASE:

Print the smb.conf path being created in provision.

Andrew Bartlett
(This used to be commit bb583463bf483e1b355647f9fc93afbfcb9d41d3)

16 years agor23351: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Tue, 5 Jun 2007 05:35:39 +0000 (05:35 +0000)]
r23351: Merge from SAMBA_4_0_RELEASE:

Fix a nasty issue we had with SWAT.  We could not provision into a
different domain, as we didn't re-calcuate the DOMAINDN after the user
changed it in the form.

Andrew Bartlett
(This used to be commit 430c998dc9ea41ea29cf184d03404b50ef14f78d)

16 years agor23339: merge from SAMBA_3_0:
Stefan Metzmacher [Mon, 4 Jun 2007 14:26:37 +0000 (14:26 +0000)]
r23339: merge from SAMBA_3_0:

fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed
it via a SIGBUS...

I missed to remove the samba3 specifc code path to tdb_open_ex()
when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex()
dropped the compiler warning :-(

metze
(This used to be commit df6e3bec368d7d99cb1641023f4cbcd94c438e22)

16 years agor23325: Remove items from menu that have been removed from SVN long ago, with
Andrew Bartlett [Mon, 4 Jun 2007 03:55:36 +0000 (03:55 +0000)]
r23325: Remove items from menu that have been removed from SVN long ago, with
the start of the transition to the new SWAT.

Andrew Bartlett
(This used to be commit 96df61e3a8824c02dda5b46a4e48d2af30391d29)

16 years agor23311: Updating the samba4 winbind protocol to version 18.
Kai Blin [Sat, 2 Jun 2007 11:38:27 +0000 (11:38 +0000)]
r23311: Updating the samba4 winbind protocol to version 18.

nsswitch/winbindd_nss.h is just copied from SAMBA_3_0.
nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to
drop some of the defines to make things build again.

Kai
(This used to be commit 553b7e146f52975b45941ba850140e312a280513)

16 years agor23306: pass down LDFLAGS to the link command in the libreplace standalone build
Stefan Metzmacher [Sat, 2 Jun 2007 08:16:42 +0000 (08:16 +0000)]
r23306: pass down LDFLAGS to the link command in the libreplace standalone build

metze
(This used to be commit 06caaf0d8d86bb05ceaac6624735283b585d995d)

16 years agor23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
Stefan Metzmacher [Sat, 2 Jun 2007 08:00:45 +0000 (08:00 +0000)]
r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support.

metze
(This used to be commit d890a2dabf309f15b0b0c87bb3888d0776bd094b)

16 years agor23301: merged from ctdb
Andrew Tridgell [Sat, 2 Jun 2007 00:32:49 +0000 (00:32 +0000)]
r23301: merged from ctdb
(This used to be commit 76b981fcefb0dff24ac7d543da70fbb487ed7072)

16 years agor23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
Stefan Metzmacher [Fri, 1 Jun 2007 18:36:55 +0000 (18:36 +0000)]
r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00

metze
(This used to be commit d89088128af89122ef7e0be22697db8dda60ef58)

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)