summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3: Put a comment into the right placeVolker Lendecke2012-09-041-4/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix a typoVolker Lendecke2012-09-041-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Factor out disposition_to_open_flagsVolker Lendecke2012-09-041-24/+57
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Factor out calculation of clear_adsVolker Lendecke2012-09-041-5/+17
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Slightly simplify open_file_ntcreateVolker Lendecke2012-09-041-5/+5
| | | | | | We have not set flags2 before, so do direct assignment and not |= Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix a commentVolker Lendecke2012-09-041-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make "open_match_attributes" staticVolker Lendecke2012-09-042-12/+6
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix some nonempty blank linesVolker Lendecke2012-09-041-3/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix memleaks in pylibsmb.cVolker Lendecke2012-09-041-2/+2
| | | | | | Cut&Paste errors from the read&x routine Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: in sys_popen(), add a debug message for failed forkMichael Adam2012-09-041-0/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 4 22:17:30 CEST 2012 on sn-devel-104
* s3: in sys_popen(), add a debug message for failed extract_args()Michael Adam2012-09-041-0/+1
|
* s3: in sys_popen(), untangle function call from result checkMichael Adam2012-09-041-1/+3
|
* s3: in sys_popen(), untangle assigment from check and add a debug message in ↵Michael Adam2012-09-041-1/+4
| | | | failure case
* s3: in sys_popen(), improve call to pipe and report error to debugMichael Adam2012-09-041-1/+5
|
* s3: in sys_popen(), validate input before opening the pipe.Michael Adam2012-09-041-5/+5
|
* s3: in sys_popen(), fix a debug messageMichael Adam2012-09-041-1/+1
|
* s3:smbd: in sys_disk_free(), improve a debug messageMichael Adam2012-09-041-1/+1
|
* s3:smbd: in sys_disk_free(), improve a debug messageMichael Adam2012-09-041-1/+1
|
* s3:smbd: in sys_disk_free(), fix line length and indentation of debug statementMichael Adam2012-09-041-2/+3
|
* s3:smbd: in sys_disk_free(), fix a debug messageMichael Adam2012-09-041-1/+1
|
* s3-winbind: DON'T PANIC if we couldn't find the domain.Andreas Schneider2012-09-041-1/+9
| | | | | | | | If we don't have a connection to a trusted domain but still try to do a lookup we shouldn't segfault. Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Sep 4 18:16:06 CEST 2012 on sn-devel-104
* build: sync the waf ACL checks with configure.inAndrew Bartlett2012-09-041-12/+35
| | | | | | This should give us full ACLs on the same set of hosts that the autoconf build supports. Andrew Bartlett
* build: Remove references to charset modules - we no longer have theseAndrew Bartlett2012-09-042-3/+1
|
* build: vfs_fake_acls does not need the acl libAndrew Bartlett2012-09-041-1/+1
|
* build: remove unused HAVE_NO_ACLS defineAndrew Bartlett2012-09-042-5/+0
|
* s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DCAndrew Bartlett2012-09-044-277/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104
* waf: add new quota header checks and sysquota_4B source fileBjörn Jacke2012-09-022-1/+3
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 2 23:21:22 CEST 2012 on sn-devel-104
* s3: remove some duplicate quota codeBjörn Jacke2012-09-021-27/+12
|
* s3: adopt the new sysquotas_4B support for BSDBjörn Jacke2012-09-022-3/+28
| | | | | most BSD systems have ufs/ufs/quota.h and they count the quota in blocks, not bytes and have slightly different dqblk struct members.
* s3: add sysquotas_4B supportBjörn Jacke2012-09-025-4/+227
| | | | | | | | this is from James Peach's darwin patch, that exists since a couple of years already. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 2 01:00:41 CEST 2012 on sn-devel-104
* s3: Make an if statement a bit easier to readVolker Lendecke2012-09-011-2/+3
| | | | | | | | | Fix indentation a bit Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Sep 1 07:07:12 CEST 2012 on sn-devel-104
* Change the S3 fileserver over to se_file_access_check().Jeremy Allison2012-08-312-7/+10
| | | | | Don't set the priv_open_requested yet until the open-for-backup request is correctly passed in.
* s3: Fix warnings in aio_fork.cVolker Lendecke2012-09-011-2/+4
|
* s3: Remove a shadowing variable declarationVolker Lendecke2012-09-011-2/+0
|
* tdb: return unpack error on strdup failureDavid Disseldorp2012-08-311-0/+3
| | | | | | | Signed-off-by: Lars Müller <lars@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Aug 31 21:05:21 CEST 2012 on sn-devel-104
* s3: Fix a few "warning: ISO C90 forbids mixed declarations and code"Volker Lendecke2012-08-311-154/+234
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 31 19:24:47 CEST 2012 on sn-devel-104
* s3:build fix autoconf build on RHEL5Christian Ambach2012-08-311-0/+236
| | | | | | | | RHEL5 only has autoconf 2.59, so autogen.sh still needs to find autoconf-2.60.m4 somewhere, but it was removed with 5f58359 Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 31 12:50:03 CEST 2012 on sn-devel-104
* s3:dbwrap_ctdb: Add DB name and key to warning messageChristof Schmitt2012-08-311-1/+8
| | | | | | | When a operation takes too long, it is useful for debugging to know the DB and the key. Signed-off-by: Christian Ambach <ambi@samba.org>
* Windows does canonicalization of inheritance bits. Do the same.Jeremy Allison2012-08-301-0/+35
| | | | | | | | | | | | | We need to filter out the SEC_DESC_DACL_AUTO_INHERITED|SEC_DESC_DACL_AUTO_INHERIT_REQ bits. If both are set we store SEC_DESC_DACL_AUTO_INHERITED as this alters whether SEC_ACE_FLAG_INHERITED_ACE is set when an ACE is inherited. Otherwise we zero these bits out. See: http://social.msdn.microsoft.com/Forums/eu/os_fileservices/thread/11f77b68-731e-407d-b1b3-064750716531 for details.
* Change the other two places where we set a security descriptor given by the ↵Jeremy Allison2012-08-302-25/+2
| | | | | | client to got through set_sd(), the canonicalize sd function.
* Re-add set_sd(), called from set_sd_blob(). Allows us to centralize all ACL ↵Jeremy Allison2012-08-302-14/+28
| | | | canonicalization.
* Rename set_sd() to set_sd_blob() - this describes what it does.Jeremy Allison2012-08-303-6/+6
|
* s3:libsmb correctly set isFsctl for snapshot listChristian Ambach2012-08-301-1/+1
| | | | | | | | | FSCTL_GET_SHADOW_COPY_DATA is a FSCTL, so set the isFsctl marker otherwise smbclient allinfo will not report snapshots any more with the changes made for Bug #8311 Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 30 18:57:24 CEST 2012 on sn-devel-104
* s4-torture: Add start of a test to confirm winbindd PAC parsingAndrew Bartlett2012-08-291-1/+3
| | | | | | | So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett