Volker Lendecke
7cf0443159
s3: Fix a winbind crash
...
nss_get_info_cached might deep inside sequence_number() invalidate the
ads_struct without telling its callers.
2010-06-25 12:54:15 +02:00
Volker Lendecke
a9523f17ea
s3: Fix a winbind crash
...
nss_get_info_cached might have invalidated "ads" deep inside.
2010-06-25 12:54:15 +02:00
Matthieu Patou
5c98ccd706
s4 python: Add unit tests related to PyLong/PyInt handling
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-25 11:33:33 +02:00
Matthieu Patou
3fc9675e93
ldb: Fix a wrong changetype in unit test
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-25 11:33:26 +02:00
Matthieu Patou
7703b89ae5
pidl: Finish to fix the python generated code for 64bit integers
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-25 11:33:16 +02:00
Jelmer Vernooij
0802f354ea
smbtorture: Fix loading of --load-list.
2010-06-25 11:32:59 +02:00
Jelmer Vernooij
653b30f91f
selftest: Clarify generation of idlist option.
2010-06-25 11:32:59 +02:00
Matthias Dieter Wallnöfer
408a3aa308
s4:lib/registry/ldb.c - cosmetic - fix comment
2010-06-25 08:48:31 +02:00
Matthias Dieter Wallnöfer
14386e6ec5
s4:lib/registry/ldb.c - cosmetic - wrap lines
2010-06-25 08:48:08 +02:00
Michael Wood
92cfc63287
s4 upgradeprovision: Try to support older Pythons.
...
Use "...".split(sep, 1) instead of "...".partition(sep).
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-25 08:46:13 +02:00
Kamen Mazdrashki
163ed44903
s4/drs: DsReplicaSync should search partition to Sync
...
by any valid DSName attribute given, be it - partition DN,
partition GUID or partition SID
2010-06-25 04:51:59 +03:00
Kamen Mazdrashki
e40635c48d
s4/utils: fix few 'net drs replicate' error messages
...
mainly for the output to be more informative
2010-06-25 04:51:58 +03:00
Kamen Mazdrashki
0dd6a759ed
s4/drs-test: Tests Deleted objects replication
...
Tests how deleted objects are replicated between two DCs.
Currently the test exploits following vulnerabilities:
- DsReplicaSync is not correctly implemented
- a 'deleted object' is restored (kind of) in case DC1 replicates
from DC2 before the 'deleted object' is replicated
2010-06-25 04:51:58 +03:00
Jelmer Vernooij
e0aa54d0ed
selftest: Store the output of the last test run in st/subunit.
...
If a testrepository repository is present, add the test output when it
has completed.
2010-06-25 01:21:14 +02:00
Jelmer Vernooij
700fcfbc63
pidl/python: Make sure to always increment reference counter when using
...
Py_None.
2010-06-25 00:16:18 +02:00
Jelmer Vernooij
4a75cb9cd5
pidl/python: Increment reference counter on Py_None to prevent us from
...
accidentally deallocating it.
2010-06-24 23:17:51 +02:00
Aravind Srinivasan
7e49a58ab9
s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for RAW-QFILEINFO
...
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-24 08:22:25 -07:00
Michael Adam
2a0340baa3
s3:registry: remove unused function normalize_dbkey()
2010-06-24 15:36:21 +02:00
Michael Adam
5cac4e648c
s3:registry: use normalize_reg_path() in regdb_set_secdesc()
...
instead of normalize_dbkey
2010-06-24 15:36:20 +02:00
Michael Adam
4c948251d9
s3:registry: use normalize_reg_path() in regdb_get_secdesc()
...
instead of normalize_dbkey.
2010-06-24 15:36:20 +02:00
Matthias Dieter Wallnöfer
8ad01613f6
Revert "s4:provision.ldif - fix the number of available RIDs"
...
This reverts commit 41cdcd54b7
.
As per request of metze revert this (cause written on the mailing list).
2010-06-24 15:13:40 +02:00
Matthias Dieter Wallnöfer
0f45536279
s4:auth/gensec/gensec_gssapi.c - reorder constructor
...
To have the same order as in the structure definition.
2010-06-24 15:13:40 +02:00
Andrew Tridgell
0be1820718
s4-ldb: use CHECK_XSLTPROC_MANPAGES()
2010-06-24 18:46:57 +10:00
Andrew Tridgell
f6e46ee0fb
build: check if the manpages stylesheet is available locally
...
this avoids trying to fetch the stylesheet from the internet. If we
can't process the stylesheet with --nonet at configure time then don't
build manpages.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Andrew Tridgell
4cb423f527
s4-python: python is not always in /usr/bin
...
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Matthias Dieter Wallnöfer
41cdcd54b7
s4:provision.ldif - fix the number of available RIDs
...
There should be 4611686014132422209 and not 4611686014132422109.
2010-06-24 10:04:53 +02:00
Matthias Dieter Wallnöfer
fec489bd87
s4:provision.ldif - this Win2003 revision level seems always to be "9" on Windows Server 2008 machines
2010-06-24 10:04:53 +02:00
Matthias Dieter Wallnöfer
64e19ef9fb
s4:provision_users.ldif - change a group description to be correct
2010-06-24 10:04:52 +02:00
Matthias Dieter Wallnöfer
560620a53d
s4:upgradeprovision - fix include order for "ldb"
...
Patch originally posted on the list by Matthieu Patou.
2010-06-24 10:04:52 +02:00
Endi S. Dewata
e228b67e56
s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names into local names as defined in simple_ldap_map.c.
2010-06-24 10:04:51 +02:00
Matthias Dieter Wallnöfer
e88f37daa0
s4:setup/provision.reg - raise version to Windows Server 2008 R2
2010-06-24 10:04:50 +02:00
Matthias Dieter Wallnöfer
b172b7f467
s4:libnet_join.c - always use LDB constants
2010-06-24 10:04:48 +02:00
Jeremy Allison
f34db12d7f
Add parse_setjob_command() to make setting job state easier for users.
...
Jeremy.
2010-06-23 13:25:15 -07:00
Günther Deschner
ba40f38281
s4-smbtorture: test more valid key names in RPC-WINREG.
...
Guenther
2010-06-23 15:35:41 +02:00
Günther Deschner
2dc50ec44c
s4-smbtorture: more work on test values WINREG test.
...
Guenther
2010-06-23 15:35:41 +02:00
Lukasz Zalewski
740c97b513
Fix to undo nasty hack for for grouptype conversion
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-23 14:49:02 +02:00
Jelmer Vernooij
c5d07d2a1a
Per Andrews request, revert
...
"heimdal/waf: Initial work on making it possible to use the system"
as the hdb_check_s4u2self function handling is incorrect.
This reverts commit b099631f42
.
2010-06-23 14:49:02 +02:00
Günther Deschner
714c926cf0
s4-smbtorture: add test for different winreg SetValue value names.
...
Guenther
2010-06-23 12:16:12 +02:00
Andrew Bartlett
ff5ace20a2
s4:selftest Fix up netbios names for rpc_echo test
2010-06-23 20:10:12 +10:00
Andrew Bartlett
aba99e4464
s4:selftest For the moment the server role '2008_R2' is case sensitive
2010-06-23 20:10:11 +10:00
Andrew Bartlett
58a7b9af3f
s4:selftest Change netbios aliases to shorter names.
...
This makes the netbios names more sensible, and the aliases shorter.
(the name localfl2008rc2dc7 was too long...)
Andrew Bartlett
2010-06-23 20:10:10 +10:00
Andrew Bartlett
1acd49c524
s4:selftest Add 2003 and 2008R2 test environments and tests
...
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
2010-06-23 20:10:08 +10:00
Andrew Bartlett
86ed5eb892
s4:net Remove warnings for 2000 native mode and Samba4.
...
We now support 2000 native mode, and so we just need to warn about mixed mode.
Andrew Bartlett
2010-06-23 20:10:07 +10:00
Andrew Bartlett
d0f52ddac2
s4:provision Raise default max functional level to 2008R2
...
We don't support many of the extra features, but that applies across many
other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants.
This also makes it possible to test 2008R2 domain code in 'make test'
Andrew Bartlett
2010-06-23 20:10:06 +10:00
Andrew Bartlett
b26125b7d3
s4:provision Remove am_rodc from Schema
...
The SamDB created in the schema code isn't real enough to care if it's an
rodc or not.
2010-06-23 20:10:05 +10:00
Andrew Bartlett
ebc2da10cd
s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes
...
We need this for our DC to have clients use AES keys to us
2010-06-23 20:10:04 +10:00
Andrew Bartlett
c4482bf53e
libds:common Remove DS_DC_* domain functionality flags
...
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set.
Andrew Bartlett
2010-06-23 20:10:03 +10:00
Andrew Bartlett
80701e5f29
s4:kdc Use msDS-SupportedEncTypes in our KDC
...
We need to honour this, otherwise we will send AES-encrypted tickets
to unprepared Kerberos targets.
Andrew Bartlett
2010-06-23 20:10:01 +10:00
Andreas Schneider
06ed6667be
doc: Remove the documentation of the sequence command of wbinfo.
...
The command is deprecated, see --online-status.
2010-06-23 11:01:58 +02:00
Andreas Schneider
790d01cb2e
wbinfo: Document the deprecated sequence option correctly.
...
I didn't find a way in popt to hide it.
2010-06-23 11:01:58 +02:00