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
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
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
Matthias Dieter Wallnöfer
3e055cc830
ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error cases
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Nov 17 08:45:53 UTC 2010 on sn-devel-104
2010-11-17 08:45:53 +00:00
Andrew Tridgell
27df2e544a
s4-test: added testing of w2k3 DC join to test-howto.py
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
2010-11-17 01:16:19 +00:00
Andrew Tridgell
5524822a72
s4-join: fixed join to w2k3
...
w2k3 does need msDS-Behavior-Version
2010-11-17 11:30:07 +11:00
Andrew Tridgell
a82bc073e2
s4-join: show a reasonable error on DsAddEntry() failing
...
DsAddEntry() gives errors in a reply container
2010-11-17 11:30:07 +11:00
Andrew Tridgell
3f9c97dbc5
s4-join: enable NDR printing at debug levels >= 5
...
this is handy for debugging joins
2010-11-17 11:30:07 +11:00
Andrew Tridgell
73fae2b007
s4-loadparm: set debuglevel and logfile in tables
...
this allows the debug level and logfile to be queried from python
using lp.get(). Otheriwse they are set only in the globals, and not in
the tables.
2010-11-17 11:30:07 +11:00
Andrew Tridgell
f401930546
s4-loadparm: fixed a memory leak in handle_realm()
...
we need to free the lowercase and uppercase varients
2010-11-17 11:30:07 +11:00
Andrew Bartlett
deed2a935b
s4-kdc Rework supported encryption type logic to match Microsoft
...
Thanks to Hongwei Sun for the clear description of the algorithim
involved. Importantly, it isn't possible to remove encryption types
from the list, only to add them over the defaults (DES and
arcfour-hmac-md5, and additional AES for DCs and RODCs).
This changes the behaviour for entries with
msDS-supportedEncryptionTypes: 0, which Angelos Oikonomopoulos
reported finding set by ADUC when attempting to store cleartext
passwords.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 16 21:24:43 UTC 2010 on sn-devel-104
2010-11-16 21:24:43 +00:00
Matthias Dieter Wallnöfer
d451ac1f3a
s4:acl LDB module - use also here "dsdb_find_nc_root" to implement the NC-specific checks
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 16 15:12:13 UTC 2010 on sn-devel-104
2010-11-16 15:12:13 +00:00
Matthias Dieter Wallnöfer
856e309b14
s4:descriptor LDB module - also "get_default_ag" should make use of "dsdb_find_nc_root"
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
cebad70ee6
s4:descriptor LDB module - handle the NCs in a more generic way by using "dsdb_find_nc_root"
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
7cc2f98038
s4:"dsdb_find_nc_root" - let it work also when the "namingContexts" attribute isn't available yet
...
This is needed on provisioning when the modules aren't set up yet.
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
d2453b52d8
s4:descriptor LDB module - make more clear that special control entries never should be handled by modules
2010-11-16 13:29:49 +01:00
Matthias Dieter Wallnöfer
f863f434a0
s4:objectclass LDB module - the "olddn" is the special DN for rename requests
2010-11-16 13:29:49 +01:00
Kamen Mazdrashki
cce662763e
s4-schema_load: Don't clean in_transaction flag until transaction is really finished
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Nov 16 11:00:35 UTC 2010 on sn-devel-104
2010-11-16 11:00:35 +00:00
Matthias Dieter Wallnöfer
0f2904247b
s4:subtree_rename LDB module - make use of "dsdb_find_nc_root"
...
This is exactly what's needed there.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 16 08:42:07 UTC 2010 on sn-devel-104
2010-11-16 08:42:07 +00:00
Matthias Dieter Wallnöfer
71a5ea93ff
s4:objectclass LDB module - free "nc_root" after name context comparisons
2010-11-16 07:59:15 +00:00
Andrew Tridgell
f99403e45a
s4-test: fixes for test-howto.py
...
this fixes some timing issues, plus ensures we test both with and
without kerberos
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 16 07:58:55 UTC 2010 on sn-devel-104
2010-11-16 07:58:55 +00:00
Andrew Tridgell
896d1bdca2
s4-spoolss: fixed warning in call to torture_warning()
2010-11-16 07:16:04 +00:00
Andrew Tridgell
2421c0dcfb
s4-eventlog: fixed dcerpc handle return
2010-11-16 07:16:04 +00:00
Andrew Bartlett
ebd8e66ed0
samba-tool Add test for --store-plaintext
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 16 06:29:04 UTC 2010 on sn-devel-104
2010-11-16 06:29:04 +00:00
Brad Hards
c8c52be455
Update dcerpc_server.pc library name to match reality.
2010-11-16 16:42:50 +11:00
Andrew Bartlett
2e44d0d329
samba-tool pwsettings Allow setting 'store cleartext'
...
This allows the 'store cleartext' password policy flag to be (un)set.
Andrew Bartlett
2010-11-16 16:32:55 +11:00
Andrew Bartlett
95d33f2f24
s4-ldif_handlers Add handler for printing supplementalCredentials
2010-11-16 16:32:27 +11:00
Andrew Bartlett
4908237403
heimdal Build ticket with the canonical server name
...
We need to use the name that the HDB entry returned, otherwise we
will not canonicalise the reply as requested.
Andrew Bartlett
2010-11-16 15:30:13 +11:00