samba.git
16 years agor25804: move including ndr_compression.h into HeaderInterface()
Stefan Metzmacher [Fri, 2 Nov 2007 12:02:25 +0000 (13:02 +0100)]
r25804: move including ndr_compression.h into HeaderInterface()

metze
(This used to be commit 2aecc1e9fd19d4e176f5475c8ee0b292d68c85f9)

16 years agor25803: Make our security descriptor acl manipulation methods more generic so that we
Günther Deschner [Fri, 2 Nov 2007 11:54:19 +0000 (12:54 +0100)]
r25803: Make our security descriptor acl manipulation methods more generic so that we

can add and delete ACEs for SACLs as well as for DACLs.

Guenther
(This used to be commit 947fff994181f0ae50ac76d09621ddd684873112)

16 years agor25802: fix the build on solaris, void functions doesn't return values
Stefan Metzmacher [Fri, 2 Nov 2007 11:50:24 +0000 (12:50 +0100)]
r25802: fix the build on solaris, void functions doesn't return values

metze
(This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)

16 years agor25801: Add security_ace_create() function.
Günther Deschner [Fri, 2 Nov 2007 10:51:26 +0000 (11:51 +0100)]
r25801: Add security_ace_create() function.

Guenther
(This used to be commit 0306e0183d4db0da331449b411814e7a93b6db2d)

16 years agor25800: Use dump_data_skip_zeros() in ndrdump.
Günther Deschner [Fri, 2 Nov 2007 10:36:06 +0000 (11:36 +0100)]
r25800: Use dump_data_skip_zeros() in ndrdump.

Still obey the --dump-data parameter which enforces the full dump display
(thanks metze).

Guenther
(This used to be commit c44a1d839375196fb832c64d43b7e47ea67c66b2)

16 years agor25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if not at the
Günther Deschner [Fri, 2 Nov 2007 10:33:53 +0000 (11:33 +0100)]
r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if not at the

beginning or the end of a blob). Usefull when inspecting protocols that
exchange huge mostly empty blobs.

Guenther
(This used to be commit c96047d022555678dabe08c0de94f0913bb4d047)

16 years agor25798: - check return value of ndr_push_set_switch_value()
Stefan Metzmacher [Fri, 2 Nov 2007 10:01:18 +0000 (11:01 +0100)]
r25798: - check return value of ndr_push_set_switch_value()

- fix memory leaks in error pathes

metze
(This used to be commit 667e83fd78293942c61d141dfe0d90e662768380)

16 years agor25797: use error and out logic
Stefan Metzmacher [Fri, 2 Nov 2007 09:59:43 +0000 (10:59 +0100)]
r25797: use error and out logic

metze
(This used to be commit d03965d36e18dd524076e48e5a315747a00b807b)

16 years agor25796: use NT_STATUS_HAVE_NO_MEMORY()
Stefan Metzmacher [Fri, 2 Nov 2007 09:49:51 +0000 (10:49 +0100)]
r25796: use NT_STATUS_HAVE_NO_MEMORY()

metze
(This used to be commit 43ef3d9dac5db1865b863c8c4a24c39167e7d2bc)

16 years agor25795: whitespace cleanup...
Stefan Metzmacher [Fri, 2 Nov 2007 09:35:09 +0000 (10:35 +0100)]
r25795: whitespace cleanup...

metze
(This used to be commit cae48a19530909981a852801095a19a662f65cfe)

16 years agor25794: use NDR_CHECK()
Stefan Metzmacher [Fri, 2 Nov 2007 09:32:47 +0000 (10:32 +0100)]
r25794: use NDR_CHECK()

metze
(This used to be commit 614e812bb01ebaa39db10c25cd011bef7f1279b2)

16 years agor25793: check the return value of ndr_push_set_switch_value()
Stefan Metzmacher [Fri, 2 Nov 2007 09:29:19 +0000 (10:29 +0100)]
r25793: check the return value of ndr_push_set_switch_value()

metze
(This used to be commit a85e687e588a7c7e2abb7416631b8815fbae1f58)

16 years agor25792: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()
Stefan Metzmacher [Fri, 2 Nov 2007 09:26:49 +0000 (10:26 +0100)]
r25792: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()

metze
(This used to be commit eebc17b27a6d6467546a1f070d5233f6c1755f47)

16 years agor25791: wrepl_request_finished() sets req->status, so make this explicit
Stefan Metzmacher [Fri, 2 Nov 2007 08:15:12 +0000 (09:15 +0100)]
r25791: wrepl_request_finished() sets req->status, so make this explicit

