samba.git
16 years agor23853: Fix a very misleading error message in tdbbackup.
Michael Adam [Thu, 12 Jul 2007 13:41:34 +0000 (13:41 +0000)]
r23853: Fix a very misleading error message in tdbbackup.

Michael
(This used to be commit 1685057927e0ae37ed6be780ee0fb4b3bbefc00f)

16 years agor23852: Merge Samba 3.2's wbinfo into Samba4, so Kai can use it for testing.
Andrew Bartlett [Thu, 12 Jul 2007 10:16:59 +0000 (10:16 +0000)]
r23852: Merge Samba 3.2's wbinfo into Samba4, so Kai can use it for testing.

Andrew Bartlett
(This used to be commit 0fc9b015d734463416e7acb1981eb65216d200fc)

16 years agor23851: export _ABS versions of PREFIX and SRCDIR
Stefan Metzmacher [Thu, 12 Jul 2007 09:52:32 +0000 (09:52 +0000)]
r23851: export _ABS versions of PREFIX and SRCDIR

metze
(This used to be commit 759b5d94b378429a35c9901b870a89c99dad14f2)

16 years agor23849: ldap_server: Provide more info in debug traces
Andrew Bartlett [Thu, 12 Jul 2007 06:15:47 +0000 (06:15 +0000)]
r23849: ldap_server:  Provide more info in debug traces

blackbox tests:  increase test coverage by running more options.

Andrew Bartlett
(This used to be commit 46abf82675ea0ce06a162be5d733da0c236880c2)

16 years agor23848: Thanks to derrell for pointing out that I had not finished my patch to
Andrew Bartlett [Thu, 12 Jul 2007 04:56:33 +0000 (04:56 +0000)]
r23848: Thanks to derrell for pointing out that I had not finished my patch to
split out the auth methods.

This caused all SWAT logins to fail, except when using local system
authentication.

Andrew Bartlett
(This used to be commit b5a9d507a37cd46bd325ff3118c08b4362f267f2)

16 years agor23821: Extend the winreg test by a test for DeleteKey on a
Michael Adam [Tue, 10 Jul 2007 21:35:20 +0000 (21:35 +0000)]
r23821: Extend the winreg test by a test for DeleteKey on a
key that has subkeys. This should return WERR_ACCESS_DENIED.

Michael
(This used to be commit 9b8789a4b5f444e643ed7ee3ff55dc0c41986d07)

16 years agor23816: A little more static, but leave the dead code testjoin.c as documentation.
Andrew Bartlett [Tue, 10 Jul 2007 13:41:00 +0000 (13:41 +0000)]
r23816: A little more static, but leave the dead code testjoin.c as documentation.

Andrew Bartlett
(This used to be commit 6679003c0553804333f0090a91e1fe53837ceb47)

16 years agor23815: Thanks to Matthias Wallnoefer <mwallnoefer@yahoo.de> for pointing out
Andrew Bartlett [Tue, 10 Jul 2007 13:26:10 +0000 (13:26 +0000)]
r23815: Thanks to Matthias Wallnoefer <mwallnoefer@yahoo.de> for pointing out
that we had the wrong objectClass for OU=Domain
Controllers,${DOMAINDN} (was CN=Domain Controllers,${DOMAINDN})

This fixes both the SAMR server and the LDIF templates.

Andrew Bartlett
(This used to be commit 625a9e6c041bedc93925bdebb3a60af1dbdde317)

16 years agor23812: Remove more code found as dead by the find_static script, and make
Andrew Bartlett [Tue, 10 Jul 2007 11:56:01 +0000 (11:56 +0000)]
r23812: Remove more code found as dead by the find_static script, and make
other functions just static.

Andrew Bartlett
(This used to be commit 64fcec1da613dc8f16f0fba02fb3de0ec840671f)

16 years agor23811: Try to ensure struct nbt_name is always pre-declared. Might fix the
Andrew Bartlett [Tue, 10 Jul 2007 11:54:49 +0000 (11:54 +0000)]
r23811: Try to ensure struct nbt_name is always pre-declared.  Might fix the
build on aico.

Andrew Bartlett
(This used to be commit 5609bd9d219f517c25dbc6e6d265eed3ed517883)

16 years agor23810: Make things static, and remove unsued code.
Andrew Bartlett [Tue, 10 Jul 2007 11:37:30 +0000 (11:37 +0000)]
r23810: Make things static, and remove unsued code.

This includes some of the original ildap ldap client API.  ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.

Andrew Bartlett
(This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)

16 years agor23809: Don't give users the fantasy that we can control choice of GENSEC
Andrew Bartlett [Tue, 10 Jul 2007 10:50:44 +0000 (10:50 +0000)]
r23809: Don't give users the fantasy that we can control choice of GENSEC
security mechanisms at the moment.  I'll put this back when I
implement the functionality.

Andrew Bartlett
(This used to be commit 9a38ddc86fe8c68520622678eae81e4e90f427cf)

16 years agor23807: added hex_encode_talloc()
Andrew Tridgell [Tue, 10 Jul 2007 08:07:42 +0000 (08:07 +0000)]
r23807: added hex_encode_talloc()
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)

16 years agor23806: update Samba4 with the latest ctdb code.
Andrew Tridgell [Tue, 10 Jul 2007 08:06:51 +0000 (08:06 +0000)]
r23806: update Samba4 with the latest ctdb code.

This doesn't get the ctdb code fully working in Samba4, it just gets
it building and not breaking non-clustered use of Samba. It will take
a bit longer to update some of the calling ctdb_cluster.c code to make
it work correctly in Samba4.

Note also that Samba4 now only links to the client portion of
ctdb. For the moment I am leaving the ctdbd as a separate daemon,
which you install separately from http://ctdb.samba.org/.
(This used to be commit b196077cbb55cbecad87065133c2d67198e31066)

16 years agor23805: this directory is not used any more
Andrew Tridgell [Tue, 10 Jul 2007 08:06:42 +0000 (08:06 +0000)]
r23805: this directory is not used any more
(This used to be commit 3121f914938e896f9e6c547c108a216b4b026c69)

16 years agor23802: fixed URL in XML
Andrew Tridgell [Tue, 10 Jul 2007 05:42:52 +0000 (05:42 +0000)]
r23802: fixed URL in XML
(This used to be commit c0111223e2201b2c62e25a4c88e1ee445fde5ab6)

16 years agor23801: The FSF has moved around a lot. This fixes their Mass Ave address.
Andrew Tridgell [Tue, 10 Jul 2007 05:23:25 +0000 (05:23 +0000)]
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)

16 years agor23800: LGPL is now called GNU Lesser General Public License
Andrew Tridgell [Tue, 10 Jul 2007 04:04:46 +0000 (04:04 +0000)]
r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
(This used to be commit 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)

16 years agor23799: updated old Franklin Street FSF addresses to new URL
Andrew Tridgell [Tue, 10 Jul 2007 03:52:17 +0000 (03:52 +0000)]
r23799: updated old Franklin Street FSF addresses to new URL
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)

16 years agor23798: updated old Temple Place FSF addresses to new URL
Andrew Tridgell [Tue, 10 Jul 2007 03:42:26 +0000 (03:42 +0000)]
r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)

16 years agor23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
Andrew Tridgell [Tue, 10 Jul 2007 03:17:46 +0000 (03:17 +0000)]
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
(This used to be commit 9f77c40a8ee137339877bb622332a901fec46e6d)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)