jelmer/samba4-debian.git
16 years agor25851: Move system-specific ldflags checks to libreplace so they can be used by...
Jelmer Vernooij [Tue, 6 Nov 2007 01:17:05 +0000 (02:17 +0100)]
r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.

16 years agor25850: Add macro for picflag.
Jelmer Vernooij [Tue, 6 Nov 2007 01:16:55 +0000 (02:16 +0100)]
r25850: Add macro for picflag.

16 years agor25849: Add test for dfs FlushFtTable.
Günther Deschner [Tue, 6 Nov 2007 00:39:47 +0000 (01:39 +0100)]
r25849: Add test for dfs FlushFtTable.

Guenther

16 years agor25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
Günther Deschner [Tue, 6 Nov 2007 00:24:07 +0000 (01:24 +0100)]
r25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.

Guenther

16 years agor25847: Don't link modules against their subsystem.
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:26 +0000 (01:05 +0100)]
r25847: Don't link modules against their subsystem.

16 years agor25846: Add configure test for -Wl,--export-dynamic.
Jelmer Vernooij [Tue, 6 Nov 2007 00:05:19 +0000 (01:05 +0100)]
r25846: Add configure test for -Wl,--export-dynamic.

16 years agor25845: Reformat the dfs test.
Günther Deschner [Mon, 5 Nov 2007 23:49:54 +0000 (00:49 +0100)]
r25845: Reformat the dfs test.

Guenther

16 years agor25844: Enable soloading by default.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:44 +0000 (21:57 +0100)]
r25844: Enable soloading by default.

16 years agor25843: Finish check-soloading.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:39 +0000 (21:57 +0100)]
r25843: Finish check-soloading.

16 years agor25842: Start working on test for loading dso's in ldb.
Jelmer Vernooij [Mon, 5 Nov 2007 20:57:33 +0000 (21:57 +0100)]
r25842: Start working on test for loading dso's in ldb.

16 years agor25841: try to fix make install
Stefan Metzmacher [Mon, 5 Nov 2007 15:16:41 +0000 (16:16 +0100)]
r25841: try to fix make install

metze

16 years agor25840: make test: activate nss_wrapper for make test
Stefan Metzmacher [Mon, 5 Nov 2007 14:49:40 +0000 (15:49 +0100)]
r25840: make test: activate nss_wrapper for make test

metze

16 years agor25839: use nss_wrapper code in samba4 if
Stefan Metzmacher [Mon, 5 Nov 2007 14:47:34 +0000 (15:47 +0100)]
r25839: use nss_wrapper code in samba4 if

--enable-nss-wrapper or --enable-developer is given

metze

16 years agor25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
Stefan Metzmacher [Mon, 5 Nov 2007 14:45:08 +0000 (15:45 +0100)]
r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined

metze

16 years agor25837: nss_wrapper: add nss_wrapper.pl
Stefan Metzmacher [Mon, 5 Nov 2007 14:42:38 +0000 (15:42 +0100)]
r25837: nss_wrapper: add nss_wrapper.pl

This script will be used to add|delete passwd|group entries

metze

16 years agor25836: nss_wrapper: add support for groups and return EPERM in initgroups()
Stefan Metzmacher [Mon, 5 Nov 2007 14:41:23 +0000 (15:41 +0100)]
r25836: nss_wrapper: add support for groups and return EPERM in initgroups()

The NSS_WRAPPER_GROUP envvar should point to
the /etc/group style file.

Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both
      need non-empty values to enable NSS Wrapper
      support.

metze

16 years agor25835: nss_wrapper: add support for passwd accounts
Stefan Metzmacher [Mon, 5 Nov 2007 14:39:46 +0000 (15:39 +0100)]
r25835: nss_wrapper: add support for passwd accounts

The NSS_WRAPPER_PASSWD envvar should point to
the /etc/passwd style file.

metze

16 years agor25834: nss_wrapper: add lib/nss_wrapper skeleton
Stefan Metzmacher [Mon, 5 Nov 2007 14:38:36 +0000 (15:38 +0100)]
r25834: nss_wrapper: add lib/nss_wrapper skeleton

metze

16 years agor25833: - we don't need --root twice
Stefan Metzmacher [Mon, 5 Nov 2007 14:12:54 +0000 (15:12 +0100)]
r25833: - we don't need --root twice

- use $unix_name to make more clear what this variable means

metze

16 years agor25831: remove unused include
Stefan Metzmacher [Mon, 5 Nov 2007 10:08:35 +0000 (11:08 +0100)]
r25831: remove unused include

metze

16 years agor25830: fix compiler warning
Stefan Metzmacher [Mon, 5 Nov 2007 09:10:17 +0000 (10:10 +0100)]
r25830: fix compiler warning

metze

16 years agor25829: - use DEBUG() instead of printf
Stefan Metzmacher [Mon, 5 Nov 2007 06:09:41 +0000 (07:09 +0100)]
r25829: - use DEBUG() instead of printf

- return an error if strings doesn't match on validate

metze

16 years agor25828: don't ignore errors
Stefan Metzmacher [Mon, 5 Nov 2007 05:58:57 +0000 (06:58 +0100)]
r25828: don't ignore errors

metze

16 years agor25827: Start of samba3-regconfig test
Volker Lendecke [Mon, 5 Nov 2007 01:33:30 +0000 (02:33 +0100)]
r25827: Start of samba3-regconfig test

16 years agor25826: Prove that adding a user or computer via LDAP doesn't magicly give
Andrew Bartlett [Mon, 5 Nov 2007 01:29:17 +0000 (02:29 +0100)]
r25826: Prove that adding a user or computer via LDAP doesn't magicly give

them any more group memberships.

