samba.git
12 years agor23796: main COPYING file for samba4, plus some formatting varients
Andrew Tridgell [Tue, 10 Jul 2007 03:04:16 +0000 (03:04 +0000)]
r23796: main COPYING file for samba4, plus some formatting varients
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)

12 years agor23795: more v2->v3 conversion
Andrew Tridgell [Tue, 10 Jul 2007 02:46:15 +0000 (02:46 +0000)]
r23795: more v2->v3 conversion
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)

12 years agor23794: convert more code from LGPLv2+ to LGPLv3+
Andrew Tridgell [Tue, 10 Jul 2007 02:31:50 +0000 (02:31 +0000)]
r23794: convert more code from LGPLv2+ to LGPLv3+
(This used to be commit 9d37f1ec070ddcfd49dfe351e76cc08fa0d9b41c)

12 years agor23792: convert Samba4 to GPLv3
Andrew Tridgell [Tue, 10 Jul 2007 02:07:03 +0000 (02:07 +0000)]
r23792: convert Samba4 to GPLv3

There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)

12 years agor23762: Fix DN renames over LDAP, and instrument the partition module. Add a
Andrew Bartlett [Mon, 9 Jul 2007 12:31:35 +0000 (12:31 +0000)]
r23762: Fix DN renames over LDAP, and instrument the partition module.  Add a
test to prove the behaviour of LDAP renames etc.

Fix LDB to return correct error code when failing to rename one DN
onto another.

Andrew Bartlett
(This used to be commit 3f3da9c4710b7752ed97f55c2fc3d32a63d352af)

12 years agor23754: Make sure to check the status return before we de-reference the
Andrew Bartlett [Mon, 9 Jul 2007 03:08:20 +0000 (03:08 +0000)]
r23754: Make sure to check the status return before we de-reference the
returned elements.

Andrew Bartlett
(This used to be commit 3a8192c74288b98bc61af95aa5cd39b1584411c1)

12 years agor23753: Fix bitrot afflicting the ldb Python swig bindings.
Tim Potter [Mon, 9 Jul 2007 01:49:49 +0000 (01:49 +0000)]
r23753: Fix bitrot afflicting the ldb Python swig bindings.
(This used to be commit 0141db0fc43fb55d4b6dd80c89b1a3aae689a873)

12 years agor23737: Validate that we object to duplicate values in an add or replace.
Andrew Bartlett [Sat, 7 Jul 2007 04:34:36 +0000 (04:34 +0000)]
r23737: Validate that we object to duplicate values in an add or replace.

We can't ever allow duplicates, even if the client sends them

Andrew Bartlett
(This used to be commit 10277f27246b9e16ed36fb72eb4c318b43cb9395)

