summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix talloc memory heirarchy bug. If there's an SMB2 sessionsetup in flight ↵Jeremy Allison2012-09-101-5/+36
| | | | | | | 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
* Fix bug #9147 - winbind can't fetch user or group info from AD via LDAPJeremy Allison2012-09-101-2/+4
| | | | | Don't use "isprint" in ldb_binary_encode(). This is locale specific. Restrict to ASCII only, hex encode everything else.
* wafbuild: add defines for linux quota and sysquota supportBjörn Jacke2012-09-101-0/+8
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
* s3:smbd Bump the smbd vfs interface version to 30Christian Ambach2012-09-101-1/+2
| | | | | | | 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
* s3:vfs/time_audit: Add back pointer for sys_acl_delete_def_file_fnChristof Schmitt2012-09-101-0/+1
| | | | | | | | | 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>
* s3:vfs/time_audit: add path names to log messagesRalph Wuerthner2012-09-101-80/+170
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:client use more access bits for snapshot displayChristian Ambach2012-09-101-1/+2
| | | | | otherwise Windows server will reject the request for shadow copy enumeration with access denied
* docs:build: make target "manpages" .PHONY, so manpages do get built...Michael Adam2012-09-101-1/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Sep 10 17:55:20 CEST 2012 on sn-devel-104
* s3-passdb: update abi_match and ignore more statically linked functionsAlexander Bokovoy2012-09-102-17/+21
| | | | | Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Mon Sep 10 16:14:50 CEST 2012 on sn-devel-104
* docs: Rename htmlman3 -> htmlman.Karolin Seeger2012-09-104-7/+7
| | | | | | | Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Sep 10 14:19:42 CEST 2012 on sn-devel-104
* s4:provision: ask the admin about the desired DNS implementationStefan Metzmacher2012-09-101-0/+6
| | | | | | | | | | 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
* Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou2012-09-101-2/+2
| | | | | Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Sep 10 07:33:50 CEST 2012 on sn-devel-104
* uid_t is a synonym for int on osXMatthieu Patou2012-09-101-1/+1
| | | | | This function is clearly osX oriented so we adapt the modifier to the target
* osX define uint64_t as long long intMatthieu Patou2012-09-101-1/+1
|
* WHATSNEW: list SMB3 as max protocol and durable handles as changes since 4.0 ↵Michael Adam2012-09-101-0/+27
| | | | | | | beta8 Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Sep 10 02:58:49 CEST 2012 on sn-devel-104
* docs: describe the new parameter "durable handles" in the smb.conf manpageMichael Adam2012-09-101-0/+27
|
* docs: add desciption of new parameter "kernel share modes" to the smb.conf ↵Michael Adam2012-09-101-0/+31
| | | | manpage
* docs: have configure correctly report ability to build manpagesMichael Adam2012-09-101-1/+1
|
* release-scripts: adapt build-manpages-nogit to renamed manpage directoryMichael Adam2012-09-101-2/+2
|
* release-scripts: adapt build-manpages-git to moved manpage directoryMichael Adam2012-09-101-2/+2
|
* s3:quota-nfs: add RQ_PATHLEN define for systems that don't have itBjörn Jacke2012-09-091-0/+4
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 9 17:44:51 CEST 2012 on sn-devel-104
* s3:quota-nfs: another build fix for the old Unix worldBjörn Jacke2012-09-091-1/+1
|
* s3: fix wrong invocations of talloc_reallocBjörn Jacke2012-09-091-2/+2
|
* selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher2012-09-084-14/+14
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 23:18:39 CEST 2012 on sn-devel-104
* s3:vfs_default: add basic support for durable handle request and reconnectMichael Adam2012-09-086-3/+610
| | | | | | | | | | | | We only grant durable handles for CIFS/SMB2 only access, that means "kernel oplocks", "kernel share modes" and "posix locking" need to be set to "no". For now we also don't grant durable handles if delete on close is active on the handle. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Pair-Programmed-With: Volker Lendecke <vl@samba.org>
* s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam2012-09-084-0/+12
| | | | | | | | | | | | | | | This is in order to be able to turn durable handles off and on on a per share basis. Note: This is only used in combination with: kernel share modes = no kernel oplocks = no posix locking = no Which means CIFS/SMB2 only access. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: make fd_open() publicMichael Adam2012-09-082-4/+6
|
* s3:smbd: don't set kernel flock if "kernel share modes = no"Michael Adam2012-09-081-1/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 13:05:05 CEST 2012 on sn-devel-104
* s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam2012-09-084-0/+12
| | | | | | flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
* loadparm: remove remnants of removed option "share modes"Michael Adam2012-09-082-4/+0
| | | | | | (This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest/Samba3: don't explicitly set 'server max protocol'Stefan Metzmacher2012-09-081-1/+0
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 05:15:00 CEST 2012 on sn-devel-104
* docs-xml: change "server max protocol" to "SMB3"Stefan Metzmacher2012-09-081-1/+1
| | | | metze
* s3:param: change "server max protocol" to "SMB3"Stefan Metzmacher2012-09-081-1/+1
| | | | metze
* s3:smbd: add basic support for durable handle v2 request and reconnectMichael Adam2012-09-081-2/+129
| | | | | | | This does not yet cover persistent handle support which is also negotiated through these create request blobs. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: add basic support for durable handle request and reconnectMichael Adam2012-09-081-46/+203
| | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Pair-Programmed-With: Volker Lendecke <vl@samba.org>
* s3:smbd: initial durable handle support: special treatment of durable ↵Michael Adam2012-09-081-0/+44
| | | | | | handles in close Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:vfs: add durable VFS operationsMichael Adam2012-09-084-1/+128
| | | | | | This allows a VFS module to implement durable handles in different ways. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: add disconnected checks to the open code.Stefan Metzmacher2012-09-081-0/+31
| | | | | | (delay_for_batch_oplocks, open_mode_check, and delay_for_exclusive_oplocks) Pair-Programmed-With: Michael Adam <obnox@samba.org>
* s3:smbd: also close durable file handles in a tdisMichael Adam2012-09-081-2/+9
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:locking: add brl_mark_disconnected() and brl_reconnect_disconnected()Stefan Metzmacher2012-09-082-0/+127
| | | | Pair-Programmed-With: Michael Adam <obnox@samba.org>
* s3:locking: add mark_share_mode_disconnected()Stefan Metzmacher2012-09-082-0/+40
| | | | Pair-Programmed-With: Michael Adam <obnox@samba.org>
* s3:smbXsrv_open: add smb2srv_open_recreate() to support durable handlesStefan Metzmacher2012-09-082-1/+210
| | | | metze
* s3:smbXsrv.idl: add properties for durable handles to smbXsrv_open_global0Stefan Metzmacher2012-09-081-0/+8
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:quota: don't add the string '"' into the argument listBjörn Jacke2012-09-081-2/+2
| | | | | | | | | this is not used to quote or anything else. This is mainly causing work for the script writer who has to remove the quote stings again :-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Sep 8 03:13:13 CEST 2012 on sn-devel-104
* doc: improve quotacommand man page docuBjörn Jacke2012-09-082-25/+29
|
* s3: Fix a panic when shutting downVolker Lendecke2012-09-081-10/+32
| | | | | | | | | | | | | | | When a client disconnects while we have aio open, there is no close request that cleans up. We can't send out the replies anymore, so just drop the aio requests that are pending. Found using the new python lib writing multiple files simultaneously TODO: check tdis and logoff Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 01:27:34 CEST 2012 on sn-devel-104
* s3:lib: use includes.h with cbuf and srprsGregor Beck2012-09-073-12/+1
| | | | | | hopefully fixes build on hpux Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam2012-09-071-27/+27
| | | | | | I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam2012-09-071-17/+27
| | | | | | | | | connection only And do a tcp disconnect followed by a session reconnect instead of immediately using the already opened second connection. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam2012-09-071-1/+1
| | | | | | The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>