Andrew Bartlett

16 years agor25825: Don't print the user's password hash at level 0.
Andrew Bartlett [Mon, 5 Nov 2007 01:26:42 +0000 (02:26 +0100)]
r25825: Don't print the user's password hash at level 0.

Andrew Bartlett

16 years agor25824: - NT_STATUS_IS_ERR() is not the same as !NT_STATUS_IS_OK()
Stefan Metzmacher [Sun, 4 Nov 2007 15:16:18 +0000 (16:16 +0100)]
r25824: - NT_STATUS_IS_ERR() is not the same as !NT_STATUS_IS_OK()

- make the success case some clear by returning NT_STATUS_OK

metze

16 years agor25823: remove unneeded nesting by using error and out logic
Stefan Metzmacher [Sat, 3 Nov 2007 10:21:04 +0000 (11:21 +0100)]
r25823: remove unneeded nesting by using error and out logic

metze

16 years agor25822: use NDR_CHECK()
Stefan Metzmacher [Sat, 3 Nov 2007 09:45:59 +0000 (10:45 +0100)]
r25822: use NDR_CHECK()

metze

16 years agor25821: always use ndr_push/pull_error() to report errors and not NTSTATUS directly
Stefan Metzmacher [Sat, 3 Nov 2007 09:20:45 +0000 (10:20 +0100)]
r25821: always use ndr_push/pull_error() to report errors and not NTSTATUS directly

metze

16 years agor25820: but still return the error...
Stefan Metzmacher [Sat, 3 Nov 2007 08:42:18 +0000 (09:42 +0100)]
r25820: but still return the error...

(sorry, this should have been one commit)

metze

16 years agor25819: make the success case more clear
Stefan Metzmacher [Sat, 3 Nov 2007 08:40:32 +0000 (09:40 +0100)]
r25819: make the success case more clear

metze

16 years agor25818: remove useless '\' chars at the end of lines
Stefan Metzmacher [Sat, 3 Nov 2007 07:31:10 +0000 (08:31 +0100)]
r25818: remove useless '\' chars at the end of lines

(they were copied from the macros by mistake)

metze

16 years agor25817: Add very basic FRSAPI InfoW test. Again, this is surely not correct but at...
Günther Deschner [Fri, 2 Nov 2007 14:43:09 +0000 (15:43 +0100)]
r25817: Add very basic FRSAPI InfoW test. Again, this is surely not correct but at least

displays a lot of very useful information.

Guenther

16 years agor25816: Add idl for frsapi_InfoW. Surely not correct, but a start.
Günther Deschner [Fri, 2 Nov 2007 14:41:55 +0000 (15:41 +0100)]
r25816: Add idl for frsapi_InfoW. Surely not correct, but a start.

Guenther

16 years agor25815: Small DFS idl fixes.
Günther Deschner [Fri, 2 Nov 2007 14:11:54 +0000 (15:11 +0100)]
r25815: Small DFS idl fixes.

Guenther

16 years agor25814: Add my (C).
Günther Deschner [Fri, 2 Nov 2007 14:09:58 +0000 (15:09 +0100)]
r25814: Add my (C).

Guenther

16 years agor25813: Add unfinished SecurityDescriptorsMasks test for winreg.
Günther Deschner [Fri, 2 Nov 2007 14:06:58 +0000 (15:06 +0100)]
r25813: Add unfinished SecurityDescriptorsMasks test for winreg.

Guenther

16 years agor25812: Add test for valid and invalid security descriptor and security information...
Günther Deschner [Fri, 2 Nov 2007 13:51:49 +0000 (14:51 +0100)]
r25812: Add test for valid and invalid security descriptor and security information flag

combinations.

Guenther

16 years agor25811: Add some security descriptor helper functions.
Günther Deschner [Fri, 2 Nov 2007 13:50:27 +0000 (14:50 +0100)]
r25811: Add some security descriptor helper functions.

Guenther

16 years agor25810: Add test for blocking security descriptor inheritance in winreg.
Günther Deschner [Fri, 2 Nov 2007 13:43:11 +0000 (14:43 +0100)]
r25810: Add test for blocking security descriptor inheritance in winreg.

Guenther

16 years agor25809: Add basic security descriptor inheritance test for winreg.
Günther Deschner [Fri, 2 Nov 2007 13:37:07 +0000 (14:37 +0100)]
r25809: Add basic security descriptor inheritance test for winreg.

Guenther

16 years agor25808: Move basic security descriptor test to a test_SecurityDescriptors() call.
Günther Deschner [Fri, 2 Nov 2007 13:27:58 +0000 (14:27 +0100)]
r25808: Move basic security descriptor test to a test_SecurityDescriptors() call.

Guenther

16 years agor25807: Close handle during winreg test.
Günther Deschner [Fri, 2 Nov 2007 13:18:07 +0000 (14:18 +0100)]
r25807: Close handle during winreg test.

Guenther

16 years agor25806: let libndr.h include needed stuff and remove pidl magic
Stefan Metzmacher [Fri, 2 Nov 2007 12:48:11 +0000 (13:48 +0100)]
r25806: let libndr.h include needed stuff and remove pidl magic

for choosing common required headers

metze

16 years agor25805: pidl: include libndr.h as first header in ndr_foo.h
Stefan Metzmacher [Fri, 2 Nov 2007 12:05:43 +0000 (13:05 +0100)]
r25805: pidl: include libndr.h as first header in ndr_foo.h

metze

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

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

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

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

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

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

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

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

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

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

metze

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

metze

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

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

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

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

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

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

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

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

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

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

metze

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

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

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

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

metze

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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.

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

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

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

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

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

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.

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

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

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

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

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

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

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