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

68942 Commits

Author SHA1 Message Date
Andrew Tridgell
24e8bc5441 wintest: moved to top level
the plan is to expand wintest to test a lot more of Samba against
windows, including testing the Samba3 file server, winbind, nmbd etc
2010-11-19 15:17:43 +11:00
Andrew Tridgell
999f3ed2ce talloc: added TALLOC_FREE_FILL environment variable
when this environment variable is set, talloc will fill freed memory
with the value from that environment variable. This can be used to
help find use after free bugs when valgrind is too slow to be used
2010-11-19 15:17:42 +11:00
Andrew Tridgell
58c43f74b9 s4-wintest: reliability and usability improvements
- allow for missing VMs
- improved VM names
- added join of w2k3 to Samba domain
- cope with w2k3 dcpromo output
- wait for port 139 not 23, to avoid windows telnet server bug

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Nov 18 23:56:11 CET 2010 on sn-devel-104
2010-11-18 23:56:11 +01:00
Andrew Tridgell
5b3981acb1 s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replication
see the description of this flag in [MS-DRSR]
2010-11-18 23:12:26 +01:00
Andrew Tridgell
96e55cb132 s4-join: initially disable the machine account
enable after a password is set
2010-11-18 23:12:26 +01:00
Andrew Tridgell
6a41afba68 s4-drs: fixed a typo 2010-11-18 23:12:26 +01:00
Andrew Tridgell
5be4bfdc37 s4-wintest: remove files in var/ when reprovisioning 2010-11-18 23:12:26 +01:00
Andrew Tridgell
27c3bc8c01 s4-test: added --rebase and --clean options 2010-11-18 23:12:26 +01:00
Andrew Tridgell
498f3c8e5f s4-test: use --fail-immediately for samba_dnsupdate testing 2010-11-18 23:12:26 +01:00
Andrew Tridgell
3f952aba2b s4-spnupdate: only enable NDR print at log level above 5 2010-11-18 23:12:25 +01:00
Andrew Tridgell
1ce223017d s4-dns: added support for --fail-immediately for RODC netlogon dns updates 2010-11-18 23:12:25 +01:00
Kamen Mazdrashki
ab379ddd51 s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testing
This way we won't flood /tmp directory with temp files

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Nov 18 23:11:18 CET 2010 on sn-devel-104
2010-11-18 23:11:18 +01:00
Kamen Mazdrashki
05c0bface1 s4-ldb.python: add test for ldb.Message.from_dict() method 2010-11-18 22:28:08 +01:00
Kamen Mazdrashki
a403d7777e s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object from dictionary 2010-11-18 22:28:08 +01:00
Kamen Mazdrashki
a09a41f300 s4-pyldb: Move code to create a ldb_message from a Python Dictionary object into a separate function 2010-11-18 22:28:08 +01:00
Kamen Mazdrashki
c29a8c7ec5 s4-samdb.py: Use ldb.get_default_basedn() to avoid RootDSE search 2010-11-18 22:28:07 +01:00
Kamen Mazdrashki
b4809e4a82 s4-pyldb_util: Move ldb Type searching into separate function 2010-11-18 22:28:07 +01:00
Kamen Mazdrashki
88e4601900 s4-pyldb: Few miss-alignments aligned 2010-11-18 22:28:07 +01:00
Kamen Mazdrashki
72fcfedd89 s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functions 2010-11-18 22:28:07 +01:00
Kamen Mazdrashki
d42ea3263a s4-pyldb: Fix wrong type of 'self' parameter 2010-11-18 22:28:07 +01:00
Nadezhda Ivanova
f992dbb9ca s4-tests: Modified descriptor tests to use pyldb api to retrieve configuration and schema dn.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 22:25:07 CET 2010 on sn-devel-104
2010-11-18 22:25:07 +01:00
Nadezhda Ivanova
b397a13920 s4-tests: Modified acl tests to use pyldb api to retrieve configuration dn. 2010-11-18 21:41:27 +01:00
Joerg Pulz
0f6a4a2f72 Make 'net rpc printer driver' behave the same as rpcclient enumdrivers
when dealing with unsupported architectures.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Nov 18 21:40:40 CET 2010 on sn-devel-104
2010-11-18 21:40:40 +01:00
Nadezhda Ivanova
469d15e265 s4-tests: Changed descriptor tests to use existing method in samdb for adding users to a group.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 18:30:55 UTC 2010 on sn-devel-104
2010-11-18 18:30:55 +00:00
Nadezhda Ivanova
82335b25e7 s4-tests: Changed acl tests to use existing method in samdb for adding users to a group. 2010-11-18 17:47:17 +00:00
Matthias Dieter Wallnöfer
fa1e8663bc Revert "s4:api.py - DN tests - test a bit more special DNs and merge the comparison tests"
This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2.
Jelmer doesn't like to have these tests there.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
2010-11-18 17:46:38 +00:00
Matthias Dieter Wallnöfer
4c666f3e0a s4:dsdb python tests - use "ldb.domain_dn"
By inspiration of Nadya's patches
2010-11-18 17:03:20 +00:00
Anatoliy Atanasov
b7dab46922 s4/operational: Fix swapped parameters for ldb_msg_copy_attr
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
2010-11-18 17:02:07 +00:00
Anatoliy Atanasov
b388951eea s4/ldap: ldap_syntaxes.py cleanup
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Thu Nov 18 16:16:27 UTC 2010 on sn-devel-104
2010-11-18 16:16:27 +00:00
Volker Lendecke
92e8fd0513 s3: Call sid_check_is_domain instead of dom_sid_equal
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 18 15:32:32 UTC 2010 on sn-devel-104
2010-11-18 15:32:32 +00:00
Volker Lendecke
e25ee6af8f s3: Make winbind recover from a signing error
When winbind sees a signing error on the smb connection to a DC (for whatever
reason, our bug, network glitch, etc) it should recover properly. The "old"
code in clientgen.c just closed the socket in this case. This is the right
thing to do, this connection is spoiled anyway. The new, async code did not do
this so far, which led to the code in winbindd_cm.c not detect that we need to
reconnect.
2010-11-18 14:48:18 +00:00
Björn Jacke
92d87e1f67 s3/vfs_tsmsm: remove unneeded cast to off_t
"off_t" is wrong on 32 bit systems anyhow ...

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Nov 18 14:47:59 UTC 2010 on sn-devel-104
2010-11-18 14:47:59 +00:00
Björn Jacke
d5d08d3b50 s3/vfs_tsmsm: fix debug output for large files 2010-11-18 14:03:19 +00:00
Simo Sorce
0b3180bbf5 ldb: error out when modules are not found
We shouldn't proceed without all required modules, it could cause damage to the
ldb if operations are performed w/o the needed modules.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Nov 18 14:02:34 UTC 2010 on sn-devel-104
2010-11-18 14:02:34 +00:00
Nadezhda Ivanova
47784a1470 s4-tests: Descriptor tests should use the existing samdb domain_dn method instead of defining a new one
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 12:52:48 UTC 2010 on sn-devel-104
2010-11-18 12:52:48 +00:00
Nadezhda Ivanova
763165c7bc s4-tests: Acl tests should use the existing samdb domain_dn method instead of defining a new one 2010-11-18 12:09:17 +00:00
Matthias Dieter Wallnöfer
56512fb1da ldb:skel.c - don't introduce trailing whitespaces by a module template
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
2010-11-18 12:08:30 +00:00
Matthias Dieter Wallnöfer
b001f1b255 s4:password_hash LDB module - remove unused headers 2010-11-18 12:21:56 +01:00
Matthias Dieter Wallnöfer
ae272acbdb s4:repl_meta_data LDB module - allow also special DNs to be renamed correctly
Do always escape RDN values - this fixes bug #7794

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 18 10:43:40 UTC 2010 on sn-devel-104
2010-11-18 10:43:40 +00:00
Matthias Dieter Wallnöfer
732ef9353d s4:api.py - DN tests - test a bit more special DNs and merge the comparison tests 2010-11-18 10:31:42 +01:00
Matthias Dieter Wallnöfer
ca7979e1a3 ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd 2010-11-18 09:02:21 +01:00
Andrew Tridgell
1c4807a62f s4-test: added greater control over tests to run
now supports --list to list tests, and --skip to skip the named tests

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Nov 18 04:29:24 UTC 2010 on sn-devel-104
2010-11-18 04:29:24 +00:00
Andrew Tridgell
23e053d4a2 s4-test: rename scripting/devel/howto to scripting/devel/wintest
this won't just be for the howto anymore

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Nov 18 00:45:18 UTC 2010 on sn-devel-104
2010-11-18 00:45:18 +00:00
Andrew Tridgell
f6c66cd6ee s4-wintest: added wintest.py library
converted test-howto.py to use the wintest library.

