summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* s3:sysquota_xfs: check and include the right fs header file for xfs quotasBjörn Jacke2012-09-073-6/+8
|
* s3-smbd: Remove OSF1 support from old (pre-sysquotas) codeBjörn Jacke2012-09-071-65/+0
| | | | "recent" Tru64 releases had QUOTACTL_4B support
* s3-smbldap: make smbldap public library and maintain its ABIAlexander Bokovoy2012-09-072-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
* s3-smbldap: use smbldap_ prefixed functionsAlexander Bokovoy2012-09-076-51/+51
|
* s3-smbldap: use smbldap_ prefix for all functionsAlexander Bokovoy2012-09-072-11/+11
|
* s3-waf: avoid exporting init symbols from statically linked modulesAlexander Bokovoy2012-09-072-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.
* s3-passdb: convert pdb_ipa to use secrets wrappersAlexander Bokovoy2012-09-071-4/+4
|
* s3-passdb: convert pdb_ldap to use secrets wrappersAlexander Bokovoy2012-09-071-2/+2
|
* s3-passdb: wrap secrets.tdb accessors used by PDB modulesAlexander Bokovoy2012-09-072-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.
* wafsamba: Add support for manpages in SAMBA_MODULE.Andreas Schneider2012-09-078-0/+891
|
* Free protect_ids in secret_store_domain_guid() as the caller of ↵Michele Baldessari2012-09-071-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
* fileserver:sysquotas: remove wrong castBjörn Jacke2012-09-061-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
* s3:quota: don't force the block size to 512Björn Jacke2012-09-061-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
* s3-smbd: Remove remaining references to removed OS support in old-style ↵Andrew Bartlett2012-09-061-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
* s3-smbd: Remove IRIX support from old (pre-sysquotas) codeAndrew Bartlett2012-09-061-129/+0
| | | | | | | | This should be essentially dead code, as while it is possible to disable sysquotas, the sysquotas has since 2003 supported the 4A varient used on IRIX. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* s3-smbd: Remove HPUX support from old (pre-sysquotas) codeAndrew Bartlett2012-09-061-19/+0
| | | | | | | | This should be essentially dead code, as while it is possible to disable sysquotas, the sysquotas has since 2003 supported the 4A varient used on HPUX. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* s3-smbd: Remove BSD support from old (pre-sysquotas) codeAndrew Bartlett2012-09-061-226/+3
| | | | | | | | | | | | This is essentially dead code, as while it is possible to disable sysquotas, the default for BSD is now to use sysquotas with the addition of 4B support via the recent Darwin patch by James Peach. NFS support has been in sysquotas for quite some time now. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* s3-smbd: Remove Linux support from old (pre-sysquotas) codeAndrew Bartlett2012-09-061-438/+1
| | | | | | | | | This is essentially dead code, as while it is possible to disable sysquotas, the default for Linux has been to use sysquotas for quite some time now. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* s3-configure: Only use sysquotas by defaultAndrew Bartlett2012-09-061-98/+15
| | | | | | | | | | | | | | We now only use old quota code if --with-quotas=yes and there is no sysquotas support for this platform. This also removes --with-sys-quotas as an option, instead being the first choice if --with-quotas=yes or --with-quotas=auto sysquotas have been our preferred quota mechanism since 2003. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* build: Remove Unicos support (quota in particular)Andrew Bartlett2012-09-063-132/+0
| | | | | | | | | Unicos machines are long gone now (Cray now make Linux compute nodes), so remove the quota support. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* build: Do not compile lib/sysquotas*.c files as part of configureAndrew Bartlett2012-09-061-65/+16
| | | | | | | | | | | | Instead, use the tests in tests/sysquotas.c. It is better that we see any compile failures, and then expand the tests than 'automatically' disable the support. Users can always use --without-quotas if the quotas code does not work on their system. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
* s3: Fix 64-bit warnings in vfs_media_harmonyVolker Lendecke2012-09-061-1/+1
|
* sysquota: we need to list nfs4 as a separate fs name for the ↵Björn Jacke2012-09-061-0/+1
| | | | | | sys_get_nfs_quota backend at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
* s3-printing: Restrict printing=cups to systems with cups development headers ↵Andrew Bartlett2012-09-062-16/+0
| | | | | | | | | at build time This means that instead of failing due to the default commandline values not being quite correct that we clearly fail at loadparm and testparm time when parsing the printing= line. Andrew Bartlett
* Free protect_ids in secret_store_domain_sid() as the caller of ↵Michele Baldessari2012-09-051-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): Wed Sep 5 22:20:45 CEST 2012 on sn-devel-104
* Add "backup_intent" bool to files_struct.Jeremy Allison2012-09-051-0/+3
| | | | | | Not used right now but I need this in the VFS to implement open for backup/restore later and don't want to break the ABI once 4.0.0 ships.
* Remove an unncessary FTRUNCATE call in the open path. We can rely on O_TRUC.Jeremy Allison2012-09-051-29/+1
| | | | Suggested by Volker.
* s3:smb2_create: check for SMB2_CREATE_TAG_DHNC firstStefan Metzmacher2012-09-051-43/+14
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 5 12:27:25 CEST 2012 on sn-devel-104
* s3:locking: fix trailing space in brl_close_fnum()Michael Adam2012-09-051-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: Remove unused deps from vfs modulesAndrew Bartlett2012-09-051-2/+2
| | | | | | | | | Both these modules are just implemented in terms of other modules. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 5 03:34:08 CEST 2012 on sn-devel-104
* s3: Slightly simplify fd_open_atomicVolker Lendecke2012-09-051-8/+7
| | | | | | | | | Replace an if-statement by a direct assignment Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 5 01:56:46 CEST 2012 on sn-devel-104