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
Andrew Tridgell
73016ad405
s4-repl: ensure we don't starve pending replication ops
...
when there was a continuous sequence of notify ops, we could leave the
replication ops starving. This ensures we run whichever was queued
first
2010-11-17 23:55:39 +11:00
Andrew Tridgell
e17ea9f3f5
s4-kcc: fixed result_last_attempt in showrepl
2010-11-17 23:55:39 +11:00
Andrew Tridgell
9a744c634f
s4-doserr: telling our users to "see Windows help" doesn't seem right
2010-11-17 23:55:39 +11:00
Andrew Tridgell
1645190b1c
s4-provision: don't test for xattrs if posix:eadb is set
...
when it is set in smb.conf or on the command line, obey the setting
and don't try to test for system xattr support
2010-11-17 23:55:39 +11:00
Andrew Tridgell
333975d84f
s4-provision: setup posix:eadb using lp.set()
...
this allows it to override a setting made during the automatic testing
of xattr support
2010-11-17 23:55:39 +11:00
Andrew Tridgell
9432eabb2f
developer: only do the C++ reserved name checking on Linux
...
this prevents us breaking the solaris build, but will still mean we
prevent C++ vars in our code
2010-11-17 23:55:39 +11:00
Andrew Tridgell
d7ea449049
s4-provision: don't try to autodetect xattr is posix:eadb is set
...
when posix:eadb is set then we know we should be using an eadb
2010-11-17 23:55:39 +11:00
Andrew Tridgell
1a65180728
s4-heimdal: ask for non-atomic heimdal
...
this allows us to build with compilers other than gcc
2010-11-17 23:55:39 +11:00
Andrew Tridgell
e7dad42bc6
heimdal: added HEIM_BASE_NON_ATOMIC option
...
This allows heimdal to build without gcc, by not using atomic
operations. We don't need heimdal to be atomic in Samba.
2010-11-17 23:55:39 +11:00
Andrew Tridgell
6041938908
s4-test: updates to test-howto.py
...
- handle clock skew using "net time" on windows after we open the
telnet connection
- allow checking for result lists in order
- replicate all partitions after vampiring so we don't need
to wait for periodic replication
- use a krb5 ccache in the prefix for kinit based tests
The complete test suite now passes on my system, taking just over 13
minutes to complete
2010-11-17 23:55:39 +11:00
Andrew Tridgell
0cf7189d4a
s4-heimdal: implement KERB_AP_ERR_TYPE_SKEW_RECOVERY
...
this e_data field in a kerberos error packet tells windows to do clock
skew recovery.
See [MS-KILE] 2.2.1 KERB-ERROR-DATA
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-17 23:55:39 +11:00
Andrew Tridgell
5f655e99a1
s4-gensec: zero the gssapi_state
...
this fixes a use of the target_principal before initialisation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-17 23:55:38 +11:00
Andrew Tridgell
1887ce87e4
s4-provision: use the command line lp in provision
...
this ensures that provision options are stored in the generated
smb.conf
2010-11-17 23:55:38 +11:00
Andrew Tridgell
292003343e
s4-provision: add log messages about IP lookup
...
the IPv6 lookup can be very slow if a DNS server in the search list is
unavailable. It's good to let the user know what its doing.
2010-11-17 23:55:38 +11:00
Andrew Tridgell
60449d561d
s4-dns: catch more expections in samba_dnsupdate
2010-11-17 23:55:38 +11:00
Volker Lendecke
d1c1aaeb8b
s3: Remove a reference to "winbindd_cli_state" from append_auth_data
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 17 12:02:34 UTC 2010 on sn-devel-104
2010-11-17 12:02:34 +00:00
Volker Lendecke
bdf830ac61
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_txt
2010-11-17 12:17:22 +01:00
Volker Lendecke
75f41c304a
s3: Remove a reference to "winbindd_cli_state" from append_afs_token
2010-11-17 12:17:22 +01:00
Volker Lendecke
5b0724d228
s3: Remove a reference to "winbindd_cli_state" from append_info3_as_ndr
2010-11-17 12:17:22 +01:00