summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3: Remove a SMB_ASSERTVolker Lendecke2012-09-291-2/+0
| | | | With the simplified logic this became unnecessary
* s3: Close the now opened file descriptor in error pathsVolker Lendecke2012-09-291-0/+3
|
* s3: No code change, just re-indentVolker Lendecke2012-09-291-188/+187
| | | | Look at this with "git diff -b" if you don't believe me :-)
* s3: Remove share mode handling before we open the fileVolker Lendecke2012-09-291-204/+1
| | | | | | | | This is a significant behaviour change: We do not open the file under the share mode lock anymore. This might lead to more open calls in case of oplock breaks or sharing violations, but those are slow error paths and as such might be not too performance sensitive. The benefit of this patch is a significant reduction of complexity of open_file_ntcreate()
* s3: Fix fcb_or_dos_open after logic changeVolker Lendecke2012-09-291-1/+2
| | | | | | With the new behaviour, we call fcb_or_dos_open after open_file(). It is open_file() that sets up the fsp so that fcb_or_dos_open can find it in the list of fsps. Avoid finding the fsp we are just setting up.
* s3: Copy share mode handling from before to after open_fileVolker Lendecke2012-09-291-17/+124
| | | | | | This is a 1:1 copy&paste of the oplock/sharemode code that we do before an existing file is opened. It is a prerequiste for a patch that removes all of that handling before we open the file.
* s3:libsmb: use smbXcli_conn_remote_name() in smb2_tcon_send()Stefan Metzmacher2012-09-291-4/+2
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 29 11:52:43 CEST 2012 on sn-devel-104
* s3:libsmb: make cli_echo* protocol independentStefan Metzmacher2012-09-291-32/+23
| | | | metze
* libcli/smb: add smb1cli_echo*Stefan Metzmacher2012-09-294-0/+182
| | | | metze
* libcli/smb: add smb2cli_echo*Stefan Metzmacher2012-09-294-0/+131
| | | | metze
* libcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_*Stefan Metzmacher2012-09-299-0/+9
| | | | metze
* build: Remove duplicate check for struct getquota_rslt member getquota_rslt_uAndrew Bartlett2012-09-291-5/+0
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 29 08:51:03 CEST 2012 on sn-devel-104
* build: Fix quota tests, including move of sysquotas.c to the top levelAndrew Bartlett2012-09-293-10/+11
| | | | | | This correctly detects quotas on FreeBSD Andrew Bartlett
* lib/replace: Add test for what flag we need for -Werror behaviourAndrew Bartlett2012-09-291-0/+9
|
* s3-winbindd: Adjust error code loop logic in rpc_trusted_domains().Günther Deschner2012-09-291-1/+1
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Sat Sep 29 00:34:04 CEST 2012 on sn-devel-104
* s3-lsa: Flesh out the returned info in _lsa_EnumTrustedDomainsEx().Günther Deschner2012-09-281-0/+5
| | | | Guenther
* s3-winbindd: Allow DNS resolution of trusted domains if DNS name is avaliableSumit Bose2012-09-283-25/+58
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* vfs: check full_audit enum->str mapping on startupDavid Disseldorp2012-09-281-3/+4
| | | | | | | Signed-off-by: Jim McDonough <jmcd@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Sep 28 19:28:49 CEST 2012 on sn-devel-104
* vfs: add missing pwrite ops to full_auditDavid Disseldorp2012-09-281-0/+2
| | | | | | | The op enum is used by audit_opname() as an index into the vfs_op_names array, so any decrepencies cause bogus audit log entries. Signed-off-by: Jim McDonough <jmcd@samba.org>
* WHATSNEW: Add changed parameters.Karolin Seeger2012-09-281-0/+66
| | | | | | | | | Needs to be double-checked. Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Fri Sep 28 14:22:52 CEST 2012 on sn-devel-104
* WHATSNEW: Start release notes for Samba 4.0.0rc2.Karolin Seeger2012-09-281-66/+72
| | | | | | To be continued... Karolin
* Support UPN_DNS_INFO in the PACSimo Sorce2012-09-281-7/+9
| | | | | | | Previously marked as UNKNOWN_12 the UPN_DNS_INFO is defined in MS-PAC Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Fri Sep 28 01:13:44 CEST 2012 on sn-devel-104
* Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.Jeremy Allison2012-09-271-3/+2
| | | | | | | | | | Ensure we correctly protect against blobs with data_offset==0 and data_length != 0. Jeremy. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 27 22:07:02 CEST 2012 on sn-devel-104
* samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij2012-09-273-2/+25
| | | | | | | | We would like to run this as early as possible so we get a quick failure when there is trailing whitespace. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
* sanba.upgradehelpers: Use standard functionality for getting temp dir.Jelmer Vernooij2012-09-271-3/+0
|
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-2750-309/+311
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* samba.tests.source: Check for trailing whitespace in Python files.Jelmer Vernooij2012-09-271-1/+16
|
* smb.conf(5): Add basic documentation for 'dcerpc endpoint servers'.Jelmer Vernooij2012-09-271-0/+12
|
* s3: Fix some blank line endingsVolker Lendecke2012-09-271-4/+4
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Sep 27 07:57:03 CEST 2012 on sn-devel-104
* Revert "smb.conf(5): Remove 'idmap config' documentation - the parameter has"Christian Ambach2012-09-271-0/+124
| | | | | | | | | | This reverts commit e809abf55f6a2e6d93bcb5678142f56c49aea397. This parameter still exists, it is just only used as parametric option in the code and not easy to spot when looking out for lp_xxx Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Sep 27 06:18:38 CEST 2012 on sn-devel-104
* s3:nfs4acls filter away inheritance flags on filesChristian Ambach2012-09-271-0/+11
| | | | | | | | | | | | | While it is possible to define inheritance flags on files on Windows, this will be denied by GPFS and UFS (and potentially others). So it will be better to strip of these bits when being set for files instead of failing to set the ACL completely (this is current behavior). Users that want to retain the full SD will have to use acl_xattr (acl_tdb), as other pieces of the SD are also lost when translating to NFSv4. So this should not be a too intrusive change, but allow users to migrate data with such flags instead of failing to migrate the ACL completely.
* s3:nfs4acls pass down fsp instead of just the filenameChristian Ambach2012-09-271-4/+6
|
* s3:passdb formatting changesChristian Ambach2012-09-271-7/+7
| | | | fix some trailing whitespace and a typo
* samba-tool domain provision: DNS forwarder defaultRicky Nance2012-09-271-0/+2
| | | | | | | | | Provision would break with an exception if there was no value given for the DNS forwarder, this simply sets a default to "none". Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 04:35:33 CEST 2012 on sn-devel-104
* smb.conf(5): List 'protocol' as alias for 'server max protocol'.Jelmer Vernooij2012-09-271-0/+1
|
* smb.conf(5): Add documentation for 'client max protocol'.Jelmer Vernooij2012-09-271-0/+78
|
* smb.conf(5): Add basic documentation for 'client min protocol'.Jelmer Vernooij2012-09-271-0/+19
|
* smb.conf(5): Document 'share backend' parameter.Jelmer Vernooij2012-09-271-0/+18
|
* smb.conf(5): Add basic documentation for 'server min protocol'.Jelmer Vernooij2012-09-271-12/+3
| | | | | Conflicts: docs-xml/smbdotconf/protocol/serverminprotocol.xml
* smb.conf(5): Extend 'server min protocol' description.Jelmer Vernooij2012-09-271-3/+3
| | | | | Conflicts: docs-xml/smbdotconf/protocol/serverminprotocol.xml
* smb.conf(5): Consistent spelling of parameter names.Jelmer Vernooij2012-09-274-4/+4
| | | | | | | This includes spacing and casing. Conflicts: source4/scripting/python/samba/tests/docs.py
* s3: For read-only shares, filter out write bits from conn->access_maskVolker Lendecke2012-09-271-0/+7
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 27 02:51:42 CEST 2012 on sn-devel-104
* s3: Fix rejecting mkdir on read-only sharesVolker Lendecke2012-09-271-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* smb.conf(5): Add basic documentation for 'rpc bigendian'.Jelmer Vernooij2012-09-261-0/+16
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Sep 26 23:51:34 CEST 2012 on sn-devel-104
* smb.conf(5): Add basic documentation for 'kpasswd port'.Jelmer Vernooij2012-09-261-0/+12
|
* smb.conf(5): Add basic documentation for 'dgram port'.Jelmer Vernooij2012-09-261-0/+11
|
* smb.conf(5): Add basic documentation for 'unicode'.Jelmer Vernooij2012-09-261-0/+13
|
* smb.conf(5): Add basic documentation for 'web port'.Jelmer Vernooij2012-09-261-0/+12
|
* smb.conf(5): Add basic documentation for 'nbt port'.Jelmer Vernooij2012-09-261-0/+12
|
* smb.conf(5): Add basic documentation for 'krb5 port'.Jelmer Vernooij2012-09-261-0/+11
|