Andrew Tridgell
580f955664
s4-torture: allow host-only in unc lists in smbtorture
...
Allow UNC lists like this:
192.168.2.1
192.168.2.2
192.168.2.3
the share name will be taken from the command line
2010-02-09 14:46:09 +11:00
Günther Deschner
aa72950b3d
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
...
Guenther
2010-02-08 14:31:16 +01:00
Matthias Dieter Wallnöfer
a8d6549ccc
s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSD
...
I changed the format string into "(objectClass=*)" which should be an
equivalent expression for choosing all available objects.
Consider bug 7115 for the issue.
2010-02-08 12:08:36 +01:00
Stefan Metzmacher
4a4b2a5eaf
s4:heimdal: regerenate files
...
Andrew using cp like in commit ca12e7bc8f
is wrong as that removes #include "config.h" and breaks the build on AIX.
metze
2010-02-08 09:59:29 +01:00
Stefan Metzmacher
42efa323ca
s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate files
...
metze
2010-02-08 09:59:28 +01:00
Andrew Tridgell
f692c6dbc4
s4-torture: more useful error message in SMB2-DIR
2010-02-08 11:05:00 +11:00
Andrew Tridgell
5ab6a8d077
s4-registry: fixed byte order assumptions
...
the registry tests were broken on big-endian systems
2010-02-07 18:41:59 +11:00
Simo Sorce
70534adee1
tdb: raise version to 1.2.1
...
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
2010-02-06 10:48:39 -05:00
Andrew Tridgell
5bb89bc47c
s4-ldb: fixed api.py selftest
...
subunitrun seemed to be calling a test from its own source, instead of
the samba test. Fix this by calling the test directly.
2010-02-06 16:43:55 +11:00
Matthias Dieter Wallnöfer
16aa0744c6
s4:UID wrapper - Fix includes
...
The includes of the UID wrapper headers werent't really efficient according
to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html ).
To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c",
"lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
2010-02-05 19:47:26 +01:00
Matthias Dieter Wallnöfer
44b95bc727
s4:Heimdal build - never require the NSS wrapper for Heimdal Kerberos
...
Disable the use of it in the heimdal code.
Notice: This doesn't need to be ported upstream since it only affects the
build in conjunction with s4.
2010-02-05 19:45:18 +01:00
Kamen Mazdrashki
8823a549ca
s4/drs: propagate DRS_ extension flags in code base
2010-02-05 10:51:57 +01:00
Andrew Tridgell
6cf5bdd3d3
s4-torture: handle NT_STATUS_CONNECTION_RESET
...
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-04 21:22:43 +11:00
Matthias Dieter Wallnöfer
259ba3ab87
s4:mark the SYSTEM control always as non-critical
...
It is needed to not break the various LDAP backends. For reference look at
bug #7040 .
2010-02-04 11:08:58 +01:00
Jelmer Vernooij
bb83ffdc21
net: Fix python 2.4 compatibility.
2010-02-03 23:55:58 +01:00
Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
e3aeea29a4
s4:NBT-WINSREPLICATION: don't mark a local variable as static
...
This was somehow introduced in commit 8773e743c5
.
metze
2010-02-02 07:18:15 +01:00
Stefan Metzmacher
431d75fc9c
s4:NBT-WINS: test large scopes
...
metze
2010-02-01 15:32:38 +01:00
Stefan Metzmacher
70779a46a7
s4:NBT-WINS: pass the expected rcode of the name registration to the test code
...
metze
2010-02-01 15:32:36 +01:00
Stefan Metzmacher
c1d8dc01fc
s4:NBT-WINSREPLICATION: test replication with names including scopes
...
metze
2010-02-01 15:23:35 +01:00
Stefan Metzmacher
331505f09d
s4:NBT-WINSREPLICATION: fix compiler warnings
...
metze
2010-02-01 15:23:34 +01:00
Stefan Metzmacher
07b06e51bb
s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
...
metze
2010-02-01 15:23:33 +01:00
Stefan Metzmacher
ea7ec4fb30
s4:winsserver: reject name registrations with a scope length > 237
...
This matches Windows 2008 behavior. Name releases are just ignored.
metze
2010-02-01 15:23:33 +01:00
Stefan Metzmacher
7a02a2ba80
s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as Windows 2008 does
...
metze
2010-02-01 15:23:32 +01:00
Kamen Mazdrashki
93142e4a3a
s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01 15:23:31 +01:00
Kamen Mazdrashki
83068b42ae
s4/ldif: Better control on ldif_write_NDR() errors processing
...
Current implementation mask NDR_ errors implicitly.
Thus the caller has no opportunity handle such an error.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01 15:23:31 +01:00
Günther Deschner
42f5125521
s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 21:00:00 +01:00
Günther Deschner
0c6aae4d53
s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:59:56 +01:00
Günther Deschner
377abba0e9
s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:49:53 +01:00
Simo Sorce
f77714c887
s4:kdc streamline context initialization
...
Allow other plugins to init the context without having it try to grab sockets
or set samba specific logging.
2010-01-31 13:30:31 -05:00
Simo Sorce
b116d4e5b9
s4:kdc Streamline client access verification call
...
Move the core to pac-glue so that other plugins can use it.
2010-01-31 13:25:17 -05:00
Simo Sorce
0520bd7782
s4:kdc Fix netbios name retrieval
...
The code was looping but always checking only the first address.
2010-01-31 13:25:17 -05:00
Simo Sorce
08a20006c8
s4:ldb quiet down rootdse control registration
2010-01-31 13:25:17 -05:00
Simo Sorce
772d808ac8
s4:ldb Fix check made conditional by mistake
2010-01-30 02:57:33 -05:00
Simo Sorce
df7be036d7
s4:ldb add support for permissive modify control
2010-01-30 01:04:12 -05:00
Matthias Dieter Wallnöfer
d89427ad27
Revert "s4:include/includes.h - Need to include "system/network.h""
...
This reverts commit 97fd03a15a
.
This obviously broke the build. Revert it for now.
2010-01-29 21:36:23 +01:00
Matthias Dieter Wallnöfer
97fd03a15a
s4:include/includes.h - Need to include "system/network.h"
...
Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
2010-01-29 20:13:38 +01:00
Nadezhda Ivanova
adc38b00a9
Fixed a bug caused by a typo. Infrastructure role didn't work.
2010-01-29 15:42:46 +02:00
Kamen Mazdrashki
2dc56d68fa
s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29 14:09:53 +01:00
Kamen Mazdrashki
a4d0ed5a10
s4/ldap: Fix nested searches SEGFAULT bug
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29 14:09:53 +01:00
Stefan Metzmacher
1c76df6219
s4:auth_sam: avoid usage of data_blob_talloc_reference() and copy the session keys
...
metze
2010-01-29 11:16:35 +01:00
Stefan Metzmacher
ddd595e687
s4:libcli: remove unneeded talloc_reference() usage
...
metze
2010-01-29 11:16:13 +01:00
Simo Sorce
14e006747e
s4:kdc remove dead code and comments
2010-01-28 19:33:34 -05:00
Simo Sorce
7b355d41b5
s4:kdc Fill in more data fields
2010-01-28 19:33:34 -05:00
Simo Sorce
3ce54a4a97
s4:kdc move db functions in their own file
...
Keep all heimdal related plugin code within hdb_samba4.c
Move interfaces needed by multiple plugins in db-glue.c
Move sequence context in main db context so that we do
not depend on db->hdb_dbc in the common code.
Remove unnecessary paremeters from function prototypes
2010-01-28 19:33:34 -05:00
Simo Sorce
a097527ab7
s4:kdc Use a clearer name for the samba kdc entry
...
Renames hdb_samba4_private to samba_kdc_entry
Streamlines members of the entry and the kdc db contextto avoid
unnecessary duplication.
2010-01-28 19:33:34 -05:00
Simo Sorce
c6865af445
s4:kdc Use better db context structure
...
This allows to use a common structure not tied to hdb_samba4
Also allows to avoid many casts within hdb_samba4 functions
This is the first step to abstract samba kdc databse functions
so they can be used by the MIT forthcoming plugin.
2010-01-28 19:33:34 -05:00
Andrew Tridgell
2fdff7f596
s4-ldbtest: fixed python import
2010-01-28 18:45:04 +11:00
Eduardo Lima
882feb39a2
s4-drs: implementation of some delete test cases
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28 18:45:03 +11:00
Simo Sorce
61a4ab36d9
cleanup: remove trailing spaces and tabs
2010-01-28 02:05:05 -05:00
Fernando J V da Silva
28420fe68a
s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync when necessary
...
If an urgent replication is necessary, so the uSNUrgent stored is equal to the
uSNHighest stored, then when sending the DS_ReplicaSync message it sets the
DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS.
Signed-off-by: Fernando J V da Silva <fernandojvsilva@yahoo.com.br>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28 17:21:41 +11:00
Simo Sorce
b63b9bcd42
s4:windc move windc plugin in its own file
...
Keep all heimdal related plugin code within wdc-samba4.c
Leave only interfaces common to multiple plugins in pac-glue.c
2010-01-27 14:03:06 -05:00
Simo Sorce
1f2e9e90bd
s4:PAC make common functions public
2010-01-27 14:03:06 -05:00
Simo Sorce
82a80b7f71
s4:PAC Streamline pac-glue step 2
...
Split functions so that no assumption is made about which plugin
is using them
2010-01-27 14:03:06 -05:00
Simo Sorce
85e3561dc9
s4:PAC Streamline pac-glue
...
First step, preparing to share the code between multiple plugins.
2010-01-27 14:03:06 -05:00
Nadezhda Ivanova
dffb5ad2bf
Implemented net fsmo command for transferring fsmo roles
...
The command allows the user to transfer a fsmo role to the server to which
the connection is established. Roles can be transferred or seized. By default a
transfer is attempted even if seize option is chosen, as it is dangerous to
seize a role if the current owner is still running.
example use:
net fsmo show --host=hostnameoraddress --username=username --password=password
net fsmo transfer --role=role --host=hostnameoraddress --username=username --password=password
net fsmo seize --role=role --host=hostnameoraddress --username=username --password=password [--force]
Tested against Win2008. Does not work for samba 4 yet as we are missing the GetNCChanges extensions.
2010-01-27 17:57:37 +02:00
Günther Deschner
0e2d1cf9c4
s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-27 15:04:00 +01:00
Michael Adam
098fc8c09c
s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
...
Used in several places.
(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
0a33b20f70
s4:torture: create new test_SetDomainInfo_ntstatus()
...
for checking for SetDomainInfo giving a desired return code.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
c1d157a481
s4:torture: refactor setting of domain inf out into test_SetDomainInfo()
...
and use it in several places.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
50a46cff76
s4:torture: refactor setting account flags out into test_SetUserInfo_acct_flags()
...
and use this in four places (enabling/disabling accounts).
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Andreas Schneider
dee1b41ae7
s4-libcli: Fixed a talloc_reference error.
...
Signed-off-by: Andreas Schneider <asn@redhat.com>
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-26 17:14:51 +01:00
Stefan Metzmacher
137fd79f44
s4:winsrepl.idl: add random interface uuid
...
This is needed to include the wrepl interface into
ndrdump.
metze
2010-01-26 15:23:24 +01:00
Stefan Metzmacher
601642d923
s4:smbtorture: add BASE-BENCH-HOLDOPEN
...
This is useful for manual performance testing with a large
number of share mode entries.
metze
2010-01-26 15:23:24 +01:00
Günther Deschner
7148eff0b7
s4-smbtorture: also test smbc_getOptionUseCCache
2010-01-26 12:11:28 +01:00
Jelmer Vernooij
4291e28a93
s4-python: Fix formatting.
2010-01-25 15:18:02 +01:00
Jelmer Vernooij
0b7910b8bf
upgrade_from_s3: Remove unused imports.
2010-01-25 15:18:01 +01:00
Jelmer Vernooij
8562bbdce5
pyxattr: Move to the same directory as the xattr code.
2010-01-25 15:18:01 +01:00
Kai Blin
b35dcd7a18
s4 includes: Include system/locale.h to get access to <ctype.h>
2010-01-25 14:31:33 +01:00
Günther Deschner
5dfec4f36b
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
...
Guenther
2010-01-25 11:20:06 +01:00
Endi S. Dewata
d69d07ce62
s4-provision: Added msDS-NcType into samba4Top object class
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:41:28 +01:00
Endi S. Dewata
5cdd30011c
s4-provision: Fixed typos and redundant code
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:41:10 +01:00
Endi S. Dewata
ce709389e6
s4-provision: Disable populating FDS during instance creation.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23 22:40:51 +01:00
Simo Sorce
4c548048c5
s4:kdc Simplify header files
2010-01-22 11:16:24 -05:00
Michael Adam
fb4679638d
s4:rpc-server:samr: fix setting of lockout duration < lockout window
...
This should return NT_STATUS_INVALID_PARAMETER.
This makes samba pass the first part of the samr-lockout test.
This constraint is documented here for the samr server:
http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx
MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates
and here for the ldap backend:
http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx
MS-ADTS 3.1.1.5.3.2 Constraints
So the check should actually be moved down into the backend,
i.e. under dsdb/samdb/ldb_modules - TODO..
Michael
2010-01-21 13:01:24 +01:00
Jelmer Vernooij
9ddeac17f5
pyxattr: Factor out helper functions.
2010-01-21 17:17:02 +13:00
Jelmer Vernooij
8b0f31994c
pyxattr: Simplify tests.
2010-01-21 16:56:23 +13:00
Jelmer Vernooij
05b4e29f7f
pyxattr: Fix tests by not opening tdb files multiple times.
2010-01-21 16:45:06 +13:00
Jelmer Vernooij
14b0fed96c
pyxattr: Fix tests by avoiding opening tdb files multiple times.
2010-01-21 16:44:20 +13:00
Jelmer Vernooij
253a232d30
pyxattr: Fix memory leaks.
2010-01-21 16:44:12 +13:00
Jelmer Vernooij
9a25380838
pyxattr: Simplify tests.
2010-01-21 16:41:30 +13:00
Jelmer Vernooij
7092e220b5
pyxattr: Fix return value, raise exception, fix memory leak.
2010-01-21 16:29:15 +13:00
Jelmer Vernooij
342aff75c5
pyxattr: Use standard functions for error handling.
2010-01-21 16:28:24 +13:00
Jelmer Vernooij
6afb162533
pyxattr: Remove unnecessary hacks.
2010-01-21 16:18:19 +13:00
Jelmer Vernooij
f679def4f2
s4: Fix a few warnings.
2010-01-21 16:15:11 +13:00
Jelmer Vernooij
c42242d132
s4: Include Python.h early to avoid double definition errors.
2010-01-21 16:15:10 +13:00
Andreas Schneider
fd6a792283
s4-winbind: Migrated winbind connection to tsocket.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-20 22:46:59 +01:00
Matthieu Patou
c12d5363d6
s4-python: add some helper for converting ldb_flag to text
2010-01-21 07:11:21 +13:00
Matthieu Patou
8c6fc09f18
upgradeprovision: forbid running upgradeprovision when there is more than 1 DC
2010-01-21 07:11:21 +13:00
Matthieu Patou
929dbf8ef8
upgradeprovision: mark rIDAvailablePool never upgraded
...
handle properly the fact that missing object might depend on some other in order to be correctly created
debug change also if we are in debugall mode
2010-01-21 07:11:20 +13:00
Matthieu Patou
4d6cda75e3
upgradeprovision: reformat + add groupType as possibly overwritten
2010-01-21 07:11:20 +13:00
Matthieu Patou
4c28e7ff0c
upgradeprovision: improve info messages
2010-01-21 07:11:20 +13:00
Matthieu Patou
bd9fbdab4c
Revert "s4:upgradeprovision - fix up the script regarding linked attributes"
...
This reverts commit 2cedefabc9
.
2010-01-21 07:11:19 +13:00
Matthieu Patou
9704249ccc
upgradeprovision: never use xattr it's pointless in this usecase
2010-01-21 07:11:19 +13:00
Matthieu Patou
0cdc39e730
Add a comment to tdb_wrap to explain why it should be used instead of directly using tdb
2010-01-21 07:11:18 +13:00
Matthieu Patou
a4b01dd59c
s4: utils recreate in python setntacl and getntacl
...
setntacl is able to set NTACL attribute from command line
getntacl now use getopt for parsing command line option and is also able to
dump the acl in the SDDL format.
2010-01-21 07:11:18 +13:00
Matthieu Patou
1a143b8a59
s4: allow python code to dump NTACL object as well
2010-01-21 07:11:18 +13:00
Matthieu Patou
c637c52876
provision: use message and do not display warning if the user choosed delibarately posix:eadb
2010-01-21 07:11:17 +13:00
Matthieu Patou
d4514a6539
provision: introduce use-xattr parameter for defining where to store attributes
...
This option allow simple user (non root) to invoke provision without facing an error
while insuring that ACL on shared files will always be set
2010-01-21 07:11:17 +13:00
Matthieu Patou
711c7606a5
s4-tests: register new unit tests
...
make unit test emit a visible warning
2010-01-21 07:11:17 +13:00
Matthieu Patou
10995d9256
s4-python: add unit test for ntacls manipulation in python
2010-01-21 07:11:16 +13:00
Matthieu Patou
3789ba2654
s4-python: add more unit tests for xattr manipulation in python
2010-01-21 07:11:16 +13:00
Matthieu Patou
f0954c7372
s4: update setntacl and getntacl to select the adaquate backend (fs/tdb) for storing xattr
2010-01-21 07:11:15 +13:00
Matthieu Patou
c442b2534f
s4: ntvfs, create push_xattr_blob_tdb_raw and pull_xattr_blob_tdb_raw that do not depend on pvfs objects
...
Following a talk with tridge on IRC, this patch allow (pull|push)_xattr_blob to be called without
having a pvfs object. It's handy for programs that wants to manipulate xattr directly.
2010-01-21 07:11:15 +13:00
Matthieu Patou
e78626dc2e
s4: Set acls correctly on all sysvol and scripts shares
2010-01-21 07:11:15 +13:00
Matthieu Patou
9b70979bc9
s4: Make unixid optional
...
Make unixid optional, if value not supplied next id from id pool will be used.
Create a function to get next id in id pool.
2010-01-21 07:11:15 +13:00
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