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

18416 Commits

Author SHA1 Message Date
Andrew Tridgell
2fe17ae61e possibleInferiors is a generated attribute - we can't pull it over DRS
or from ldb
2009-03-31 16:31:16 +11:00
Andrew Tridgell
15e6def45d Merge branch 'master' into wspp-schema 2009-03-31 15:53:17 +11:00
Andrew Tridgell
79b7ba9b10 change ldb version number (as ldb_module structure has changed) 2009-03-31 15:14:09 +11:00
Andrew Tridgell
16a1903c54 use the prepare_commit op in the partition code
This makes multi-partition ldb's much safer
2009-03-31 15:08:36 +11:00
Andrew Tridgell
6688ee80b2 added support for a prepare_commit() op in ldb modules
This op will be used by the partition module to give us good
transaction semantics across the 4 partitions that sam.ldb uses.
2009-03-31 15:07:54 +11:00
Andrew Tridgell
631e688c82 Merge branch 'master' into wspp-schema 2009-03-31 11:58:37 +11:00
Zach Loafman
12a8ed07b4 s4:torture/smb2: Add torture tests for leases. 2009-03-28 01:01:47 -07:00
Zach Loafman
92f3686c96 s4:smb2: Add rudimentary SMB2.1 lease support to libcli
Add the structures, constants, and marshalling for SMB2.1 leases.
2009-03-28 01:01:47 -07:00
Stefan Metzmacher
742496d252 s4:torture/smb2: fix compiler warnings and bugs
metze
2009-03-27 13:26:50 +01:00
Stefan Metzmacher
5c9e90eb7e s4:torture/smb2: fix the build
We move prototypes of _PUBLIC_ functions into /dev/null,
as we want public function to have handwritten prototypes.

see proto_header_template in build/make/templates.mk...

metze
2009-03-27 13:26:43 +01:00
Stefan Metzmacher
ee8bc9659c s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
metze
2009-03-27 12:20:09 +01:00
Zach Loafman
a9bc6a3d45 Add durable open / oplock interaction test. Rather than give it a chance to disconnect, Win7 will break a batch oplock immediately on contention. 2009-03-26 16:42:25 -07:00
Zach Loafman
7278c549ea Reorganize old persistent_handles test into durable_open.c, turn it into a suite instead of a solo test (in anticipation of more tests). 2009-03-26 16:42:10 -07:00
Andrew Tridgell
049534336c Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-27 09:32:43 +11:00
Andrew Tridgell
d88ced1dcc added a --wspp option
Adding --wspp to possibleInferiors.py forces it to use the WSPP
documented algorithm, which doesn't match windows behaviour
2009-03-27 09:31:51 +11:00
Jelmer Vernooij
494e471d74 configure: Use m4 defines for minimum library versions rather than shell
variables, so the values rather than the variable names show up in
configure output.
2009-03-26 16:28:45 +01:00
Jelmer Vernooij
30a3dec549 Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-26 15:28:18 +01:00
Stefan Metzmacher
853f9283fb s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
metze
2009-03-26 15:01:04 +01:00
Stefan Metzmacher
510e37155e s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP
metze
2009-03-26 15:01:03 +01:00
Stefan Metzmacher
9521801dc8 s4:kdc: use krb5_data_free()
metze
2009-03-26 15:01:03 +01:00
Stefan Metzmacher
4d96417931 s4:auth/credentials: use krb5_data_free()
metze
2009-03-26 15:01:02 +01:00
Stefan Metzmacher
8a264753a1 s4:auth/credentials: include gssapi/gssapi_krb5.h
metze
2009-03-26 15:01:02 +01:00
Andrew Tridgell
3f37342bc0 fixed possibleinferiors.py so it matches windows behaviour
This test code builds the possibleInferiors for every class in the
schema on a target machine, and compares it to the servers
possibleInferiors attribute.  

