summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10s3:client use more access bits for snapshot displayChristian Ambach1-1/+2
otherwise Windows server will reject the request for shadow copy enumeration with access denied
2012-09-10s3-passdb: update abi_match and ignore more statically linked functionsAlexander Bokovoy2-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
2012-09-10uid_t is a synonym for int on osXMatthieu Patou1-1/+1
This function is clearly osX oriented so we adapt the modifier to the target
2012-09-09s3:quota-nfs: add RQ_PATHLEN define for systems that don't have itBjörn Jacke1-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
2012-09-09s3:quota-nfs: another build fix for the old Unix worldBjörn Jacke1-1/+1
2012-09-09s3: fix wrong invocations of talloc_reallocBjörn Jacke1-2/+2
2012-09-08selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher1-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
2012-09-08s3:vfs_default: add basic support for durable handle request and reconnectMichael Adam6-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>
2012-09-08s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam2-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>
2012-09-08s3:smbd: make fd_open() publicMichael Adam2-4/+6
2012-09-08s3:smbd: don't set kernel flock if "kernel share modes = no"Michael Adam1-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
2012-09-08s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam2-0/+2
flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-08loadparm: remove remnants of removed option "share modes"Michael Adam1-3/+0
(This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-08s3:param: change "server max protocol" to "SMB3"Stefan Metzmacher1-1/+1
metze
2012-09-08s3:smbd: add basic support for durable handle v2 request and reconnectMichael Adam1-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>
2012-09-08s3:smbd: add basic support for durable handle request and reconnectMichael Adam1-46/+203
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Pair-Programmed-With: Volker Lendecke <vl@samba.org>
2012-09-08s3:smbd: initial durable handle support: special treatment of durable ↵Michael Adam1-0/+44
handles in close Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-08s3:vfs: add durable VFS operationsMichael Adam4-1/+128
This allows a VFS module to implement durable handles in different ways. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-08s3:smbd: add disconnected checks to the open code.Stefan Metzmacher1-0/+31
(delay_for_batch_oplocks, open_mode_check, and delay_for_exclusive_oplocks) Pair-Programmed-With: Michael Adam <obnox@samba.org>
2012-09-08s3:smbd: also close durable file handles in a tdisMichael Adam1-2/+9
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-08s3:locking: add brl_mark_disconnected() and brl_reconnect_disconnected()Stefan Metzmacher2-0/+127
Pair-Programmed-With: Michael Adam <obnox@samba.org>
2012-09-08s3:locking: add mark_share_mode_disconnected()Stefan Metzmacher2-0/+40
Pair-Programmed-With: Michael Adam <obnox@samba.org>
2012-09-08s3:smbXsrv_open: add smb2srv_open_recreate() to support durable handlesStefan Metzmacher2-1/+210
metze
2012-09-08s3:smbXsrv.idl: add properties for durable handles to smbXsrv_open_global0Stefan Metzmacher1-0/+8
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-09-08s3:quota: don't add the string '"' into the argument listBjörn Jacke1-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
2012-09-08s3: Fix a panic when shutting downVolker Lendecke1-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
2012-09-07s3:lib: use includes.h with cbuf and srprsGregor Beck3-12/+1
hopefully fixes build on hpux Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07waf: add tests for NFS quota stuffBjörn Jacke1-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
2012-09-07waf: add test for HAVE_DQB_FSOFTLIMITBjörn Jacke1-0/+3
2012-09-07waf: make checks for different XFS flavoursBjörn Jacke1-2/+20
2012-09-07s3:autoconf: look for irix xfs only when if we didn't find the Linux one beforeBjörn Jacke1-1/+1
2012-09-07s3:sysquota_nfs: fix build on Tru64 et aliiBjörn Jacke2-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.
2012-09-07rpcserver: fix useless declaration warningBjörn Jacke1-1/+0
issues by irix compiler
2012-09-07s3:sysquota-test: include ufs/ufs/quota.h only when foundBjörn Jacke1-0/+2
2012-09-07s3:quota: clean up and consolidate the xfs quota checks and definesBjörn Jacke3-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
2012-09-07s3:sysquota_xfs: fix logic so that we actually use this module on LinuxBjörn Jacke2-8/+2
2012-09-07s3:sysquota_xfs: check and include the right fs header file for xfs quotasBjörn Jacke3-6/+8
2012-09-07s3-smbd: Remove OSF1 support from old (pre-sysquotas) codeBjörn Jacke1-65/+0
"recent" Tru64 releases had QUOTACTL_4B support
2012-09-07s3-smbldap: make smbldap public library and maintain its ABIAlexander Bokovoy2-1/+33
Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Sep 7 14:14:30 CEST 2012 on sn-devel-104
2012-09-07s3-smbldap: use smbldap_ prefixed functionsAlexander Bokovoy6-51/+51
2012-09-07s3-smbldap: use smbldap_ prefix for all functionsAlexander Bokovoy2-11/+11
2012-09-07s3-waf: avoid exporting init symbols from statically linked modulesAlexander Bokovoy2-1/+334
WAF builds with and without AD DC affect list of statically linked modules that are added into libpdb. This makes impossible to have ABI for libpdb that does not depend on configured features. By making init functions from statically linked modules to have local scope in shared libraries, we avoid unwarranted ABI changes. Additionally, pdb_samba_dsdb imports IDMAP subsystem of source4/ as it is not a shared library. Making its symbols private as well. Finally, in order to have the filtering of symbols work, libpdb has to be public library.
2012-09-07s3-passdb: convert pdb_ipa to use secrets wrappersAlexander Bokovoy1-4/+4
2012-09-07s3-passdb: convert pdb_ldap to use secrets wrappersAlexander Bokovoy1-2/+2
2012-09-07s3-passdb: wrap secrets.tdb accessors used by PDB modulesAlexander Bokovoy2-0/+45
PDB modules store domain sid and guid in secrets.tdb to cooperate with other parts of smbd. If PDB module is built outside Samba source code it has to be linked against internal libsecrets. Wrap required secrets_* calls to avoid direct linking. libpdb is linked against libsecrets by itself and this is enough.
2012-09-07wafsamba: Add support for manpages in SAMBA_MODULE.Andreas Schneider8-0/+891
2012-09-07Free protect_ids in secret_store_domain_guid() as the caller of ↵Michele Baldessari1-0/+2
fetch_secrets() must free the result in order to not leak memory. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Sep 7 04:11:43 CEST 2012 on sn-devel-104
2012-09-06fileserver:sysquotas: remove wrong castBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104
2012-09-06s3:quota: don't force the block size to 512Björn Jacke1-3/+0
there is no point in forcing the block size to 512 when curblocks is 1. This will only lead to false quota reporting. See bug #3272
2012-09-06s3-smbd: Remove remaining references to removed OS support in old-style ↵Andrew Bartlett1-6/+6
quota code Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Sep 6 10:47:18 CEST 2012 on sn-devel-104