Matthieu Patou
028c9b1c15
s4: regroup gpo modification in one function, set acl on files accordingly with ACL in LDAP
2010-01-21 07:11:14 +13:00
Matthieu Patou
08c59c38a2
s4: Create unit tests for python "samba.xattr" module
2010-01-21 07:11:14 +13:00
Matthieu Patou
c80ecd9964
s4: add python bindings for wrap_(s|g)etxattr
2010-01-21 07:11:13 +13:00
Michael Adam
45465cb7da
s4:selftest: add the samr-passwords-lockout test to knownfail
...
This is not implemented completely yet.
Needs fixing in the future.
Michael
2010-01-20 17:32:58 +01:00
Michael Adam
9764db806f
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
...
This tests account lockout features.
Windows 2003r2 and Windows 2008r2 survice this test.
Note: Windows does not set the ACB_AUTOLOCK account flag when it
locks out an account.
One thing that could/should be added to this test is a check of
the lockout time property.
Michael
2010-01-20 17:32:58 +01:00
Jelmer Vernooij
18943bba9c
selftest: Use SUBUNIT_FORMATTER command, if set in the environment.
2010-01-20 11:05:04 +13:00
Wilco Baan Hofman
8067bf629c
Fix unintentional free of the last value when adding a new value to a key.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-01-20 09:59:18 +13:00
Günther Deschner
f8314c27b3
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 17:17:29 +01:00
Günther Deschner
40d3408dd3
s4-smbtorture: also configure check smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.
...
Guenther
2010-01-19 16:24:35 +01:00
Günther Deschner
f5bba4034b
s4-smbtorture: support spoolss_ReplyClosePrinter server call in RPC-SPOOLSS-NOTIFY.
...
A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
2b68215a22
s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
e0660ed1bc
s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
7d1c1e0083
s4-smbtorture: strip trailing whitespace.
...
Guenther
2010-01-19 14:14:30 +01:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
dde836adbd
s4-drs: allow for security bypass for DsReplicaGetInfo
...
Use --option=drs:disable_sec_check=true until the group membership bug
with the PAC is fixed.
2010-01-17 10:52:31 +11:00
Andrew Tridgell
2985aeb8c9
s4-dsdb: isGlobalCatalogReady should be shown by default
...
This caused repadmin.exe to crash. Thanks to Hongwei for tracking this
down for us.
2010-01-17 10:52:31 +11:00
Jelmer Vernooij
aa1fce645a
ldap: Fix test failure that seemed to go unreported previously.
2010-01-17 12:35:26 +13:00
Jelmer Vernooij
a18889fd77
ldap.py: Remove unused imports.
2010-01-17 12:26:53 +13:00
Kai Blin
791a2df656
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
2010-01-16 12:38:12 +01:00
Andrew Tridgell
29d08bfe26
s4-kerberos: raise the general kerberos debug level to 3
...
level 2 for every krb request is a bit much
2010-01-16 18:30:22 +11:00
Jelmer Vernooij
28577aae92
Import testtools as well, required for subunit.
2010-01-16 19:53:49 +13:00
Jelmer Vernooij
b6b46b4978
subunit: Import new version.
2010-01-16 19:53:49 +13:00
Jelmer Vernooij
53d7c4c7a2
Fix permissions - net subcommand modules don't need to be executable.
2010-01-16 19:53:48 +13:00
Andrew Tridgell
4e0090c917
s4-torture: fixed DsReplicaGetInfo elements
2010-01-16 14:45:33 +11:00
Andrew Tridgell
ee736083c0
s4-kcc: added DsReplicaGetInfo pending ops call
...
Just return 0 pending ops for now
2010-01-16 14:10:45 +11:00
Andrew Tridgell
84b47d3334
s4-provision: added w2k8r2 ldap capabilities
2010-01-16 14:10:44 +11:00
Andrew Tridgell
637d50b5d0
s4-devel: added rebuild_zone.sh
...
This rebuilds a DNS zone file, including all DCs from sam.ldb
2010-01-16 14:10:44 +11:00
Andrew Tridgell
a9808ae83d
s4-provision: added "check-names ignore;" to allow for _msdcs A records
2010-01-16 14:10:44 +11:00
Andrew Tridgell
473345f800
s4-kcc: added DsReplicaGetInfo CURSORS2 level
2010-01-16 14:10:44 +11:00
Andrew Tridgell
93531a52f0
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
2010-01-16 14:10:44 +11:00
Andrew Tridgell
c22973d88d
s4-kcc: added support for CURSORS info level in DsReplicaGetInfo
2010-01-16 14:10:44 +11:00
Andrew Tridgell
8342d08f5c
s4-dsdb: take advantage of local cursor and sort
...
in getncchanges and repl task we don't need the extra load and sort
any more.
2010-01-16 14:10:43 +11:00
Andrew Tridgell
db7eba7080
s4-dsdb: add our local cursor and sort in dsdb_load_udv_*()
...
This makes things much simpler for the callers
2010-01-16 14:10:43 +11:00
Andrew Tridgell
0bba44094a
s4-drs: use dsdb_load_udv_v2() in getncchanges code
2010-01-16 14:10:43 +11:00
Andrew Tridgell
09d947f77c
s4-dsdb: use dsdb_load_udv_v2() in repl task
2010-01-16 14:10:43 +11:00
Andrew Tridgell
4cef7427ec
s4-dsdb: added dsdb_load_udv_v2() and dsdb_load_udv_v1()
2010-01-16 14:10:43 +11:00
Andrew Tridgell
3ff3612e29
s4-kcc: simplify the ReplicaGetInfo implementation a bit
2010-01-16 14:10:43 +11:00
Andrew Tridgell
900fea322c
s4-kcc: squash a warning
2010-01-16 14:10:42 +11:00
Andrew Tridgell
3a9b33b487
s4-drs: better debug info when security checks fail
...
show the security token of the user at debug level 2
2010-01-16 14:10:42 +11:00
Andrew Tridgell
5efff3ad6a
s4-dsdb: require admin access for DsReplicaGetInfo
2010-01-16 14:10:42 +11:00
Andrew Tridgell
5bfeed89da
s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS infoType.
...
This patch includes the framework for the implementation of all infoTypes of
the DsGetReplInfo() call, and includes the implementation for the first one,
the DS_REPL_INFO_NEIGHBORS.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-16 14:10:42 +11:00
Andrew Tridgell
22d92157e3
s4-drs: give better debug info on unsupported DRS calls
2010-01-16 14:10:41 +11:00
Erick Nogueira do Nascimento
48bdf3e608
s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-16 14:10:41 +11:00
Andrew Tridgell
51bf383c26
s4-dsdb: added isGlobalCatalogReady
...
needed for dcdiag.exe
2010-01-16 14:10:41 +11:00
Andrew Tridgell
a56ede9027
s4-ldb: cope with bad ptr alignment in ldb_index.c
...
We can't assume that a rec_ptr will come back from a tdb traverse with
alignment sufficient for a pointer.
2010-01-16 09:34:27 +11:00
Kai Blin
5c016ad88e
s4 selftest: Ignore more winbind test known to fail
2010-01-15 02:09:05 +01:00
Günther Deschner
9d881f4cfb
s4-smbtorture: add setup_schannel_netlogon_pipe() function.
...
Guenther
2010-01-15 00:53:16 +01:00
Andreas Schneider
33a4739090
s4-torture: Migrate ntp_signd test to tsocket.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-14 21:37:48 +01:00
Günther Deschner
d95ad11bc5
s4-smbtorture: add rather simple libsmbclient torture testsuite.
...
Guenther
2010-01-14 19:48:29 +01:00
Kai Blin
cf38a1f850
s3 test: Fix WINBINDD-STRUCT tests
...
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
2010-01-14 15:18:35 +01:00