samba.git
16 years agor25856: If the search fails, it is not valid to steal 'res'.
Andrew Bartlett [Tue, 6 Nov 2007 02:46:57 +0000 (03:46 +0100)]
r25856: If the search fails, it is not valid to steal 'res'.

Andrew Bartlett
(This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)

16 years agor25855: Check for HPUX dl functions.
Jelmer Vernooij [Tue, 6 Nov 2007 02:43:50 +0000 (03:43 +0100)]
r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)

16 years agor25854: Link against -ldl properly.
Jelmer Vernooij [Tue, 6 Nov 2007 02:19:07 +0000 (03:19 +0100)]
r25854: Link against -ldl properly.
(This used to be commit 6c46a925288e6be0a0e5f86e5a57ce269dc7a3df)

16 years agor25853: Specify LIBS to sample_module - fixes build for gcov hosts.
Jelmer Vernooij [Tue, 6 Nov 2007 01:44:06 +0000 (02:44 +0100)]
r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
(This used to be commit db9ebea52bf739cc297e94178a3a03548fd5ddfb)

16 years agor25852: Move SHLIBEXT determination into a test as well.
Jelmer Vernooij [Tue, 6 Nov 2007 01:35:46 +0000 (02:35 +0100)]
r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

metze
(This used to be commit 74f5a69022db89314762b4023dd8348cf93004d7)

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

metze
(This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)

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

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

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

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

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

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

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

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

metze
(This used to be commit c81aa2ba36904281692b84bcd37300e38760da34)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)