1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

77407 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
ec38098c29 s4:partition LDB module - fix handling regarding special DNs on searches
Normally they should always be passed to the main backend unless
something different has been specified.

Reviewed-by: abartlet

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 15 22:43:06 CET 2011 on sn-devel-104
2011-11-15 22:43:06 +01:00
Matthias Dieter Wallnöfer
793f1a5478 s4:torture/rpc/samr.c - use "NULL" instead of "0" when initialising pointers 2011-11-15 21:01:36 +01:00
Matthias Dieter Wallnöfer
0e5f8634fc s4:join.py - fix typo 2011-11-15 21:01:36 +01:00
Björn Jacke
383a918322 s3: allow to set TCP_NODELAYACK socket option on AIX
this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on
Linux

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104
2011-11-15 21:00:07 +01:00
Stefan Metzmacher
31cd1fbd2b s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULL
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
2011-11-15 18:47:55 +01:00
Stefan Metzmacher
21eb1450cc s3:smbd/aio: pass ECANCELED to the smb2 aio handlers
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
483b79cfc4 s3:smb2_read: make it possible to cancel aio reads
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
3fbf32213a s3:smb2_write: make it possible to cancel aio writes
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
2802be75e3 s3:smbd/aio: add cancel_smb2_aio()
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
0cd67698ca s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTL
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
05246ae623 s3:smb2_create: defer STATUS_PENDING for 2 seconds as before
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
88dd90d928 s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue()
metze
2011-11-15 17:14:13 +01:00
Stefan Metzmacher
693cb77b2f s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 milliseconds
In future we'll pass the delay from the caller.

metze
2011-11-15 17:14:13 +01:00
Andreas Schneider
10b285ccc2 s3-winbind: Don't fail on users without a uid.
This fixes bug #8608.

If you join samba with idmap_ad backend to an AD. When you try to
enumerate users with 'getent passwd' and the user doesn't have a uid
set, then getent is aborted cause of NT_STATUS_NONE_MAPPED. If we can't
map a user we should not stop but continue enumerating users.

This normally happens with the default user 'krbtgt' with idmap_ad but
could also happen with other backends.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Nov 15 16:52:04 CET 2011 on sn-devel-104
2011-11-15 16:52:04 +01:00
Andreas Schneider
2fe5cd20b4 s3-winbind: Make sure the map is clean. 2011-11-15 14:22:00 +01:00
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