and avoid req->status = req->status...

metze
(This used to be commit c9ee0f3e967b89033510d30136363a3b78fedb9e)

16 years agor25790: - remove some nesting by using error and out logic
Stefan Metzmacher [Fri, 2 Nov 2007 07:49:23 +0000 (08:49 +0100)]
r25790: - remove some nesting by using error and out logic

- print in the print_* function ...

metze
(This used to be commit dbd7e8bcceeecaa650b164990f9874cf3308974e)

16 years agor25789: print out what error happened...
Stefan Metzmacher [Fri, 2 Nov 2007 07:16:32 +0000 (08:16 +0100)]
r25789: print out what error happened...

metze
(This used to be commit cca080f53040c84753050a1a82b8cd93e33ca693)

16 years agor25788: Use a single routine to handle the creation of modify requests in the
Andrew Bartlett [Fri, 2 Nov 2007 02:39:24 +0000 (03:39 +0100)]
r25788: Use a single routine to handle the creation of modify requests in the

linked_attributs code.

This drasticly reduces the code duplication here.

Andrew Bartlett
(This used to be commit c66e188e6729a8e12854017d62067b4ae4a23af8)

16 years agor25787: Assert that we handle the group membership updating correctly,
Andrew Bartlett [Fri, 2 Nov 2007 01:51:54 +0000 (02:51 +0100)]
r25787: Assert that we handle the group membership updating correctly,

including when we delete members from the DB.

Andrew Bartlett
(This used to be commit 2c95274e257da1d392a8a91bc291debc41c18f30)