The idea is for us to create other tests that test lots of different
interactions with windows
2010-11-18 10:59:26 +11:00
Volker Lendecke
63029eb24b s3: Fix a missing return value
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
2010-11-17 20:40:18 +00:00
Günther Deschner
98612fe793 s3-spoolss: make sure members of "BUILTIN\Print Operators" can open printers
with admin privileges.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Nov 17 15:05:02 UTC 2010 on sn-devel-104
2010-11-17 15:05:01 +00:00
Günther Deschner
ee8c035c41 s3-spoolss: add debug statement for access denied cases in OpenPrinterEx path.
Guenther
2010-11-17 15:20:15 +01:00
Günther Deschner
b432a3ba19 s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.
Guenther
2010-11-17 15:20:14 +01:00
Andrew Tridgell
0a4b7bb9a5 s4-repl: removed the syncall_workaround code
this isn't needed any more

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 17 13:41:51 UTC 2010 on sn-devel-104
2010-11-17 13:41:51 +00:00
Andrew Tridgell
6c8b0d7f27 s4-repl: save the result of the last replication in repsFrom/repsTo
when a replication fails, we should add the failure to repsFrom
when a notify fails, we need to save it to repsTo

this ensures showrepl always shows the latest status
2010-11-17 23:55:39 +11:00