12 years agor23734: Add a test to prove tridge's theory that the mask, once set
Jeremy Allison [Fri, 6 Jul 2007 19:45:01 +0000 (19:45 +0000)]
r23734: Add a test to prove tridge's theory that the mask, once set
on an open directory handle, is never changed. (He's right btw :-).
Jeremy.
(This used to be commit bf9242ad4561239fbc6e05c6879726f0df202f56)

12 years agor23721: For unions, The TAG and the ARM are aligned independently.
Ronnie Sahlberg [Thu, 5 Jul 2007 07:19:14 +0000 (07:19 +0000)]
r23721: For unions, The TAG and the ARM are aligned independently.

Move emitting ALIGN_TO_x_BYTES to after the tag has been dissected so the
alignment only affects the ARM.
(This used to be commit 22945854d91c87cc17df681db5fd3c6871cdaadc)

12 years agor23720: Allow the member server to work against an LDAP Backend. Another case
Andrew Bartlett [Thu, 5 Jul 2007 06:15:40 +0000 (06:15 +0000)]
r23720: Allow the member server to work against an LDAP Backend.  Another case
where LDB isn't as strict as OpenLDAP, the self join record contains
duplicate servicePrincipalNames once the DNS name and domain name are
made equal.  (Easier to just skip the useless self-join).

Andrew Bartlett
(This used to be commit 49ff929be6fcf57721532de13bdd7a7e1617af6f)

12 years agor23719: ejs being case sensitive, while LDAP is not is a real pain when
Andrew Bartlett [Thu, 5 Jul 2007 03:30:46 +0000 (03:30 +0000)]
r23719: ejs being case sensitive, while LDAP is not is a real pain when
dereferencing attributes.

Fix the case to match between the attributes searched for and the ejs
element.  (Fixes LDAP-backend selftest)

Andrew Bartlett
(This used to be commit 51cf66bb96e5a58693a40d920d78632ac442ca1c)

12 years agor23718: Make Samba4 work against the LDAP backend again.
Andrew Bartlett [Thu, 5 Jul 2007 03:06:59 +0000 (03:06 +0000)]
r23718: Make Samba4 work against the LDAP backend again.

When we set up the schema, we don't have a partitions container yet.
The LDAP error differs from that given by LDB, so I think we still
have some conformance work to do.

Andrew Bartlett
(This used to be commit 5ddbca73d4971a885c105c8d893e53598c5582b4)

12 years agor23717: We need to remove the _ in LDAP_MANAGERPASS for the
Andrew Bartlett [Thu, 5 Jul 2007 02:52:58 +0000 (02:52 +0000)]
r23717: We need to remove the _ in LDAP_MANAGERPASS for the
--ldap-manager-pass= option to work.

Andrew Bartlett
(This used to be commit fbcb1ec14125a4ca57922ec75b01af9a99dcd954)

12 years agor23716: Clarify LDAP Manager DN and fix slapd startup syntax.
Andrew Bartlett [Thu, 5 Jul 2007 01:45:37 +0000 (01:45 +0000)]
r23716: Clarify LDAP Manager DN and fix slapd startup syntax.

Andrew Bartlett
(This used to be commit 17dad5d8c345c2c3a7643bff7a43473339a22d40)

12 years agor23715: Make the provision-backend script print out the exact commands to run,
Andrew Bartlett [Thu, 5 Jul 2007 00:34:11 +0000 (00:34 +0000)]
r23715: Make the provision-backend script print out the exact commands to run,
to set up the LDAP backend.

Andrew Bartlett
(This used to be commit cc7900210a2e473060d5897ec729923ac6b2f18d)

12 years agor23703: Start to get Samba4 to again work with LDAP backends, after I turned
Andrew Bartlett [Wed, 4 Jul 2007 11:06:32 +0000 (11:06 +0000)]
r23703: Start to get Samba4 to again work with LDAP backends, after I turned
on metze's schema work.

Andrew Bartlett
(This used to be commit 3111bbdf64f57bf8d2638fd9829c071dcfeb4af1)

12 years agor23702: fixed a "falling back to select" error in the standard process
Andrew Tridgell [Wed, 4 Jul 2007 07:45:41 +0000 (07:45 +0000)]
r23702: fixed a "falling back to select" error in the standard process
model. It's much cleaner to get the event system to close the fd,
especially with the complexity of forks
(This used to be commit d1b710f09c95a8181d2b642081282d8c97b37811)

12 years agor23701: when we create a new socket with socket_accept(), clear any flags that
Andrew Tridgell [Wed, 4 Jul 2007 07:43:26 +0000 (07:43 +0000)]
r23701: when we create a new socket with socket_accept(), clear any flags that
were set in the old one. Otherwise SOCKET_FLAG_NOCLOSE causes a major
fd leak
(This used to be commit 4e31eda055781a710d285c509d0c51b42e351431)

12 years agor23700: pre-open the sam in the parent smbd. This has the effect of loading
Andrew Tridgell [Wed, 4 Jul 2007 05:16:19 +0000 (05:16 +0000)]
r23700: pre-open the sam in the parent smbd. This has the effect of loading
the schema. That stops us loading the schema for each new connection.

In future I would prefer to share a lot more of our ldb contexts with
children. That will require a larger piece of surgery.
(This used to be commit ff41bdc350cf05c70c63effe30fe69e63181f088)

12 years agor23699: when we create the global schema, remember to set the ldb opaque so we
Andrew Tridgell [Wed, 4 Jul 2007 05:15:06 +0000 (05:15 +0000)]
r23699: when we create the global schema, remember to set the ldb opaque so we
can find it again
(This used to be commit 968e70b2aa478cfd49321e3386b505fd00a81527)

12 years agor23698: fixed notify:backend so it actually works again
Andrew Tridgell [Wed, 4 Jul 2007 04:18:44 +0000 (04:18 +0000)]
r23698: fixed notify:backend so it actually works again
(This used to be commit d49ce1d752fdf6a6e1d6b9da12e7afb7d385ef8c)

12 years agor23697: use the file perm options in the posix backend
Andrew Tridgell [Wed, 4 Jul 2007 04:16:16 +0000 (04:16 +0000)]
r23697: use the file perm options in the posix backend
(This used to be commit 701d06ac016c69fcd9ac92b5afefa2346c9bc26f)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Guenther
(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
SAMBA_3_0.

Guenther
(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"
Jeremy.
(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
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)

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.

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

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

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

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

metze
(This used to be commit d890a2dabf309f15b0b0c87bb3888d0776bd094b)