Andreas Schneider
6cf090070e
s3-winbind: Increase the negative cache entry timout.
...
The timout for the cache entry of a negative connection should be the
double of a connect timeout (which is 30 seconds).
2011-11-15 14:22:00 +01:00
Stefan Metzmacher
c1fd56fdd4
s4:dsdb/schema_data: reject schema update unless they're allowed
...
"dsdb:schema update allowed = yes" is now needed in smb.conf
to enable schema updates, as schema updates are a currenty a good
way to prevent samba from startup again, because of errors in
the schema definition.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Nov 15 13:00:07 CET 2011 on sn-devel-104
2011-11-15 13:00:07 +01:00
Stefan Metzmacher
0be0da9650
selftest/Samba4: allow schema updates
...
metze
2011-11-15 09:46:30 +01:00
Stefan Metzmacher
e7e9f1e2dd
s4:dsdb/schema: add "dsdb:schema update allowed" option to enable schema updates
...
By default schema updates are not allowed anymore, as we don't have
complete validation code to prevent database corruption.
metze
2011-11-15 09:46:30 +01:00
Stefan Metzmacher
be091eddec
s4:dsdb/schema_data: reject changes to schemaInfo, msDs-Schema-Extensions, msDS-IntId
...
As windows we return CONSTRAINT_VIOLATION now.
metze
2011-11-15 09:46:29 +01:00
Stefan Metzmacher
38868c8b7f
s4:dsdb/schema_data: make sure we reject schema changes if we're not the schema master
...
metze
2011-11-15 09:46:29 +01:00
Stefan Metzmacher
76b99bb379
s4:dsdb/schema_data: make sure we only allow objects one level below the schema base
...
The objectclass module should also check for this, but make sure
we also reject it on things like provision.
metze
2011-11-15 09:46:29 +01:00
Stefan Metzmacher
6d3558a8f6
s4:libnet_vampire: setup base_dn on the self_made_schema
...
metze
2011-11-15 09:46:28 +01:00
Stefan Metzmacher
b33c711851
s4:libnet_vampire: use dsdb_modify(..., DSDB_FLAG_AS_SYSTEM) to store prefixMap
...
metze
2011-11-15 09:46:28 +01:00
Stefan Metzmacher
28d573168c
s4:param/provision: pass schema_dn to provision_get_schema()
...
metze
2011-11-15 09:46:27 +01:00
Stefan Metzmacher
75ae19422b
s4:dsdb/schema: pass and remember the schema_dn in dsdb_set_schema_from_ldif()
...
metze
2011-11-15 09:46:27 +01:00
Stefan Metzmacher
e6a9e1dda9
s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()
...
metze
2011-11-15 09:46:26 +01:00
Stefan Metzmacher
18eba021e7
s4:python/samba/schema: pass down the schema_dn to set_from_ldif()
...
metze
2011-11-15 09:46:26 +01:00
Stefan Metzmacher
54a9a47a91
s4:dsdb/samldb: use DSDB_FLAG_AS_SYSTEM in samldb_schema_info_update()
...
We should only be able to update the schemaInfo internaly.
metze
2011-11-15 09:46:26 +01:00
Stefan Metzmacher
236e6fecda
s4:libnet: initialize forest structure in py_net_replicate_init()
...
metze
2011-11-15 09:46:25 +01:00
Giampaolo Lauria
2611003258
samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"
...
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
2011-11-15 02:51:15 +01:00
Giampaolo Lauria
f057cb4f84
samba-tool: Remove "domain machinepassword" command
...
As per Andrew Bartlett's comment:
"we should remove it. This was originally a script to support some
interactions between samba3 and samba4, when they were in distinct build
systems. We now can call between the two systems without difficulty at
runtime, so this command has no value."
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
2011-11-15 11:12:07 +11:00
Günther Deschner
d48f08fefb
s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
2011-11-14 20:21:48 +01:00
Günther Deschner
e80e218152
s3-modules: remove the last "init_module" traces.
...
Guenther
2011-11-14 18:44:41 +01:00
Jelmer Vernooij
f0117237fa
Fix default value for subunitrun --list.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
2011-11-14 17:27:02 +01:00
Jelmer Vernooij
042f3fe5f6
selftesthelpers: Revert perl changes, add comment on why the original code was necessary.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
5cf31eb592
s4-tests: Use plansmbtorturesuite where possible.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
faa4eb5d1a
s4-tests: Remove unnecessary py suffix.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
6321d5bf97
s4-tests: Allow listing tests run for iconv.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
11a77fe2d7
subunitrun: Don't load smb.conf when just listing tests.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
f625d362d7
Remove broken code - these lines use undefined symbols.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
03759fe022
waf: Fix uselib_store for system libsubunit.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
38495995c9
selftesthelpers: Cope with empty binary mappings list, simplify handling of perl.
2011-11-14 15:49:36 +01:00
Stefan Metzmacher
17c529a35f
s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"
...
As it uses local files on the dc.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
2011-11-14 15:48:33 +01:00
Stefan Metzmacher
b4428d771f
selftest/selftesthelpers.py: construct a fullname with env in plantestsuite_idlist()
...
Like we already do for plantestsuite_loadlist()
metze
2011-11-14 14:11:28 +01:00
Stefan Metzmacher
77c73f1d92
selftest: planpythontestsuite() should fill 'name' is it's None
...
Otherwise make test shows tests with name "None".
metze
2011-11-14 14:11:28 +01:00
Stefan Metzmacher
72cabbbe50
s3:smb2_flush: outbody only needs 4 bytes
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
2011-11-14 10:01:30 +01:00
Jelmer Vernooij
7846bc613d
Move testr configuration to root.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 13 23:19:27 CET 2011 on sn-devel-104
2011-11-13 23:19:27 +01:00
Jelmer Vernooij
86afe83d86
waf: Factor checking for undefined symbol flags out into separate method.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13 19:38:38 +01:00
Jelmer Vernooij
af5c6fba68
waf: Simplify handling of python modules.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
126209d2e5
Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
3585abcd4c
pytdb: Shorter description which fits on a single line.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
a4c2ba66cb
testtools: Import new upstream snapshot.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
9250177ae7
subunit: Import new upstream snapshot.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
0966be49a0
wafsamba: Support allow_undefined_symbols in SAMBA_SUBSYSTEM.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
2f29133491
wafsambaa: Support libraries that don't have the same name as their pkg-config file.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
c526078806
ldb: Only check for pkg-config file when checking for system ldb.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
b929cd2c09
tevent: Only check for pkg-config file when checking for system tevent.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
774f85649b
tdb: Only check for pkg-config file when checking for system tdb.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
39ba9b93d7
talloc: Only check for pkg-config file when checking for system talloc.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
2c388a40cc
subunit: Only check for pkg-config file and use proper pkg-config file name.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
f429b166b6
wafsamba: add CHECK_BUNDLED_SYSTEM_PKG function.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
5e8dee8d96
tevent: Only build pytevent if the system doesn't provide it.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
8aa988a455
ldb: Use pyembed rather than pyext for ldb-util library.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
011707dee8
tevent: remove unnecessary enablement.
2011-11-13 18:06:06 +01:00