16 years agor25786: Add function required by linked_attributes module (We need a list of
Andrew Bartlett [Thu, 1 Nov 2007 21:01:48 +0000 (22:01 +0100)]
r25786: Add function required by linked_attributes module (We need a list of

all linked attributes in the schema, so we can try and find them).

Andrew Bartlett
(This used to be commit 9cc706e06079899e58d4806ec27f86ae019cff60)

16 years agor25785: more small updates to frsrpc
Ronnie Sahlberg [Thu, 1 Nov 2007 19:30:55 +0000 (20:30 +0100)]
r25785: more small updates to frsrpc

tag 18 contains a timestamp
(This used to be commit 5e90881a7c965cd57e44601002f047cb6837c579)

16 years agor25784: fix compiler warning
Stefan Metzmacher [Thu, 1 Nov 2007 12:22:20 +0000 (13:22 +0100)]
r25784: fix compiler warning

metze
(This used to be commit 9345933e1bb96170724db2534df7584fdddf0b49)

16 years agor25783: socket_wrapper: don't include "includes.h"
Stefan Metzmacher [Thu, 1 Nov 2007 12:10:59 +0000 (13:10 +0100)]
r25783: socket_wrapper: don't include "includes.h"

metze
(This used to be commit 47f865165e772540334dcbcf80cfc1999b0132fa)

16 years agor25782: use NT_STATUS_HAVE_NO_MEMORY()
Stefan Metzmacher [Thu, 1 Nov 2007 11:39:12 +0000 (12:39 +0100)]
r25782: use NT_STATUS_HAVE_NO_MEMORY()

metze
(This used to be commit 37da0940f47665c8d2c09b3649fecd93970b5d6f)

16 years agor25781: Handle and test linked attribute renames.
Andrew Bartlett [Thu, 1 Nov 2007 11:34:06 +0000 (12:34 +0100)]
r25781: Handle and test linked attribute renames.

Andrew Bartlett
(This used to be commit 56d9dd5140b6d7d7bbaa2f59ecdff7ee70c4faac)

16 years agor25780: fix bool return
Stefan Metzmacher [Thu, 1 Nov 2007 10:43:00 +0000 (11:43 +0100)]
r25780: fix bool return

metze
(This used to be commit 7b77210d3e2c644d28d6e3795e6c4423dc6ea4bf)

16 years agor25779: the return value of ndr_pull_set_switch_value() should be checked
Stefan Metzmacher [Thu, 1 Nov 2007 09:15:13 +0000 (10:15 +0100)]
r25779: the return value of ndr_pull_set_switch_value() should be checked

metze
(This used to be commit 30a829a3596eacc126704904aedbdc1732011411)

16 years agor25778: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros
Stefan Metzmacher [Thu, 1 Nov 2007 09:13:36 +0000 (10:13 +0100)]
r25778: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros

metze
(This used to be commit 99dc12079762ab5b8ceea989cc8fa48ccf084863)

16 years agor25777: add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly
Stefan Metzmacher [Thu, 1 Nov 2007 08:50:24 +0000 (09:50 +0100)]
r25777: add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly

metze
(This used to be commit 757d547696b1f2903429cfa831c2b0922ab6d2fc)

16 years agor25776: ndr compression: make use of NDR_CHECK() and not use NTSTATUS directly
Stefan Metzmacher [Thu, 1 Nov 2007 08:48:42 +0000 (09:48 +0100)]
r25776: ndr compression: make use of NDR_CHECK() and not use NTSTATUS directly

metze
(This used to be commit 52d83561e510e7e5bc406b699a251713dbd0ea91)

16 years agor25775: use ndr_pull_union_blob_all() in CLDAP code
Stefan Metzmacher [Thu, 1 Nov 2007 07:15:41 +0000 (08:15 +0100)]
r25775: use ndr_pull_union_blob_all() in CLDAP code

metze
(This used to be commit 58e202a39b1a0d9b9c64b9136a894257da539c6e)

16 years agor25774: create ndr_pull_union_blob_all() and match the logic of the struct fns
Stefan Metzmacher [Thu, 1 Nov 2007 07:10:54 +0000 (08:10 +0100)]
r25774: create ndr_pull_union_blob_all() and match the logic of the struct fns

metze
(This used to be commit 987deeff55236e2800f8690a5584ff8f7589114e)

16 years agor25773: update frsrpc.idl and add some more comments
Ronnie Sahlberg [Thu, 1 Nov 2007 07:00:36 +0000 (08:00 +0100)]
r25773: update frsrpc.idl and add some more comments
(This used to be commit ae20e2b30390ea5aa42110e1a3528a30595f0430)

16 years agor25772: rename the tail fields
Ronnie Sahlberg [Thu, 1 Nov 2007 03:00:05 +0000 (04:00 +0100)]
r25772: rename the tail fields
(This used to be commit 992312ab958bc1e033916f4c3f4891dc9231a68b)

16 years agor25771: In traces unknown7 has the same pattern as a UNIQUE pointer referral id
Ronnie Sahlberg [Thu, 1 Nov 2007 02:20:17 +0000 (03:20 +0100)]
r25771: In traces unknown7 has the same pattern as a UNIQUE pointer referral id

would often have.
Make a note that this may be a UNIQUE pointer.
(This used to be commit 2f2e99ea593a749c185ec98d5deb6ef84cb627e2)

16 years agor25770: rename "unknown5" to tlv_size
Ronnie Sahlberg [Thu, 1 Nov 2007 02:17:55 +0000 (03:17 +0100)]
r25770: rename "unknown5" to tlv_size
(This used to be commit d409ef1302ff6f8924b439addca014fbd2854fea)

16 years agor25769: it looks like there are 9 uint32 before the TLV subcontext starts, not 6
Ronnie Sahlberg [Thu, 1 Nov 2007 02:16:28 +0000 (03:16 +0100)]
r25769: it looks like there are 9 uint32 before the TLV subcontext starts, not 6
(This used to be commit a88254ea6c1da358a1c692d785b29ba2354d99f5)

16 years agor25768: pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()
Stefan Metzmacher [Wed, 31 Oct 2007 15:44:42 +0000 (16:44 +0100)]
r25768: pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()

Everything but success should be handled as error in the tests.

metze
(This used to be commit cadb1cc743a19fc16e61f8246b1e8771c806caea)

16 years agor25767: pidl: make it easier to debug errors in pidl tests
Stefan Metzmacher [Wed, 31 Oct 2007 15:29:32 +0000 (16:29 +0100)]
r25767: pidl: make it easier to debug errors in pidl tests

we now print the C program that we tried to compile

metze
(This used to be commit 299e74314c05209bdc9fe2c41cae7094b2f15c11)

16 years agor25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings
Stefan Metzmacher [Wed, 31 Oct 2007 15:27:21 +0000 (16:27 +0100)]
r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings

metze
(This used to be commit 34af31cfb3b69d1028027da1bceb06b41103e7aa)

16 years agor25765: pidl: fix compiler warning in ndr_align test
Stefan Metzmacher [Wed, 31 Oct 2007 15:25:44 +0000 (16:25 +0100)]
r25765: pidl: fix compiler warning in ndr_align test

metze
(This used to be commit 3accc840bee973f56ab34a35e3c181da8cb1023e)

16 years agor25764: Fix total number of tests count to not include skipped tests.
Jelmer Vernooij [Wed, 31 Oct 2007 13:48:48 +0000 (14:48 +0100)]
r25764: Fix total number of tests count to not include skipped tests.
(This used to be commit d90b058cd48d8b08bb0a0cd6e97ad95062f8259e)

16 years agor25763: Handle modifies, in the easy case (add/delete of elements), for the
Andrew Bartlett [Wed, 31 Oct 2007 04:14:31 +0000 (05:14 +0100)]
r25763: Handle modifies, in the easy case (add/delete of elements), for the

linked attributes.

Andrew Bartlett
(This used to be commit c6a6246fbde996ec7e85cb66f060cfe8b90044dd)

16 years agor25762: This test belongs best with the other checks for a valid parent, in
Andrew Bartlett [Wed, 31 Oct 2007 03:41:36 +0000 (04:41 +0100)]
r25762: This test belongs best with the other checks for a valid parent, in

the objectclass module.

Andrew Bartlett
(This used to be commit 16a292fcb134adec110cbc4c8f0fb03323750a45)

16 years agor25761: Rename to be a DN to be a child of itself wasn't being checked for.
Andrew Bartlett [Wed, 31 Oct 2007 02:56:13 +0000 (03:56 +0100)]
r25761: Rename to be a DN to be a child of itself wasn't being checked for.

This prevents CN=test,dc=samba,dc=example,dc=com being renamed into
CN=test2,cn=test,dc=samba,dc=example,dc=com

Andrew Bartlett
(This used to be commit 958a92ed0c6bee19d8b86df7c66330d2bba23e46)

16 years agor25760: Test out relative distinguished name behaviour under renames.
Andrew Bartlett [Wed, 31 Oct 2007 01:50:13 +0000 (02:50 +0100)]
r25760: Test out relative distinguished name behaviour under renames.

Andrew Bartlett
(This used to be commit 0019596b715f888e7b7dbd71de832c6e2941c625)

16 years agor25759: catch up the samba3sam tests with the change from cn=rootdse to @ROOTDSE
Andrew Bartlett [Wed, 31 Oct 2007 00:19:20 +0000 (01:19 +0100)]
r25759: catch up the samba3sam tests with the change from cn=rootdse to @ROOTDSE

Andrew Bartlett
(This used to be commit 84a14973cee94a5f8645515cffb20ee89b5360d1)

16 years agor25756: Add missing file with quick tests.
Jelmer Vernooij [Tue, 30 Oct 2007 23:14:54 +0000 (00:14 +0100)]
r25756: Add missing file with quick tests.
(This used to be commit 83d9b49adfbd2d401a7db39e038b4b7e2d4d0aef)

16 years agor25755: Fix a couple of memory leaks, in particular a new leak onto the NULL
Andrew Bartlett [Tue, 30 Oct 2007 22:35:04 +0000 (23:35 +0100)]
r25755: Fix a couple of memory leaks, in particular a new leak onto the NULL

context caused by my objectclass module work.

Andrew Bartlett
(This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)

16 years agor25754: More work on normal forms for ldb input.
Andrew Bartlett [Tue, 30 Oct 2007 20:03:54 +0000 (21:03 +0100)]
r25754: More work on normal forms for ldb input.

This patch is to ensure that all attributes are in the same case as
the schema specifies.  In the process, I ensure that all attributes
are indeed in the schema.

This ensures we use the schema case, not the user supplied case for
future responses, which assists any (incorrect, but possible) case
sensitive processing on a client.

I've also removed more of the subtle 'schema &&' that metze objected
to in the for loops, moving to a much more explicit 'if (schema)'.

Andrew Bartlett
(This used to be commit bfc96fff063e7cc278755c043b9da0ed4b75a615)

16 years agor25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema restrictions.
Andrew Bartlett [Tue, 30 Oct 2007 20:01:07 +0000 (21:01 +0100)]
r25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema restrictions.

Andrew Bartlett
(This used to be commit f3390c9054244c0e4381007b36bbac9a17800570)

16 years agor25752: use EJS_CHECK() instead of NDR_CHECK()
Stefan Metzmacher [Tue, 30 Oct 2007 07:00:19 +0000 (08:00 +0100)]
r25752: use EJS_CHECK() instead of NDR_CHECK()

metze
(This used to be commit d2726e7609be4916b159c1e0ff4daea5568cf393)

16 years agor25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
Stefan Metzmacher [Tue, 30 Oct 2007 05:24:43 +0000 (06:24 +0100)]
r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code

metze
(This used to be commit 14ca6a8bf90bc73e1fdb0f510be795e28977601e)

16 years agor25750: Update the objectclass module to improve consistency in Samba4.
Andrew Bartlett [Mon, 29 Oct 2007 20:25:26 +0000 (21:25 +0100)]
r25750: Update the objectclass module to improve consistency in Samba4.

The aim here is to ensure that if we have

CN=Users,DC=samba,DC=example,DC=com

that we cannot have a DN of the form

cn=admin ,cn=useRS,DC=samba,DC=example,DC=com

This module pulls apart the DN, fixes up the relative DN part, and
searches for the parent to copy the base from.

I've used the objectclass module, as I intend to also validate the
placement of child objects, by reading the allowedChildClasses virtual
attribute.

In the future, I'll also force the attribute names to be consistant
(using the case from the schema).

Andrew Bartlett
(This used to be commit c0a0c69ac5a81cfcb7c7d5ba38db59f8686c30ab)

16 years agor25749: Add function required by linked_attributes module.
Andrew Bartlett [Mon, 29 Oct 2007 10:11:36 +0000 (11:11 +0100)]
r25749: Add function required by linked_attributes module.

Andrew Bartlett
(This used to be commit cd6409478744b9755c3a048d8d411dbe99f977f0)

16 years agor25748: Don't segfault if we don't have a schema yet.
Andrew Bartlett [Mon, 29 Oct 2007 09:58:29 +0000 (10:58 +0100)]
r25748: Don't segfault if we don't have a schema yet.

Andrew Bartlett
(This used to be commit 388e15a4c1fab55d376be956c2a7168b946bc994)

16 years agor25747: Implement linked attributes, for add operations.
Andrew Bartlett [Mon, 29 Oct 2007 09:54:06 +0000 (10:54 +0100)]
r25747: Implement linked attributes, for add operations.

Much more work is still required here, particularly to handle this
better during the provision, and to handle modifies and deletes, but
this is a start.

Andrew Bartlett
(This used to be commit 2ba99d58e9fe1f8e4b15a58a2fdfce6e876f99b4)

16 years agor25746: [selftest] make plain output more readable
Stefan Metzmacher [Sat, 27 Oct 2007 08:00:44 +0000 (10:00 +0200)]
r25746: [selftest] make plain output more readable

metze
(This used to be commit b9363755ee9f6ca7e04729519991f9ba0163ff2f)

16 years agor25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)
Stefan Metzmacher [Sat, 27 Oct 2007 07:57:09 +0000 (09:57 +0200)]
r25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)

