1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

13893 Commits

Author SHA1 Message Date
Stefan Metzmacher
2eb71ba516 r25775: use ndr_pull_union_blob_all() in CLDAP code
metze
(This used to be commit 58e202a39b1a0d9b9c64b9136a894257da539c6e)
2007-12-21 05:43:54 +01:00
Stefan Metzmacher
4881d6b7e5 r25774: create ndr_pull_union_blob_all() and match the logic of the struct fns
metze
(This used to be commit 987deeff55236e2800f8690a5584ff8f7589114e)
2007-12-21 05:43:53 +01:00
Ronnie Sahlberg
b5dc54883b r25773: update frsrpc.idl and add some more comments
(This used to be commit ae20e2b30390ea5aa42110e1a3528a30595f0430)
2007-12-21 05:43:53 +01:00
Ronnie Sahlberg
cff24a34f4 r25772: rename the tail fields
(This used to be commit 992312ab958bc1e033916f4c3f4891dc9231a68b)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
a16cb040dd 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)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
9b46852326 r25770: rename "unknown5" to tlv_size
(This used to be commit d409ef1302ff6f8924b439addca014fbd2854fea)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
2fccda3771 r25769: it looks like there are 9 uint32 before the TLV subcontext starts, not 6
(This used to be commit a88254ea6c1da358a1c692d785b29ba2354d99f5)
2007-12-21 05:43:51 +01:00
Stefan Metzmacher
1f87eb38fd 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)
2007-12-21 05:43:51 +01:00
Stefan Metzmacher
7dee06709e 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)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
0bf387e0f9 r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings
metze
(This used to be commit 34af31cfb3b69d1028027da1bceb06b41103e7aa)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
616a64dd39 r25765: pidl: fix compiler warning in ndr_align test
metze
(This used to be commit 3accc840bee973f56ab34a35e3c181da8cb1023e)
2007-12-21 05:43:49 +01:00
Jelmer Vernooij
7267b35058 r25764: Fix total number of tests count to not include skipped tests.
(This used to be commit d90b058cd48d8b08bb0a0cd6e97ad95062f8259e)
2007-12-21 05:43:49 +01:00
Andrew Bartlett
3c5a71f7e5 r25763: Handle modifies, in the easy case (add/delete of elements), for the
linked attributes.

Andrew Bartlett
(This used to be commit c6a6246fbde996ec7e85cb66f060cfe8b90044dd)
2007-12-21 05:43:48 +01:00
Andrew Bartlett
a4c79f06ae 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)
2007-12-21 05:43:47 +01:00
Andrew Bartlett
464dd2ada1 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)
2007-12-21 05:43:47 +01:00
Andrew Bartlett
dbb3c74464 r25760: Test out relative distinguished name behaviour under renames.
Andrew Bartlett
(This used to be commit 0019596b715f888e7b7dbd71de832c6e2941c625)
2007-12-21 05:43:47 +01:00
Andrew Bartlett
56fb8d3c00 r25759: catch up the samba3sam tests with the change from cn=rootdse to @ROOTDSE
Andrew Bartlett
(This used to be commit 84a14973cee94a5f8645515cffb20ee89b5360d1)
2007-12-21 05:43:46 +01:00
Jelmer Vernooij
0a520253f1 r25756: Add missing file with quick tests.
(This used to be commit 83d9b49adfbd2d401a7db39e038b4b7e2d4d0aef)
2007-12-21 05:43:46 +01:00
Andrew Bartlett
2de30ecd94 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)
2007-12-21 05:43:46 +01:00
Andrew Bartlett
46210e11f1 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)
2007-12-21 05:43:45 +01:00
Andrew Bartlett
47f6988c6d r25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema restrictions.
Andrew Bartlett
(This used to be commit f3390c9054244c0e4381007b36bbac9a17800570)
2007-12-21 05:43:45 +01:00
Stefan Metzmacher
d7b8a4ab24 r25752: use EJS_CHECK() instead of NDR_CHECK()
metze
(This used to be commit d2726e7609be4916b159c1e0ff4daea5568cf393)
2007-12-21 05:43:44 +01:00
Stefan Metzmacher
0fc96c416e r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
(This used to be commit 14ca6a8bf90bc73e1fdb0f510be795e28977601e)
2007-12-21 05:43:43 +01:00
Andrew Bartlett
16d0395047 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)
2007-12-21 05:43:43 +01:00
Andrew Bartlett
bb96624d68 r25749: Add function required by linked_attributes module.
Andrew Bartlett
(This used to be commit cd6409478744b9755c3a048d8d411dbe99f977f0)
2007-12-21 05:43:42 +01:00
Andrew Bartlett
fa5c16944e r25748: Don't segfault if we don't have a schema yet.
Andrew Bartlett
(This used to be commit 388e15a4c1fab55d376be956c2a7168b946bc994)
2007-12-21 05:43:41 +01:00
Andrew Bartlett
7c721a1f49 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)
2007-12-21 05:43:41 +01:00
Stefan Metzmacher
09ec68badd r25746: [selftest] make plain output more readable
metze
(This used to be commit b9363755ee9f6ca7e04729519991f9ba0163ff2f)
2007-12-21 05:43:41 +01:00
Stefan Metzmacher
e63df41e74 r25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)
instead NT_STATUS_INVALID_PARAMETER_MIX

