Kamen Mazdrashki
0e87461dfb
s4-drs-test: Skip a check that may possibly fail
...
This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway
2010-08-30 09:55:30 +03:00
Kamen Mazdrashki
5c5e5ff607
s4-util: Print more informative error messages in 'net drs replicate'
2010-08-30 09:55:30 +03:00
Kamen Mazdrashki
0007203978
s4-drs-test: Use dns hostnames to run 'net drs replicate' command
2010-08-30 09:55:30 +03:00
Kamen Mazdrashki
b5ed9c2c4d
s4-kcc: Notify dreplsrv that Topology has changed
2010-08-28 23:38:59 +03:00
Kamen Mazdrashki
b954834ad1
s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update internal cache
...
This IRPC calls is to be used whenever repsFrom/repsTo are
changed by administrative tool or KCC (i.e. Topology changes).
At present, only KCC may change topology.
2010-08-28 23:38:59 +03:00
Kamen Mazdrashki
53551a76c5
s4-dreplsrv: Move partition cache update before scheduling another set of replications
2010-08-28 23:38:59 +03:00
Kamen Mazdrashki
a052497c74
s4-kcc: Assert when unexpected repsFromToBlob version is passed
...
At present we only support v1 structures (Win2k3 and earlier),
so it is good to make it obvious.
In case we start supporting v2 we will be able to notice this
function should be refactored right away
2010-08-28 23:38:58 +03:00
Matthias Dieter Wallnöfer
ef334b95fa
s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"
...
Hopefully this fixes the build on Solaris 8.
2010-08-27 19:20:21 +02:00
Matthias Dieter Wallnöfer
e736ace470
s4:torture/spoolss_access.c - fix discarded const warning
...
"discard_const_p" seems the most appropriate here.
2010-08-27 19:19:46 +02:00
Matthias Dieter Wallnöfer
a133d83607
s4:torture/raw/notify.c - freeable stuff shouldn't be "const"
2010-08-27 19:11:44 +02:00
Matthias Dieter Wallnöfer
4def6775b5
s4:ntvfs/posix/pvfs_*.c - quiet Solaris warnings
...
Fix the function argument of "pvfs_xattr_ndr_load/save".
2010-08-27 19:11:44 +02:00
Matthias Dieter Wallnöfer
e4afcd62bc
s4:credentials_krb5.c - quiet a Solaris warning
2010-08-27 19:11:44 +02:00
Nadezhda Ivanova
c679290f6e
s4-dsdb: Fixed a compiler warning.
2010-08-27 12:34:27 +03:00
Andrew Tridgell
bdab6c36e8
s4-pynet: pynet depends on pyrpc_util
2010-08-27 04:41:40 +02:00
Jelmer Vernooij
64552e11dd
pyrpc: Add py_check_dcerpc_type().
...
This function checks whether the type of a PyObject matches a
DCE/RPC Python type.
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2010-08-27 04:41:40 +02:00
Matthias Dieter Wallnöfer
53a3234703
s4:ntlm/auth.c - add a whitespace in a debug output
2010-08-26 21:06:07 +02:00
Matthias Dieter Wallnöfer
b11b2425a9
s4:dsdb_module_find_dsheuristics - free the "DN" also on other exit cases
2010-08-26 21:06:06 +02:00
Nadezhda Ivanova
ff2037876f
s4-dsdb: Removed an unnecessary space in dsdb_module_find_dsheuristics()
2010-08-26 17:37:49 +03:00
Nadezhda Ivanova
a571487e6c
s4-dsdb: Added utility functions for retrieving dSHeuristics from the module stack
...
Also a function to check dsHeuristics value to determine of anonymous access should be blocked
2010-08-26 17:18:40 +03:00
Andrew Tridgell
331905216a
s4-devel: added enumprivs developer script
...
this enumerates all LSA privileges on a server
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
057a47130d
s4-net: fixed docstring on spn command
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
d8f48c7ffc
s4-net: added "net rodc preload" command
...
this command will preload the credentials for an account from the full
domain controller
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
da366ba221
s4-drs: split out drs utility python functions
...
these will be re-used by other net commands
2010-08-26 22:50:20 +10:00
Andrew Tridgell
502a5313c4
s4-pyrpc: convert rpc_talloc.py test to unittest framework
...
This fits in better with our test framework
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
aa54d239e2
s4-pynet: some systems don't have Py_TYPE()
...
we need a better method than this ....
2010-08-25 23:05:05 +10:00
Andrew Tridgell
e69b13ccdd
s4-pyrpc: added a test for talloc behaviour in pidl python code
2010-08-25 23:05:05 +10:00
Andrew Tridgell
717ee453dd
s4-pyglue: added talloc_total_blocks() python call
2010-08-25 23:05:05 +10:00
Andrew Tridgell
ba5b3fb248
s4-rodc: removed python memory workaround
...
we can now assign pidl generates structures directly without errors
2010-08-25 23:05:05 +10:00
Andrew Tridgell
9218de4b74
s4-pyglue: pyglue now depends on pytalloc
2010-08-25 23:05:05 +10:00
Andrew Tridgell
956341965c
s4-rodc: setup secrets database at end of RODC join
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 23:05:05 +10:00
Andrew Tridgell
5a367f641e
s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()
...
these are useful for tracking down leaks and bugs in python scripts
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-25 23:05:05 +10:00
Andrew Tridgell
cb0f8f0ee0
s4-repl: load RODC partitions using msDS-hasFullReplicaNCs
...
we mark these as incoming_only
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 23:05:05 +10:00
Sumit Bose
896f3c8a49
s4-smbtorture: Added a torture test for forest trusts
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:48:22 +02:00
Sumit Bose
75e334fb61
s4-smbtorture: Make test_SetupCredentials3 public
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:46:30 +02:00
Günther Deschner
df7c7185fd
s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.
...
Guenther
2010-08-25 13:27:50 +02:00
Sumit Bose
18b0a52b89
Fix RPC-LSA-TRUSTED-DOMAINS for changed IDL
2010-08-25 13:27:50 +02:00
Günther Deschner
e2f15d2a25
s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
...
Also remove bogus trustCurrentPasswords struct which we just had because our IDL
was incorrect.
Guenther
2010-08-25 13:27:50 +02:00
Andrew Tridgell
f42af4ea68
s4-dsdb: make more of the UF_* flags available on pydsdb
...
this really should be moved to IDL
2010-08-25 08:40:05 +10:00
Andrew Tridgell
64bf637edf
s4-rodc: broke up RODC join into separate functions
...
this also removes some of the magic constants
2010-08-25 08:40:05 +10:00
Andrew Tridgell
e3c0409c7a
s4-rodc: added REPL_SECRET exop replication of accounts
...
During a RODC join, we need to fetch the secrets for the machine
account and krbtgt account using GetNCChanges
DRSUAPI_EXOP_REPL_SECRET calls
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Andrew Tridgell
4ab1a489c7
s4-dsdb: add more DS flags to the dsdb module
...
These are from libds/common/flags.h
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Andrew Tridgell
8438da96ba
s4-dsdb: added get_attid_from_lDAPDisplayName() on samdb
...
This can be used to form the partial_attribute_set list for
GetNCChanges
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Andrew Tridgell
495bd182f5
s4-rodc: next step in RODC join code
...
a RODC net join can now replicate the schame, config and base
partitions, by calling the net.replicate*() python hooks, and driving
the GetNCChanges calls from python
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Andrew Tridgell
4cacdf0002
s4-pynet: added replicate_init() and replicate_chunk() calls
...
these calls allow python code to pass chunks from DRS replication
calls into the code that applies the chunks to a database
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Andrew Tridgell
631c5f1fd5
s4-libnet: added libnet_vampire_replicate_init()
...
this is used to setup for later calls to the replicate chunk functions
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25 08:40:04 +10:00
Matthias Dieter Wallnöfer
2d80364f1b
s4:getncchanges.c - fix some counter variable types
...
They should be "unsigned" since they count LDB objects. And also the SID array
can be counted as "unsigned".
2010-08-23 18:05:52 +02:00
Andrew Tridgell
85ebc495f6
s4-devel: added a getncchanges developer script
...
this allows for command line access to getncchanges
it also provides a good example of calling DRSUAPI interfaces from
python
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:40 +10:00
Andrew Tridgell
f0803de830
s4-pyrpc: use s4_event_context_init()
...
This fixes a crash when using kerberos and the python dcercpc
interface, which requires event nesting
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:39 +10:00
Andrew Tridgell
470d87701b
s4-pyregistry: use s4_event_context_init()
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:39 +10:00
Andrew Tridgell
68fe347592
s4-event: event_context_find() should use s4_event_context_init()
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:39 +10:00