instead NT_STATUS_INVALID_PARAMETER_MIX

metze
(This used to be commit 76b628df53d6cf028fb9f22df003ac87fe3b3c56)

16 years agor25744: add NDR_ERR_INVALID_POINTER
Stefan Metzmacher [Sat, 27 Oct 2007 06:10:14 +0000 (08:10 +0200)]
r25744: add NDR_ERR_INVALID_POINTER

metze
(This used to be commit a75a59370814c02efffbb89e014df75f5a32c04b)

16 years agor25743: Write short summary of failed tests and skipped tests to file.
Jelmer Vernooij [Fri, 26 Oct 2007 21:28:36 +0000 (23:28 +0200)]
r25743: Write short summary of failed tests and skipped tests to file.
(This used to be commit 22cb93e5c00c9bd2a9288ba13336389d45c9987f)

16 years agor25742: Start trimming down hash size for start_testsuite.
Jelmer Vernooij [Fri, 26 Oct 2007 19:25:43 +0000 (21:25 +0200)]
r25742: Start trimming down hash size for start_testsuite.
(This used to be commit f2319fbe9be76966c81f3d4279f6bc2a631a3a5a)

16 years agor25741: Simplify calls to Subunit functions.
Jelmer Vernooij [Fri, 26 Oct 2007 19:15:04 +0000 (21:15 +0200)]
r25741: Simplify calls to Subunit functions.
(This used to be commit e42de5d8346a12c3fcdb8f9af1efa650c368a442)