The MS-ADTS spec describes how to calculate possibleInferiors for a
object, but it seems to have some bugs. The spec says that we need to
use AUXCLASSES, and it does not mention the use of the SUBCLASS
tree. In trying to match windows behaviour, I found that I needed to
ignore the AUXCLASSES and build a SUBCLASSES tree.
2009-03-26 22:10:02 +11:00
Jelmer Vernooij
c42fc5e103 display_sec: Move to common libcli/security directory. 2009-03-25 21:29:13 +01:00
Jelmer Vernooij
9a61758c1e Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-25 20:51:29 +01:00
Günther Deschner
2bc9ffa9fb s4-install: add new location of generated dcerpc headers to headermap file.
Guenther
2009-03-24 16:08:35 +01:00
Günther Deschner
8d901caf35 move dcerpc.idl to main directory.
Guenther
2009-03-24 11:14:06 +01:00
Andrew Tridgell
2a8f367b0f the start of a possibleInferiors test suite
we haven't implemented possibleInferiors yet. This test is meant to
help us understand how it works. It tries to construct
possibleInferiors via searches on other attributes, and compares it to
the servers constructed possibleInferiors attribute for each class in
the servers schema.

see [MS-ADTS] section 3.1.1.4.5.21
2009-03-24 16:28:39 +11:00
Andrew Tridgell
7f113904eb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-23 11:47:38 +11:00
Stefan Metzmacher
8a6f91c910 LDAP-CLDAP: remove temporary debug statements...
metze
2009-03-22 12:20:45 +01:00
Stefan Metzmacher
593ab6ac00 s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
6ef1442360 s4:smbd: the name of the binary is "samba" now
metze
2009-03-21 10:44:40 +01:00
Matthias Dieter Wallnoefer
62ab39dde3 s4/provision: Use existing serverrole variable.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-21 03:07:00 +01:00
Jelmer Vernooij
960b755315 pyldb: Let conversion to LDIF up to the user of the API rather than doing
it implicitly.
2009-03-21 02:19:25 +01:00
Jelmer Vernooij
de1e3e2cf0 Remove unnecessary duplication of string in memory. 2009-03-21 01:00:18 +01:00
Jelmer Vernooij
8f4e4d2e30 Adapt Zahari's test to the generic LDB Python tests. 2009-03-20 22:58:15 +01:00
zahari
4fff36f618 Setting nTSecurityDescriptor via LDAP fails
Fix for the problem was substitute talloc_strndup() with
talloc_memdup(), allocate 1 more character and put null character
('\0') in the extra place so data copied is null terminated.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 22:54:15 +01:00
Jelmer Vernooij
ee577ef0ee Add more comments. 2009-03-20 22:52:57 +01:00
Jelmer Vernooij
ca202cf464 Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-20 16:40:09 +01:00
Matthias Dieter Wallnoefer
2de464a765 Fix uninstallman.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 16:22:02 +01:00
Stefan Metzmacher
da46c37100 s4:build: include ../libcli/cldap/config.mk
This fixes commit 84a140f18722518eb0f40737085dd3b3958a3a02,
sorry!

metze
2009-03-20 10:16:00 +01:00
Andrew Bartlett
13be4d7ff4 s4:schema Remove 'cn' from the final output of ms_schema.py
This avoids one more point of difference between this an the output
from minschema and fullschema

Andrew Bartlett
2009-03-20 17:32:19 +11:00
Andrew Bartlett
37f130fd89 s4:fullschema Use server-side sort to make the output deterministic 2009-03-20 16:47:34 +11:00
Andrew Bartlett
4a45b0da57 s4:ldb Allow paged_searches to be mixed with other controls
I want to mix this with the server-side sort in particular.

Andrew Bartlett
2009-03-20 16:45:52 +11:00
Andrew Bartlett
f696bb81f8 s4: Remove autogenerated attributes from minschema and fullschema output
These attributes will be generated by Samba on import, and do not need
to be in the schema file.

Andrew Bartlett
2009-03-20 16:28:42 +11:00
Andrew Bartlett
653dd024a6 Add minschema like tool to extract and dump the full schema from AD 2009-03-20 16:28:41 +11:00
Andrew Bartlett
5bfed623f5 s4:minschma Fix aggregate schema generation in minschema
The conversion from EJS to python I did with Jelmer this morning was
not quite complete, due mostly to the difference between print in EJS
and python (python implies a newline).

Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
6906c01cac s4:ldb Ensure to pass down options to LDB from python
This is needed for things such as to load modules, like the
paged_searches module.

Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
1dc5b90e86 s4:ldb Fix the paged_searches module
This simplifies the code, removes presumptions about being the only
control in the reply, and allows it to function against Windows 2008.

For searches which did not require a paged result, the module was
simply returning a failure when the compleated search did not include
a paged result control.

Andrew Bartlett
2009-03-20 16:28:40 +11:00
Andrew Bartlett
27c6eca04c Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema 2009-03-20 13:22:08 +11:00