12 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

(This used to be commit d5a1806dff50b2731efbc522e86527e4a2961644)

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

(This used to be commit 625a6598566761121f16e47e88bdd0fbb0f2846c)

12 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

(This used to be commit ebf8cd09c3a4e32e824e31178330dde2d867f5e1)

12 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)

12 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)

12 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)

12 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

(This used to be commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1)

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

(This used to be commit d19293982bb534c9c4ebfe82f72224813e14bec9)

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

(This used to be commit a7be6810771b804932abbf2ace4c2a7c5dd8a349)

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

(This used to be commit 306cf0f38a4ce2b8fc0a06feababd20a499a0f4e)

12 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)

12 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)

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

(This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)

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

(This used to be commit 7b19df13a4885fefc38cd73a9c46ee897ffa79ae)

12 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().

(This used to be commit 82477b311e2a7a51906d0c00d8714f545b12b0bd)

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

(This used to be commit eaa17d5a8ff25ff96b3b6b71dab0effbeeb9b683)

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

(This used to be commit 54fa6d453c628039e5ec9053b0693229efdbe011)

12 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

(This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)

12 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)

12 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"
(This used to be commit fa880e6cc16024f14d10cdc8120ce67bfd1d2eb6)

12 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
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
(This used to be commit fa548ad75e945ae4d167baffb87140c90cba268c)

12 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)

12 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)

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

(This used to be commit e4955c729fdf0bd299df4dadc4b33e09fe4d336e)

12 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)

12 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)

12 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 :-(

(This used to be commit df6e3bec368d7d99cb1641023f4cbcd94c438e22)

12 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)

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

(This used to be commit 553b7e146f52975b45941ba850140e312a280513)

12 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

(This used to be commit 06caaf0d8d86bb05ceaac6624735283b585d995d)

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

(This used to be commit d890a2dabf309f15b0b0c87bb3888d0776bd094b)

12 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)

12 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

(This used to be commit d89088128af89122ef7e0be22697db8dda60ef58)

12 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

(This used to be commit 04f19c054edc96e165efe8146d660cc4bc3f6dde)

12 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

(This used to be commit bb2da636be57e44d80b2bb52b3bba5c145f4bc68)

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

(This used to be commit 18c5341fad967d5115b9ea5257e499ded5861a65)

12 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)

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

(This used to be commit 7fae261a494b4b71c3022f63112ef23ea495c769)

12 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)

12 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)

12 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

(This used to be commit 6dff6c93fc9073f29b0ae50e4b4abd695918a115)

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

(This used to be commit 71eac88f7e666e6cd0dfe113d02861cdfecbee9b)

12 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)

12 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)

12 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

Andrew Bartlett
(This used to be commit f803e563cb3239b78a9161cf861044b1d44d21f8)

12 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)

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

(This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)

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

(This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)

12 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
(This used to be commit 9dbb2633d7781fcc5d15b175ef36bfda5eb199bb)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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

(This used to be commit 48eb20199e7a01f4ab7f5194a5256ad7dd03ad86)

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

(This used to be commit 0c7e3ed9625d512522a0cc7278e705fbbfc316f4)

12 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

(This used to be commit 236da2cb3db5297b6b9c40a572c3d547954f5090)

12 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)

12 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)

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

(This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)

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

(This used to be commit cd012361d27ede945308bd5c75916ad967bae006)

12 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)

12 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)

12 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)

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

(This used to be commit 9471de13ea92ca017019464c4439c4a5528879c0)

12 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...)

(This used to be commit 43f9d9ba71f51007e80b340600a55fb07d89fd4c)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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!

(This used to be commit a4df092c80ca5d797bb8e13175c9918f9cc76043)

12 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

(This used to be commit 7a513bd741dc2b16a4331e9687a28fb7e403d040)

12 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

(This used to be commit 0cfe152cb143165b908ef023a06c4107efbdecb9)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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

(This used to be commit 682c19f326b67464c50651bd985a8f75d90d3ba9)

12 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)

12 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

(This used to be commit 7e3e2defa593a15c1952f115426f8bdd65df3a15)

12 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)

12 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)

12 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)

12 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

(This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b)

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

(This used to be commit b16787a56120498c985f2617f43250df725c285a)

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

(This used to be commit 2f16ff04d22e13cfb2dc5d8b69004d969a4c25fb)

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

(This used to be commit 385a094443e29990a2895693f2b6435e3d32c0f3)

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

(This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)

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

(This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)

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

(This used to be commit 4fb9e4a353b1ef4177a6ef60996a366a8b56988f)

12 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

(This used to be commit 9d510ed7661f329a092951c43b7c17c2664e46d1)

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

(This used to be commit d0d371be719f219db9ed9b37df010a80fdda6fc3)

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

(This used to be commit 251d534a883efd384e0951c9af595203d962b972)