Age | Commit message (Collapse) | Author | Files | Lines |
|
This will allow us in future to do tests on the LDB values we generate
from the DRS replication.
Andrew Bartlett
|
|
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
dsdb_schema_pfm_contains_drsuapi_pfm()
dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented
prefixMap interface.
This name was choosen to clearly show, that this a week verification
in case we want to determine if remote schema is changed.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use
dsdb_schema_pfm_from_drsuapi_pfm() function to load
drsuapi_prefixMap into schema->prefixmap
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
This patch adds a system_session cache, preventing us from having to
recreate it on every ldb open, and allowing us to detect when the same
session is being used in ldb_wrap
|
|
|
|
This reduces compile time somewhat.
|
|
When we replicate from a remote DC, we need to note the new uSN that
the local changes have resulted in, and modify the uSN that the notify
task uses to determine if it should send a ReplicaSync message back to
the remote DC. Otherwise we end up always triggering a ReplicaSync
every time we replicate from another DC
|
|
We need to pass down flags to the DCE/RPC layer to allow fallback to
anonymous connections, as we can't log in with an expired password.
The anonymous connection can then change the password with SAMR.
Andrew Bartlett
|
|
This is all working towards supporting the full WSPP schema without a
major performance penalty.
We now use binary searches when looking up classes and attributes. We
also avoid the loop loading the attributes into ldb, by adding a hook
to override the ldb attribute search function in a module. The
attributes can thus be loaded once, and then saved as part of the
global schema.
Also added support for a few more key attribute syntaxes, as needed
for the full schema.
|
|
|
|
|
|
Guenther
|
|
Guenther
|
|
Guenther
|
|
Apparently both s3 and s4 are not entirely correct one this. metze is looking
into hand-marshalling security descriptors so this will fix this finally. For
now, just keep the two in sync.
Guenther
|
|
|
|
remove some unused functions.
|
|
|
|
metze
(This used to be commit 34f8b2abdd546f6b60ddae2ad839119f211c995c)
|
|
metze
(This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
|
|
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong
it's the error code of an extended operation.
DsGetNCChangesCtr6 has a nc_object_count value which contains
the estimated amount of objects in the naming_context.
W2k seems to have a bug and sends this number of objects
in the extended_ret field. Maybe it's just a bug and
not a feature:-)
metze
(This used to be commit 67931092128ce89aadf689a54e20d6e4a9d7fe2c)
|
|
metze
(This used to be commit 6acf42c2e41bb1d44c1fcaaaa58fc3f148491836)
|
|
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
|
|
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
|
|
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
|
|
the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
|
|
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
|
|
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)
|
|
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
|
|
Apply the same fix as in libnet_vampire in the old DRS test code.
Andrew Bartlett
(This used to be commit 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)
|
|
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
(This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
|
|
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
|
|
This is only used in the DEBUG() message, so let's remove it.
Andrew Bartlett
(This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
|
|
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
|
|
This uses the new 'serverdn' argument added to provision in the
previous commit.
Andrew Bartlett
(This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
|
|
This test needed to be updated to handle the fact that you cannot
clear the ACB_PW_EXPIRED bit, and to always use the torture comment
functions (not printf directly).
Andrew Bartlett
(This used to be commit 2211476bbb3d8e5bca9659e886e559a36f40aff4)
|
|
(This used to be commit e66be2f519584717abd7fc1f069bf7afe0d7ff60)
|
|
smb.conf we generate.
Andrew Bartlett
(This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)
|
|
To make Samba4, using the python provision system, pass this test
required some major rework. Untested code is broken code, and some of
the refactoring for a seperate provision test (which also now passes)
broke things.
Similarly, the iconv work has compiled, but these codepaths have never
been run (NULL pointer de-reference).
In working to use a local, rather than global, loadparm context, and
to support using a target directory, a few things needed to be
reworked, particularly around path handling.
Andrew Bartlett
(This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
|
|
(This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)
|
|
These tests still do not pass against windows, but at least now it
doesn't reset acct_flags to 0.
This is enough to have Samba4 pass it's own tests for the moment.
Andrew Bartlett
(This used to be commit aa3901311eb7ce6f2d2b2413323e31a5b064cfc4)
|
|
smbtorture calls srandom() once for the whole suite, with command line
override to allow reproduceable random tests.
Andrew Bartlett
(This used to be commit 68dcd1073cfed830fb6e2013e27d2ebbc443c451)
|
|
(This used to be commit 1269758e95686cc155284d5d56080e1be11bbd75)
|
|
(This used to be commit 4b9d5bc57ca4ee14c142ea720dce5e4ee97f8c16)
|
|
(This used to be commit 53c5924195844dac4dfe99e5c9b0c8911394497a)
|
|
(This used to be commit 1a1f8a5e6b193f25f4838a3e7964cdf0590f4eb2)
|
|
(This used to be commit ed2b72ac76ec069fec799b3fd805cca59fc28de4)
|
|
(This used to be commit 64d6d729135e1b3b19c9bdbbe973fcdaca15e8b3)
|
|
We let getenv("PROVISION_PYTHON") decide what we want
at runtime.
metze
(This used to be commit acb5661f61ad62c02b5ec83d0f1f0c969f356c9f)
|