summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-08s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam4-0/+12
flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-08loadparm: remove remnants of removed option "share modes"Michael Adam2-4/+0
(This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-08selftest/Samba3: don't explicitly set 'server max protocol'Stefan Metzmacher1-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
2012-09-08docs-xml: change "server max protocol" to "SMB3"Stefan Metzmacher1-1/+1
metze
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-08doc: improve quotacommand man page docuBjörn Jacke2-25/+29
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-07s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam1-27/+27
I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam1-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>
2012-09-07s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam1-1/+1
The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2.reopen2 test (using only one i/o ↵Michael Adam1-51/+52
struct) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam1-20/+21
only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam1-2/+1
don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam1-1/+1
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-07build: define _BSD_TYPES on IRIX to have types like u_shortBjörn Jacke2-0/+2
why the hell do IRIX systems headers like quota.h use types that are available only with such a define...?
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-07waf: add check for BSD_STYLE_STATVFSBjörn Jacke1-0/+12
a leftover from bug #8777
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-07s4-torture: dns torture test depends on AD DC buildAlexander Bokovoy1-8/+9
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/samba_abi: allow negative matches in abi_matchAlexander Bokovoy1-3/+12
abi_match keyword for samba libraries allows to selectively apply ABI versions. samba_abi.py implied !sym to be used to say 'all symbols but this one' but the actual demotion of !sym to the local scope was not implemented. Now abi_match='!sym' properly moves symbol to a local scope.
2012-09-07gen_abi.sh: filter out symbols not needed for ABIAlexander Bokovoy1-1/+1
gdb does not allow to print definitions of certain section names and special symbols used for dynamic loading machinery: __bss_start _edata _init _fini _end Please note the space before the pattern, it is needed to avoid hungry matches of valid symbols with these as substrings (foo_init, for example). Without this patch gdb on Fedora 18 breaks when attempting to print function and struct signature.