1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

13346 Commits

Author SHA1 Message Date
Stefan Metzmacher
0fc96c416e r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
(This used to be commit 14ca6a8bf9)
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 c0a0c69ac5)
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 cd64094787)
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 388e15a4c1)
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 2ba99d58e9)
2007-12-21 05:43:41 +01:00
Stefan Metzmacher
09ec68badd r25746: [selftest] make plain output more readable
metze
(This used to be commit b9363755ee)
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 76b628df53)
2007-12-21 05:43:40 +01:00
Stefan Metzmacher
7d72ade608 r25744: add NDR_ERR_INVALID_POINTER
metze
(This used to be commit a75a593708)
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 22cb93e5c0)
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 f2319fbe9b)
2007-12-21 05:43:39 +01:00
Jelmer Vernooij
e690c56ab7 r25741: Simplify calls to Subunit functions.
(This used to be commit e42de5d834)
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 9cfa44b438)
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 2e028503a3)
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 c2c2c991c7)
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 e99e9c167f)
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 8757b09052)
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 85f6b42221)
2007-12-21 05:43:34 +01:00
Stefan Metzmacher
5d482b634d r25734: regenerate yacc output (parse.[ch] files)
metze
(This used to be commit cb3aec0d22)
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 43911e4017)
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 9735715a0f)
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 4468b1cc49)
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 767867c3ee)
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 7e68051bb7)
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 5648c8a0de)
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 d1fb51b1d2)
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 b594d9c9fa)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a r25725: merge commit bc9008aa1d 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 25a892f2ad)
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 57d5cf4b5f)
2007-12-21 05:43:29 +01:00
Andrew Bartlett
1f680ef45d 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 10ba3ae699)
2007-12-21 05:43:29 +01:00
Jelmer Vernooij
b28810ab94 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 5deb3a6fab)
2007-12-21 05:43:28 +01:00
Stefan Metzmacher
f3dbce01ef r25721: remove unused var
metze
(This used to be commit d878351e82)
2007-12-21 05:43:27 +01:00
Stefan Metzmacher
3e1fbf76ba 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 317b649445)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
31569f1c88 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 8b92b81101)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
582496f5d0 r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
(This used to be commit 12cec014c4)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
c01f61340b r25714: [libreplace] move define of a constant to near to the others
metze
(This used to be commit 8bd2cf71be)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
(This used to be commit a3657a4e71)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
135852240e r25712: try to fix the build, perl should handle by_path as comparison function
metze
(This used to be commit ee47f5dc79)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1b8da06a00 r25711: only use sort if available
metze
(This used to be commit 1f5a98cd91)
2007-12-21 05:43:24 +01:00
Andrew Bartlett
5cfa773202 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 e8cbac1a46)
2007-12-21 05:43:24 +01:00
Jelmer Vernooij
45c3d150d5 r25707: Move selftest makefile code to separate file.
(This used to be commit 9714db7814)
2007-12-21 05:43:23 +01:00
Günther Deschner
34fa7e3d2c r25706: Merge padding fix from Samba3.
Guenther
(This used to be commit d33667f914)
2007-12-21 05:43:23 +01:00
Andrew Bartlett
c2e5cf6e31 r25705: Ensure we return the out value to the caller.
Andrew Bartlett
(This used to be commit 3434262ad7)
2007-12-21 05:43:22 +01:00
Andrew Bartlett
35dc4d9999 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 f350ef5f19)
2007-12-21 05:43:22 +01:00
Andrew Bartlett
e85370e703 r25703: Use less entropy by using the pointer value as a process-unique token.
Andrew Bartlett
(This used to be commit 3480dc71a9)
2007-12-21 05:43:21 +01:00
Andrew Bartlett
c4ebf9587f r25702: Clarify comments and make this module more strict on objectclasses.
This is becoming the schema module...

Andrew Bartlett
(This used to be commit ecea817a3e)
2007-12-21 05:43:21 +01:00
Andrew Bartlett
7619978553 r25701: Clarify comment
(This used to be commit cea496d216)
2007-12-21 05:43:20 +01:00
Jeremy Allison
c940bec8d7 r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.
(This used to be commit ad0b9792f2)
2007-12-21 05:43:20 +01:00
Günther Deschner
bd2bf8990a r25699: Add ForceReplication test.
Guenther
(This used to be commit 0bab602b8e)
2007-12-21 05:43:19 +01:00
Stefan Metzmacher
df3f31d2d5 r25697: make *clean doesn't work after a svn up when some *.mk files were removed
the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'.  Stop.

the problem is:
Makefile: config.status $(MK_FILES)
	./config.status

so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.

metze
(This used to be commit 4c8e539af1)
2007-12-21 05:43:19 +01:00
Günther Deschner
e77a831319 r25696: Fix pipe name for dfs.
Guenther
(This used to be commit 7a04419489)
2007-12-21 05:43:18 +01:00