16 years agor25740: More consistent naming for tests, always include environment name in test...
Jelmer Vernooij [Fri, 26 Oct 2007 15:13:42 +0000 (17:13 +0200)]
r25740: More consistent naming for tests, always include environment name in test name.
(This used to be commit 9cfa44b43857df252336b6f88cfc0f7fcd557533)

16 years agor25739: We forgot to copy revision and type flags in security_descriptor_copy().
Günther Deschner [Fri, 26 Oct 2007 10:56:02 +0000 (12:56 +0200)]
r25739: We forgot to copy revision and type flags in security_descriptor_copy().

Guenther
(This used to be commit 2e028503a36acd12009a4d2f0d217b2d940c9c30)

16 years agor25738: always include config.h first.
Stefan Metzmacher [Fri, 26 Oct 2007 04:32:24 +0000 (06:32 +0200)]
r25738: always include config.h first.

this needs merging to heimdal and lorikeet-heimdal

metze
(This used to be commit c2c2c991c7f568af833f10d8cf0946d90b097fab)

16 years agor25737: Integrate more of the test recipe code into one file, use
Jelmer Vernooij [Thu, 25 Oct 2007 20:20:52 +0000 (22:20 +0200)]
r25737: Integrate more of the test recipe code into one file, use

different mechanism for determining the quicktest list.

