Michael Adam
a4358f6ffd
s4:torture:smb2: add a durable-open.delete_on_close2 test
...
This test verifies that the delete on close flag is kept during
a disconnect and is still active on the reconnected handle.
When the reconnected handle is closed, the file is deleted.
2012-09-11 14:29:54 +02:00
Michael Adam
675871f7a7
selftest: pass smb2.durable-open.delete_on_close1
2012-09-11 14:29:54 +02:00
Michael Adam
f244b29949
selftest: smb2.durable-open.delete_on_close1 is not flapping any more
...
The entry into flapping was not effective anyways since, the test
was also listed in knownfail...
2012-09-11 14:29:54 +02:00
Michael Adam
3d7196d0a4
s4:torture:smb2: fix the durable-open.delete_on_close1 test
...
This test used to flap because there was an invalid check of
the file-id. This might or might not be the same after a
new open. Hence the flapping.
The new version simply opens a file as durable handle with
delete_on_close set, writes a byte and closes the file.
Then on a new connect, the file is opened again, and it is checked
that the file has been created (again) and that it is empty.
2012-09-11 14:29:54 +02:00
Michael Adam
d237427f18
lib/replace: remove duplicate check for inotify
2012-09-11 14:29:54 +02:00
Andreas Schneider
b6576686f9
docs: Move idmap manpage to there old location.
...
This wasn't planned and slipped trough, sorry.
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Sep 11 14:28:53 CEST 2012 on sn-devel-104
2012-09-11 14:28:52 +02:00
Karolin Seeger
b719e67704
docs: Bump version up to 4.0.
...
Karolin
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Tue Sep 11 12:37:17 CEST 2012 on sn-devel-104
2012-09-11 12:37:17 +02:00
Stefan Metzmacher
5b4a7aea17
selftest/Samba4: make use of samba-tool domain provision
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
2012-09-11 10:15:23 +02:00
Stefan Metzmacher
1d085f6eb1
wintest: make use of samba-tool domain provision
...
metze
2012-09-11 08:35:57 +02:00
Stefan Metzmacher
52ba3c8e6a
testprogs/blackbox: make use of samba-tool domain provision
...
metze
2012-09-11 08:35:57 +02:00
Stefan Metzmacher
fdd2a7e65f
s4:setup/tests: make use of samba-tool domain provision
...
metze
2012-09-11 08:35:56 +02:00
Stefan Metzmacher
318770a67f
s4:scripting: install samba_kcc to SBINDIR
...
It's use as "%s/samba_kcc", dyn_SCRIPTSBINDIR" similar
to samba_spnupdate and samba_dnsupdate.
metze
2012-09-11 08:35:56 +02:00
Stefan Metzmacher
15c793fa34
s4:scripting: use the 'sbin_files' variable
...
metze
2012-09-11 08:35:56 +02:00
Stefan Metzmacher
a4fc79f8fc
s4:samba-tool: add 'samba-tool domain provision'
...
This is mostly a copy of the standalone source4/setup/provision.
metze
2012-09-11 08:35:49 +02:00
Stefan Metzmacher
ca3f285390
s4:python/netcmd: give the Commad implementations access to the raw arguments
...
metze
2012-09-11 08:23:56 +02:00
Stefan Metzmacher
7f98cf1698
s4:samba-tool: remove unused code in testparm.py
...
metze
2012-09-11 08:23:56 +02:00
Stefan Metzmacher
475755ef9f
s4:samba-tool: allow sys.exit(ret) to control the exit code
...
Some subcommands may use sys.exit(0), which shouldn't be reported
as an error to the caller.
metze
2012-09-11 08:23:55 +02:00
Björn Jacke
5de7a3d739
quota: move function again to its belonging ifdef block
...
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Tue Sep 11 04:44:28 CEST 2012 on sn-devel-104
2012-09-11 04:44:28 +02:00
Björn Jacke
da747faad2
s3:proto.h: remove duplicate disk_quotas prototypes
2012-09-11 03:05:17 +02:00
Björn Jacke
f602640769
quota: fix configure test for HP-UX
...
while HP-UX does have the 4A quota interface our test failed due to a missing
function prototype in HP-UX and our test running in strict mode with
compile warnings be errors. So let's make our own prototype in the test when we
are on HP*UX
2012-09-11 03:05:17 +02:00
Jeremy Allison
6a1fa3e0a7
samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).
...
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 11 02:30:55 CEST 2012 on sn-devel-104
2012-09-11 02:30:53 +02:00
Volker Lendecke
79f05247d5
s3: Run raw.oplock
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:58:51 -07:00
Volker Lendecke
814dc3c62b
smbtorture: Test that delete requests are not special
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:58:51 -07:00
Volker Lendecke
ab709544f4
s3: delete requests are not special
...
The only difference between batch and exclusive oplocks is the time of
the check: Batch is checked before the share mode check, exclusive after.
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:58:51 -07:00
Michele Baldessari
008bb29023
Set trans to a value that is not LDB_SUCCESS (all LDB_ constants are
...
positive) so that any "goto failed:" call does not end up calling
ldb_transaction_cancel() if trans is initialized to 0 (LDB_SUCCESS)
by chance.
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:58:28 -07:00
Michele Baldessari
da731c1c58
Call TALLOC_FREE() before we return otherwise we will never free sam_account
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:48:00 -07:00
Jeremy Allison
ba5f557b5d
Fix talloc memory heirarchy bug. If there's an SMB2 sessionsetup in flight when we're shut down, we end up freeing the struct smbXsrv_session *session pointer twice.
...
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Sep 10 23:34:06 CEST 2012 on sn-devel-104
2012-09-10 23:34:06 +02:00
Jeremy Allison
cfeac09fc0
Fix bug #9147 - winbind can't fetch user or group info from AD via LDAP
...
Don't use "isprint" in ldb_binary_encode(). This is locale specific.
Restrict to ASCII only, hex encode everything else.
2012-09-10 21:56:34 +02:00
Björn Jacke
56d97d1729
wafbuild: add defines for linux quota and sysquota support
...
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
2012-09-10 21:55:53 +02:00
Christian Ambach
624e51a21a
s3:smbd Bump the smbd vfs interface version to 30
...
that is what Samba 4.0.0 will ship with
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Mon Sep 10 19:40:01 CEST 2012 on sn-devel-104
2012-09-10 19:40:01 +02:00
Christof Schmitt
5765d73f72
s3:vfs/time_audit: Add back pointer for sys_acl_delete_def_file_fn
...
Commit e25830dcd87387a237b96f0d70deb204a5bf0a54 removed the function
pointer from the time_audit module, although the VFS function still
exists. Add the function pointer again in time_audit as this seems
to be an accidentally deletion.
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-09-10 17:58:19 +02:00
Ralph Wuerthner
dc9b622d75
s3:vfs/time_audit: add path names to log messages
...
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-09-10 17:58:19 +02:00
Christian Ambach
cf7f68503d
s3:client use more access bits for snapshot display
...
otherwise Windows server will reject the request for shadow copy enumeration
with access denied
2012-09-10 17:58:19 +02:00
Michael Adam
ab33691271
docs:build: make target "manpages" .PHONY, so manpages do get built...
...
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Sep 10 17:55:20 CEST 2012 on sn-devel-104
2012-09-10 17:55:20 +02:00
Alexander Bokovoy
d709748070
s3-passdb: update abi_match and ignore more statically linked functions
...
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Sep 10 16:14:50 CEST 2012 on sn-devel-104
2012-09-10 16:14:50 +02:00
Karolin Seeger
54f1ce4c79
docs: Rename htmlman3 -> htmlman.
...
Karolin
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Sep 10 14:19:42 CEST 2012 on sn-devel-104
2012-09-10 14:19:42 +02:00
Stefan Metzmacher
06809f4ba9
s4:provision: ask the admin about the desired DNS implementation
...
In interactive mode we should let the admin confirm which
implementation he wants.
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Sep 10 11:45:08 CEST 2012 on sn-devel-104
2012-09-10 11:45:08 +02:00
Matthieu Patou
e3b6b465ee
Force cast to long as on some platform tv_usec is 32bit long
...
Autobuild-User(master): Matthieu Patou <mat@samba.org>
Autobuild-Date(master): Mon Sep 10 07:33:50 CEST 2012 on sn-devel-104
2012-09-10 07:33:50 +02:00
Matthieu Patou
9eb91a5055
uid_t is a synonym for int on osX
...
This function is clearly osX oriented so we adapt the modifier to the
target
2012-09-10 05:57:21 +02:00
Matthieu Patou
f2ec75c7df
osX define uint64_t as long long int
2012-09-10 05:57:21 +02:00
Michael Adam
e5ecef6639
WHATSNEW: list SMB3 as max protocol and durable handles as changes since 4.0 beta8
...
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Sep 10 02:58:49 CEST 2012 on sn-devel-104
2012-09-10 02:58:49 +02:00
Michael Adam
ebdf147d4a
docs: describe the new parameter "durable handles" in the smb.conf manpage
2012-09-10 01:06:54 +02:00
Michael Adam
24914531fc
docs: add desciption of new parameter "kernel share modes" to the smb.conf manpage
2012-09-10 01:06:51 +02:00
Michael Adam
4811e5852b
docs: have configure correctly report ability to build manpages
2012-09-10 01:06:50 +02:00
Michael Adam
eb4483e63c
release-scripts: adapt build-manpages-nogit to renamed manpage directory
2012-09-10 01:06:49 +02:00
Michael Adam
f5da2c1356
release-scripts: adapt build-manpages-git to moved manpage directory
2012-09-10 01:06:48 +02:00
Björn Jacke
2ea0f6c00d
s3:quota-nfs: add RQ_PATHLEN define for systems that don't have it
...
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Sep 9 17:44:51 CEST 2012 on sn-devel-104
2012-09-09 17:44:51 +02:00
Björn Jacke
79df06ed00
s3:quota-nfs: another build fix for the old Unix world
2012-09-09 15:59:42 +02:00
Björn Jacke
b89d9887e8
s3: fix wrong invocations of talloc_realloc
2012-09-09 15:43:51 +02:00
Stefan Metzmacher
7a51c5e469
selftest/knownfail: we pass some samba3.smb2.durable-* tests now
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep 8 23:18:39 CEST 2012 on sn-devel-104
2012-09-08 23:18:39 +02:00