metze
(This used to be commit 76b628df53d6cf028fb9f22df003ac87fe3b3c56)
2007-12-21 05:43:40 +01:00
Stefan Metzmacher
7d72ade608 r25744: add NDR_ERR_INVALID_POINTER
metze
(This used to be commit a75a59370814c02efffbb89e014df75f5a32c04b)
2007-12-21 05:43:40 +01:00
Jelmer Vernooij
a7eedba7c4 r25743: Write short summary of failed tests and skipped tests to file.
(This used to be commit 22cb93e5c00c9bd2a9288ba13336389d45c9987f)
2007-12-21 05:43:39 +01:00
Jelmer Vernooij
9d4addadc0 r25742: Start trimming down hash size for start_testsuite.
(This used to be commit f2319fbe9be76966c81f3d4279f6bc2a631a3a5a)
2007-12-21 05:43:39 +01:00
Jelmer Vernooij
e690c56ab7 r25741: Simplify calls to Subunit functions.
(This used to be commit e42de5d8346a12c3fcdb8f9af1efa650c368a442)
2007-12-21 05:43:38 +01:00
Jelmer Vernooij
90964021eb r25740: More consistent naming for tests, always include environment name in test name.
(This used to be commit 9cfa44b43857df252336b6f88cfc0f7fcd557533)
2007-12-21 05:43:37 +01:00
Günther Deschner
e53e4a15fd r25739: We forgot to copy revision and type flags in security_descriptor_copy().
Guenther
(This used to be commit 2e028503a36acd12009a4d2f0d217b2d940c9c30)
2007-12-21 05:43:37 +01:00
Stefan Metzmacher
9fe133ffc6 r25738: always include config.h first.
this needs merging to heimdal and lorikeet-heimdal

metze
(This used to be commit c2c2c991c7f568af833f10d8cf0946d90b097fab)
2007-12-21 05:43:36 +01:00
Jelmer Vernooij
dc8ece0e26 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)
2007-12-21 05:43:36 +01:00
Stefan Metzmacher
3f073b4c6b r25736: make sure we include "config.h" as first header
in code generated from et_compile

metze
(This used to be commit 8757b09052c5e07b23b8b50f7227f884201d9e98)
2007-12-21 05:43:35 +01:00
Stefan Metzmacher
b54fd3bac1 r25735: make sure we include "config.h" as first header in
files generated from asn1_compile

metze
(This used to be commit 85f6b42221854618bcc6200d27693827defb13fa)
2007-12-21 05:43:34 +01:00
Stefan Metzmacher
5d482b634d r25734: regenerate yacc output (parse.[ch] files)
metze
(This used to be commit cb3aec0d22e87086d8f922b7d8f0a2530842053f)
2007-12-21 05:43:34 +01:00
Stefan Metzmacher
13d7fbb51a r25733: fix filename substitution and bail out if yacc output isn't generated
metze
(This used to be commit 43911e40170176db48ee696c06c92f5fe71f60b8)
2007-12-21 05:43:33 +01:00
Stefan Metzmacher
12215fadf8 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)
2007-12-21 05:43:32 +01:00
Günther Deschner
cfd09eed40 r25731: Document winreg_NotifyChangeKeyValue's notify flags.
Guenther
(This used to be commit 4468b1cc49bd4a92c08aeb76419abfe00791b2c2)
2007-12-21 05:43:32 +01:00
Günther Deschner
ade07a34d9 r25730: Fix IDL for incorrect winreg_SetKeySecurity.
Guenther
(This used to be commit 767867c3ee126c3832750d1b1e7de81005c4eaff)
2007-12-21 05:43:31 +01:00
Andrew Bartlett
33201d1df2 r25729: Fix silly regression in the subtree_rename - I broke normal renames.
Bug 5041

Andrew Bartlett
(This used to be commit 7e68051bb7a9ac5f1b232c32b7614db61c3c1bc4)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
74a2b05793 r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
(This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
974890ebdf 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)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
805eb06209 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)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a 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)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
88f6c5a1d2 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)
2007-12-21 05:43:29 +01:00