Quicktest is a bit verbose now (reports all the tests not run as SKIP:)
(This used to be commit e99e9c167f49c5f8762c7ad16b10ff4aab98091e)

16 years agor25736: make sure we include "config.h" as first header
Stefan Metzmacher [Thu, 25 Oct 2007 18:13:06 +0000 (20:13 +0200)]
r25736: make sure we include "config.h" as first header

in code generated from et_compile

metze
(This used to be commit 8757b09052c5e07b23b8b50f7227f884201d9e98)

16 years agor25735: make sure we include "config.h" as first header in
Stefan Metzmacher [Thu, 25 Oct 2007 18:12:23 +0000 (20:12 +0200)]
r25735: make sure we include "config.h" as first header in

files generated from asn1_compile

metze
(This used to be commit 85f6b42221854618bcc6200d27693827defb13fa)

16 years agor25734: regenerate yacc output (parse.[ch] files)
Stefan Metzmacher [Thu, 25 Oct 2007 17:52:37 +0000 (19:52 +0200)]
r25734: regenerate yacc output (parse.[ch] files)

metze
(This used to be commit cb3aec0d22e87086d8f922b7d8f0a2530842053f)

16 years agor25733: fix filename substitution and bail out if yacc output isn't generated
Stefan Metzmacher [Thu, 25 Oct 2007 17:51:38 +0000 (19:51 +0200)]
r25733: fix filename substitution and bail out if yacc output isn't generated

metze
(This used to be commit 43911e40170176db48ee696c06c92f5fe71f60b8)

16 years agor25732: import updated parse.y files from lorikeet-heimdal
Stefan Metzmacher [Thu, 25 Oct 2007 17:50:34 +0000 (19:50 +0200)]
r25732: import updated parse.y files from lorikeet-heimdal

I wonder why they're not updated as the parse.[ch]
are generated from the new versions already...

metze
(This used to be commit 9735715a0f2c8ea0c6ff5ba5adde6b6a6fb43aed)

16 years agor25731: Document winreg_NotifyChangeKeyValue's notify flags.
Günther Deschner [Thu, 25 Oct 2007 09:26:02 +0000 (11:26 +0200)]
r25731: Document winreg_NotifyChangeKeyValue's notify flags.

Guenther
(This used to be commit 4468b1cc49bd4a92c08aeb76419abfe00791b2c2)

16 years agor25730: Fix IDL for incorrect winreg_SetKeySecurity.
Günther Deschner [Thu, 25 Oct 2007 09:12:02 +0000 (11:12 +0200)]
r25730: Fix IDL for incorrect winreg_SetKeySecurity.

Guenther
(This used to be commit 767867c3ee126c3832750d1b1e7de81005c4eaff)

16 years agor25729: Fix silly regression in the subtree_rename - I broke normal renames.
Andrew Bartlett [Thu, 25 Oct 2007 09:07:30 +0000 (11:07 +0200)]
r25729: Fix silly regression in the subtree_rename - I broke normal renames.

Bug 5041

Andrew Bartlett
(This used to be commit 7e68051bb7a9ac5f1b232c32b7614db61c3c1bc4)

16 years agor25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
Stefan Metzmacher [Thu, 25 Oct 2007 07:16:11 +0000 (09:16 +0200)]
r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c

