nivanova/samba-autobuild/.git
16 years agor23696: added the create mask and related share permissions options to Samba4,
Andrew Tridgell [Wed, 4 Jul 2007 04:15:07 +0000 (04:15 +0000)]
r23696: added the create mask and related share permissions options to Samba4,
using the new share_int_option() code from Simo

speaking of which, this is the first time I've looked closely at the
share_classic.c code. It is absolutely and completely braindead and
broken. Whatever drugs Simo was on at the time, he better not try to
cross a border with them on him!

Problems with it:

 - if you actually set a value, it gets ignored, and the defvalue gets
   used instead ('ret' is never returned). If you don't set a value,
   then defvalue gets returned too. Sound useful?

 - it means we now have to list parameters in source/param/ in lots
   and lots of places, all of which have to match exactly. code like
   this is supposed to reduce the likelyhood of errors, not increase
   it!

 - code which has a long line of if() statements with strcmp() should
   cause your fingers to burn on the keyboard when you type it
   in. That's what structure lists are for. Strangely enough, we have
   all the info in loadparm.c in a structure list, but instead it gets
   replicated in share_classic.c in this strange if() strcmp() form

expect some changes to this code shortly. I'll need a calming cup of
tea first though :-)
(This used to be commit 19a9fc2f444efc0894b06a249daf73ed555b61e2)

16 years agor23695: By not using the NULL context for these large structures, we don't
Andrew Bartlett [Wed, 4 Jul 2007 03:25:44 +0000 (03:25 +0000)]
r23695: By not using the NULL context for these large structures, we don't
falsely report them as leaked.

Andrew Bartlett
(This used to be commit e3eb6c2cf63edf50d93a87f656df3ae5aa6efc00)

16 years agor23693: Give the process a chance to write out it's coverage data, before we
Andrew Bartlett [Wed, 4 Jul 2007 00:34:16 +0000 (00:34 +0000)]
r23693: Give the process a chance to write out it's coverage data, before we
blast a kill -9 at it.

Andrew Bartlett
(This used to be commit 16692ae7d9ce269ca7d610319df20d894fe06a1c)

16 years agor23687: not every compiler supports __typeof__()
Stefan Metzmacher [Tue, 3 Jul 2007 16:27:35 +0000 (16:27 +0000)]
r23687: not every compiler supports __typeof__()

metze
(This used to be commit d0f77f7bd7520f4cd61c0d0199b917895ea85a1c)

16 years agor23684: Only use the bzr and git information when there's
Stefan Metzmacher [Tue, 3 Jul 2007 14:44:27 +0000 (14:44 +0000)]
r23684: Only use the bzr and git information when there's
a .bzr or .git in the top branch directory

I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch

metze
(This used to be commit 7bb81c1fc335697b5136fd1f705c5dca8eebcd7a)

16 years agor23681: merge 23670 from SAMBA_3_0:
Stefan Metzmacher [Tue, 3 Jul 2007 08:22:24 +0000 (08:22 +0000)]
r23681: merge 23670 from SAMBA_3_0:

metze
(This used to be commit 446312df745160a6ee1bca93143e10927dfb05ce)

16 years agor23680: Make it easier to setup a domain member server - the 'server role'
Andrew Bartlett [Tue, 3 Jul 2007 08:05:55 +0000 (08:05 +0000)]
r23680: Make it easier to setup a domain member server - the 'server role'
will now control the auth methods, but an override is still available,
ex:

auth methods:domain controller = <methods>

Andrew Bartlett
(This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)

16 years agor23679: invocationID is a GUID too.
Andrew Bartlett [Tue, 3 Jul 2007 08:01:34 +0000 (08:01 +0000)]
r23679: invocationID is a GUID too.

Andrew Bartlett
(This used to be commit 645a8862a3d7c493020e432d76ad0e5da5ea77b5)

16 years agor23678: Update to current lorikeet-heimdal (-r 767), which should fix the
Andrew Bartlett [Tue, 3 Jul 2007 08:00:08 +0000 (08:00 +0000)]
r23678: Update to current lorikeet-heimdal (-r 767), which should fix the
panics on hosts without /dev/random.

Andrew Bartlett
(This used to be commit 14a4ddb131993fec72316f7e8e371638749e6f1f)

16 years agor23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
Andrew Bartlett [Tue, 3 Jul 2007 07:28:46 +0000 (07:28 +0000)]
r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.

Fix these to use the new data_blob_cmp()

Andrew Bartlett
(This used to be commit d2fba8faf03c18f4c79e83d5847e5420377d811b)

16 years agor23676: Added a .gitignore file to hide generated files from git status.
Kai Blin [Tue, 3 Jul 2007 06:20:00 +0000 (06:20 +0000)]
r23676: Added a .gitignore file to hide generated files from git status.
It's identical to .bzrignore
(This used to be commit 9987d30957893423e605fdfdd8bb27e20dd429d7)

16 years agor23675: Build libnss_winbind on linux.
Kai Blin [Tue, 3 Jul 2007 06:17:39 +0000 (06:17 +0000)]
r23675: Build libnss_winbind on linux.
(This used to be commit 9b74d3aef41c020846de9ee1f1adc502f4b1bf39)

16 years agor23674: Merge changes from Samba 3 SVN r23539:
Kai Blin [Tue, 3 Jul 2007 06:16:44 +0000 (06:16 +0000)]
r23674: Merge changes from Samba 3 SVN r23539:
Avoid code duplication in winbind_nss_linux.h
(This used to be commit e95d258078701c1a15940815652f77b127471267)

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
(This used to be commit 57dfc7674352df8b0d4e06750e11a91b574eabb1)

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

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

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

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
(This used to be commit 31cbb9ff9f347f0f0fb50150527bad6ff06e0ebd)

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

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
(This used to be commit 71e5e1109cb924fbcd9eedd031fbf0973e8c8ff5)

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

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
(This used to be commit 03be540ee396379fa230a915f39dda734f93ea55)

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

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

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

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
(This used to be commit 5410b23ea6649f49e8f24a57854f5e72f114aaef)

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

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

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
(This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)

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)