nivanova/samba-autobuild/.git
16 years agor23653: add dummy implementation for all nss calls to let nsstest
Stefan Metzmacher [Fri, 29 Jun 2007 11:07:19 +0000 (11:07 +0000)]
r23653: add dummy implementation for all nss calls to let nsstest
pass against a samba4 winbind

metze

16 years agor23643: Fix the build farm tests. We were incorrectly passing the
Jim McDonough [Thu, 28 Jun 2007 18:08:04 +0000 (18:08 +0000)]
r23643: Fix the build farm tests.  We were incorrectly passing the
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration
fixes, because if you create a user and only set the password
administratrively, the "last set time" should not get updated.  Needed
to add some more of the fields_present flags to do this.

16 years agor23638: add SMB_LIBRARY() macro to create a LIBRARY::foo section in
Stefan Metzmacher [Wed, 27 Jun 2007 20:32:35 +0000 (20:32 +0000)]
r23638: add SMB_LIBRARY() macro to create a LIBRARY::foo section in
source/config.mk from within *.m4 files

metze

16 years agor23637: fix detection of visibility attribute support
Stefan Metzmacher [Wed, 27 Jun 2007 19:46:53 +0000 (19:46 +0000)]
r23637: fix detection of visibility attribute support

James: AC_TRY_LINK() has a different syntax as AC_TRY_RUN() :-)
       so this was wrong:
       http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=20697&view=rev

metze

16 years agor23635: fix the samba4 build...
Stefan Metzmacher [Wed, 27 Jun 2007 17:48:30 +0000 (17:48 +0000)]
r23635: fix the samba4 build...

we need a bit more work to get linking of
shared libraries completely right...

metze

16 years agor23631: when linking shared libraries we need to make shure the linker doesn't
Stefan Metzmacher [Wed, 27 Jun 2007 15:37:03 +0000 (15:37 +0000)]
r23631: when linking shared libraries we need to make shure the linker doesn't
skip "unneeded" object files from within .a files.

If the build-farm doesn't like -Wl,--whole-archive, I'll add some more
configure logic fix it tomorrow.

Kai: with this your libnss_winbind.so patch works for me

metze

16 years agor23630: Found out what LSA_LOOKUP_NAMES level 5 means:
Günther Deschner [Wed, 27 Jun 2007 12:35:12 +0000 (12:35 +0000)]
r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.

Guenther

16 years agor23629: Document lsa lookupname lookuplevels Volker discovered a while ago.
Günther Deschner [Wed, 27 Jun 2007 12:30:21 +0000 (12:30 +0000)]
r23629: Document lsa lookupname lookuplevels Volker discovered a while ago.

Guenther

16 years agor23605: Update mkversion.sh to support git and git-svn checkouts.
Kai Blin [Tue, 26 Jun 2007 06:04:14 +0000 (06:04 +0000)]
r23605: Update mkversion.sh to support git and git-svn checkouts.
Jerry, did I get you right that you'll merge this to 3_0 yourself?

Kai

16 years agor23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy Allison [Fri, 22 Jun 2007 17:36:10 +0000 (17:36 +0000)]
r23590: Fix realloc leak on failure case from Jim Meyering  <jim@meyering.net>.
Jeremy.

16 years agor23561: Fix an output message.
Michael Adam [Thu, 21 Jun 2007 11:14:12 +0000 (11:14 +0000)]
r23561: Fix an output message.

16 years agor23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
Andrew Bartlett [Thu, 21 Jun 2007 10:18:20 +0000 (10:18 +0000)]
r23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
- samba3sam.js: rework the samba3sam test to not use objectCategory,
  as it's has special rules (dnsName a simple match)
- ldap.js: Test the ordering of the objectClass attributes for the baseDN
- schema_init.c: Load the mayContain and mustContain (and system...) attributes when
  reading the schema from ldb
- To make the schema load not suck in terms of performance, write the
  schema into a static global variable
- ldif_handlers.c: Match objectCategory for equality and canonicolisation
  based on the loaded schema, not simple tring manipuation
- ldb_msg.c: don't duplicate attributes when adding attributes to a list
- kludge_acl.c: return allowedAttributesEffective based on schema results
  and privilages

Andrew Bartlett

16 years agor23559: After running testprogs/ejs/minschema.js update schema.ldif (on abartlet's
Günther Deschner [Thu, 21 Jun 2007 08:52:15 +0000 (08:52 +0000)]
r23559: After running testprogs/ejs/minschema.js update schema.ldif (on abartlet's
request).

Guenther

16 years agor23558: MMC seems to ask for this, so I think we need to include it in our schema.
Andrew Bartlett [Thu, 21 Jun 2007 05:14:13 +0000 (05:14 +0000)]
r23558: MMC seems to ask for this, so I think we need to include it in our schema.

Andrew Bartlett

16 years agor23557: Ensure that we don't reorder the objectClass list, if we don't have
Andrew Bartlett [Thu, 21 Jun 2007 01:28:33 +0000 (01:28 +0000)]
r23557: Ensure that we don't reorder the objectClass list, if we don't have
any subclasses loaded yet, or none are applicable.

This fixes MMC so that it at least displays the Samba domain as a
domain, but there is still work to be done.

Andrew Bartlett

16 years agor23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett [Wed, 20 Jun 2007 04:15:39 +0000 (04:15 +0000)]
r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().

Andrew Bartlett

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.

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.

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)

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

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

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

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

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.

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

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'

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

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.

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

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

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

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

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

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

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

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

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/

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

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

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

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

metze

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

metze

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

metze

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

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.

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

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

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

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

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

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

16 years agor23373: Fix spelling...
Andrew Bartlett [Thu, 7 Jun 2007 05:56:18 +0000 (05:56 +0000)]
r23373: Fix spelling...

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.

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.

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

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

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

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

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

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

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

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

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

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

16 years agor23301: merged from ctdb
Andrew Tridgell [Sat, 2 Jun 2007 00:32:49 +0000 (00:32 +0000)]
r23301: merged from ctdb

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

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

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

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

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

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

metze

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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