metze
(This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)

16 years agor25727: include "system/network.h" instead of <sys/socket.h>
Stefan Metzmacher [Thu, 25 Oct 2007 06:48:53 +0000 (08:48 +0200)]
r25727: include "system/network.h" instead of <sys/socket.h>

to make sure socklen_t is typedef'ed

metze
(This used to be commit d1fb51b1d282363e77fe6d9f61f85fec52327f6b)

16 years agor25726: [libreplace] move and fix getaddrinfo configure checks
Stefan Metzmacher [Thu, 25 Oct 2007 06:43:00 +0000 (08:43 +0200)]
r25726: [libreplace] move and fix getaddrinfo configure checks

- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements

metze
(This used to be commit b594d9c9fa86249e3d3988702a2333460cd70436)

16 years agor25725: merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:
Stefan Metzmacher [Thu, 25 Oct 2007 04:56:27 +0000 (06:56 +0200)]
r25725: merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:

Author:     Jeremy Allison <jra@samba.org>
AuthorDate: Wed Oct 24 14:40:24 2007 -0700

We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.

Jeremy.
(This used to be commit 25a892f2ad1b281869779686ca23f2ed29b46a5c)

16 years agor25724: - include getaddrinfo.h after we have defined struct addrinfo
Stefan Metzmacher [Thu, 25 Oct 2007 04:53:38 +0000 (06:53 +0200)]
r25724: - include getaddrinfo.h after we have defined struct addrinfo

- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions

metze
(This used to be commit 57d5cf4b5fe8885b1375059aa143c9c71d2503b4)

16 years agor25723: Add a check to prevent deletion of entries with children. Sadly MMC
Andrew Bartlett [Thu, 25 Oct 2007 03:04:55 +0000 (05:04 +0200)]
r25723: Add a check to prevent deletion of entries with children. Sadly MMC

doesn't trigger it's recursive delete correctly, but the error return
is correct (but perhaps needs a different LDAP wire format).

Andrew Bartlett
(This used to be commit 10ba3ae6990098e772683de9144b13b3f1d45a36)

16 years agor25722: Start merging the various test plan files for Samba 4 into one, so that it'll
Jelmer Vernooij [Wed, 24 Oct 2007 17:16:10 +0000 (19:16 +0200)]
r25722: Start merging the various test plan files for Samba 4 into one, so that it'll

be easier to split selftest/ into a generic, a Samba 3 and a Samba 4-specific
bit.
(This used to be commit 5deb3a6fab6d1b4197b8a019ad5602055b50f9d3)

16 years agor25721: remove unused var
Stefan Metzmacher [Wed, 24 Oct 2007 12:19:47 +0000 (14:19 +0200)]
r25721: remove unused var

metze
(This used to be commit d878351e820957451b1130d0e5724faf7a4c0370)

16 years agor25720: update .gitignore
Stefan Metzmacher [Wed, 24 Oct 2007 11:53:48 +0000 (13:53 +0200)]
r25720: update .gitignore

metze
(This used to be commit b7899faf97d818a0c0457799c33ee8b8a1df7b87)

16 years agor25719: let "system/network.h" do the replacements first, then
Stefan Metzmacher [Wed, 24 Oct 2007 11:50:30 +0000 (13:50 +0200)]
r25719: let "system/network.h" do the replacements first, then

roken.h.in can do the missing heimdal bits.

this removes to redifinition of 'struct addrinfo' on some platforms

metze
(This used to be commit 317b6494452f6162465000fe71e5c40c260f735a)

16 years agor25718: [libreplace] if we replace types define the HAVE_<type> macro
Stefan Metzmacher [Wed, 24 Oct 2007 11:01:03 +0000 (13:01 +0200)]
r25718: [libreplace] if we replace types define the HAVE_<type> macro

this is needed as heimdal's roken.h also tries to replace the types

metze
(This used to be commit 8b92b811015d0855efe3cf4c58cd08e3654f8e88)

16 years agor25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
Stefan Metzmacher [Wed, 24 Oct 2007 10:57:57 +0000 (12:57 +0200)]
r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t

metze
(This used to be commit 12cec014c465a55974aedf44e0e782f5fb841088)

16 years agor25714: [libreplace] move define of a constant to near to the others
Stefan Metzmacher [Wed, 24 Oct 2007 10:55:40 +0000 (12:55 +0200)]
r25714: [libreplace] move define of a constant to near to the others

