summaryrefslogtreecommitdiff
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Make metze happy and the code clearer :-).Jeremy Allison2012-09-121-0/+6
| | | | | | | | Ensure we know after the destructor fires we're never going to look at this again. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 12 03:00:21 CEST 2012 on sn-devel-104
* smbd: Print ACL used to create hash in vfs_xattr_commonAndrew Bartlett2012-09-111-0/+10
| | | | | | | | | This should help us understand why sometimes an ACL set won't stick. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 11 18:19:53 CEST 2012 on sn-devel-104
* docs: Move idmap manpage to there old location.Andreas Schneider2012-09-118-891/+0
| | | | | | | 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
* quota: move function again to its belonging ifdef blockBjörn Jacke2012-09-111-11/+9
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Sep 11 04:44:28 CEST 2012 on sn-devel-104
* s3:proto.h: remove duplicate disk_quotas prototypesBjörn Jacke2012-09-111-10/+0
|
* quota: fix configure test for HP-UXBjörn Jacke2012-09-111-0/+6
| | | | | | | 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
* s3: Run raw.oplockVolker Lendecke2012-09-101-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: delete requests are not specialVolker Lendecke2012-09-101-16/+0
| | | | | | | 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>
* Call TALLOC_FREE() before we return otherwise we will never free sam_accountMichele Baldessari2012-09-101-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* 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
* 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
* 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
* 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
* 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-081-0/+3
| | | | | | | 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-082-0/+2
| | | | | | | | | | | | | | | 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-082-0/+2
| | | | | | flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
* loadparm: remove remnants of removed option "share modes"Michael Adam2012-09-081-3/+0
| | | | | | (This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* 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
* 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>
* waf: add tests for NFS quota stuffBjörn Jacke2012-09-071-0/+5
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 7 22:21:55 CEST 2012 on sn-devel-104
* waf: add test for HAVE_DQB_FSOFTLIMITBjörn Jacke2012-09-071-0/+3
|
* waf: make checks for different XFS flavoursBjörn Jacke2012-09-071-2/+20
|
* s3:autoconf: look for irix xfs only when if we didn't find the Linux one beforeBjörn Jacke2012-09-071-1/+1
|
* s3:sysquota_nfs: fix build on Tru64 et aliiBjörn Jacke2012-09-072-23/+34
| | | | | | the old Unix world put the struct rquota directly into the getquota_rslt struct, the new Unix world puts a getquota_rslt_u union in between and they decided to rename the status struct member.
* rpcserver: fix useless declaration warningBjörn Jacke2012-09-071-1/+0
| | | | issues by irix compiler
* s3:sysquota-test: include ufs/ufs/quota.h only when foundBjörn Jacke2012-09-071-0/+2
|
* s3:quota: clean up and consolidate the xfs quota checks and definesBjörn Jacke2012-09-073-12/+11
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 7 15:59:46 CEST 2012 on sn-devel-104
* s3:sysquota_xfs: fix logic so that we actually use this module on LinuxBjörn Jacke2012-09-072-8/+2
|