metze
(This used to be commit 8bd2cf71bee1a08c3d420a330730434edbac5e28)

16 years agor25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
Stefan Metzmacher [Wed, 24 Oct 2007 10:53:34 +0000 (12:53 +0200)]
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t

metze
(This used to be commit a3657a4e7175e35707e7a00330f6924833774253)

16 years agor25712: try to fix the build, perl should handle by_path as comparison function
Stefan Metzmacher [Wed, 24 Oct 2007 07:15:26 +0000 (09:15 +0200)]
r25712: try to fix the build, perl should handle by_path as comparison function

metze
(This used to be commit ee47f5dc7947cad7eed84f071112e41c4a687275)

16 years agor25711: only use sort if available
Stefan Metzmacher [Wed, 24 Oct 2007 06:34:11 +0000 (08:34 +0200)]
r25711: only use sort if available

metze
(This used to be commit 1f5a98cd91f73f8f16d941fe8bb375fec704f0dd)

16 years agor25710: Finally fix subtree renames. Untested code is broken code and in this
Andrew Bartlett [Wed, 24 Oct 2007 02:32:24 +0000 (04:32 +0200)]
r25710: Finally fix subtree renames. Untested code is broken code and in this

case an oddity of the javascript caused the test to 'pass'.

For the same oddity, we have a failure in ldb's handling of spaces in
DNs.  We need to resolve that too.

Andrew Bartlett
(This used to be commit e8cbac1a46f4d3b083e6bb5a509ef1ba47bebff1)

16 years agor25707: Move selftest makefile code to separate file.
Jelmer Vernooij [Sun, 21 Oct 2007 23:05:31 +0000 (01:05 +0200)]
r25707: Move selftest makefile code to separate file.
(This used to be commit 9714db7814fd43d2a10485c041bbb761360c0826)

16 years agor25706: Merge padding fix from Samba3.
Günther Deschner [Fri, 19 Oct 2007 12:28:26 +0000 (14:28 +0200)]
r25706: Merge padding fix from Samba3.

Guenther
(This used to be commit d33667f914d8f292f008c1e6288868bcd3392da8)

16 years agor25705: Ensure we return the out value to the caller.
Andrew Bartlett [Fri, 19 Oct 2007 04:57:19 +0000 (06:57 +0200)]
r25705: Ensure we return the out value to the caller.

Andrew Bartlett
(This used to be commit 3434262ad74c366ac58319c70880ca50898fa78c)

16 years agor25704: Handle the chicken-and-egg problem of setting up the LDB before we get
Andrew Bartlett [Fri, 19 Oct 2007 04:47:54 +0000 (06:47 +0200)]
r25704: Handle the chicken-and-egg problem of setting up the LDB before we get

a schema.  perhaps i need to look into metze's 'load a schema from
ldif' code.

Andrew Bartlett
(This used to be commit f350ef5f19ec755c93c6c09210cdf276d1b66877)

16 years agor25703: Use less entropy by using the pointer value as a process-unique token.
Andrew Bartlett [Fri, 19 Oct 2007 03:41:32 +0000 (05:41 +0200)]
r25703: Use less entropy by using the pointer value as a process-unique token.

Andrew Bartlett
(This used to be commit 3480dc71a9f969909b984855d546a1974593368f)

16 years agor25702: Clarify comments and make this module more strict on objectclasses.
Andrew Bartlett [Fri, 19 Oct 2007 03:40:00 +0000 (05:40 +0200)]
r25702: Clarify comments and make this module more strict on objectclasses.

This is becoming the schema module...

Andrew Bartlett
(This used to be commit ecea817a3e793f8ac0187dd83a29e62a7d645868)

16 years agor25701: Clarify comment
Andrew Bartlett [Fri, 19 Oct 2007 03:39:08 +0000 (05:39 +0200)]
r25701: Clarify comment
(This used to be commit cea496d2163db6dde371526dd5a79d4c090839ef)

16 years agor25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy Allison [Thu, 18 Oct 2007 22:40:51 +0000 (00:40 +0200)]
r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.

Jeremy.
(This used to be commit ad0b9792f2dc91208a199060585c83ed7f622451)

16 years agor25699: Add ForceReplication test.
Günther Deschner [Thu, 18 Oct 2007 19:23:25 +0000 (21:23 +0200)]
r25699: Add ForceReplication test.

Guenther
(This used to be commit 0bab602b8e38ca758d3795db3d33a92eb162bb92)