summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2011-04-02Fix bug #7987 - ACL can get lost when files are being renamed.Jeremy Allison3-1/+49
There is no reason for smbd with Windows ACLs to use chmod or fchmod unless it's a file opened with UNIX extensions or with posix pathnames. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 2 02:40:43 CEST 2011 on sn-devel-104
2011-03-30SMBTA: make vfs_smb_traffic_analyzer aware of the sendfile and recvfile ↵Holger Hetterich1-1/+41
functionality and store the results as common read/write results.
2011-03-30s3-vfs: try to fix build of aio_fork module.Günther Deschner1-1/+2
Guenther
2011-03-30s3-vfs acl modules: more non-linux build fixes.Günther Deschner7-1/+7
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 16:00:02 CEST 2011 on sn-devel-104
2011-03-30s3-vfs_solarisacl: try to fix the solaris build.Günther Deschner1-0/+1
Guenther
2011-03-30s3: only include ntioctl.h where needed.Günther Deschner5-0/+5
Guenther
2011-03-30s3-auth: vfs modules need auth.hGünther Deschner7-0/+7
Guenther
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner62-0/+63
Guenther
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-build: only include transfer_file.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner24-0/+24
Guenther
2011-03-30s3-includes: only include system/shmem.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/syslog.h when needed.Günther Deschner3-0/+3
Guenther
2011-03-27s3: Fix Coverity ID 2226: RESOURCE_LEAKVolker Lendecke1-0/+1
Holger, please check!
2011-03-27s3: Fix Coverity ID 585: NEGATIVE_RETURNSVolker Lendecke1-1/+1
2011-03-14s3: Fix the talloc hierarchy in shadow_copy2_connectpathVolker Lendecke1-2/+9
We have to return on talloc_tos() because we don't have a mem_ctx given to us. So we have to create a separate temporary talloc context. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 19:21:11 CET 2011 on sn-devel-104
2011-03-14s3: This module needs rewriting...Volker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 17:47:32 CET 2011 on sn-devel-104
2011-03-02s3: Pass the aio_force operation through vfs_gpfsVolker Lendecke1-0/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 2 19:24:27 CET 2011 on sn-devel-104
2011-03-02s3: Ask GPFS for the IS_OFFLINE operationVolker Lendecke1-0/+31
2011-03-02s3: Announce HSM in the gpfs moduleVolker Lendecke1-0/+23
2011-03-02s3: Pass smb_filename through the set_offline vfs opVolker Lendecke4-3/+26
2011-03-02s3: Pass smb_filename through the is_offline vfs opVolker Lendecke4-5/+40
2011-03-02s3: Fix operation names in vfs_full_audit.cVolker Lendecke1-2/+2
2011-03-02s3: GPFS can't deal with mangled namesVolker Lendecke1-0/+7
In getrealfilename, avoid calling the GPFS function
2011-02-28Fix some typesJelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28s3: Survive an idle child that was killedChristian Ambach1-0/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104
2011-02-26s3: Improve a dbg msg in aio_forkVolker Lendecke1-4/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 17:42:37 CET 2011 on sn-devel-104
2011-02-25s3: Fix a 64-bit warning in vfs_gpfs.cVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
2011-02-25s3-vfs: make syncops_connect in modules/vfs_syncops.c static.Günther Deschner1-2/+2
Guenther
2011-02-23Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 testJeremy Allison1-1/+3
We need to revalidate the pathname once re-constructed from a root fsp. Jeremy.
2011-02-23s3-proto: remove some prototypes of non-existing functions.Günther Deschner1-3/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
2011-02-23s3: Improve an error msg in vfs_gpfsVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 23 14:12:39 CET 2011 on sn-devel-104
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett8-27/+27
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-19vfs_smb_traffic_analyzer shall also transfer the clients IP address.Holger Hetterich2-4/+7
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 19 01:53:18 CET 2011 on sn-devel-104
2011-02-18s3:vfs:syncops add option to disable metasync per shareChristian Ambach1-4/+14
introduce an option to disable the metadata sync in case the filesystem handles this correctly the sync can be skipped, but synchronization of the data that was written can still be configured (in opposition to the disable flag disabling all sync operations) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Feb 18 17:31:59 CET 2011 on sn-devel-104
2011-02-18lib/util/charset Use top level iconv.c in source3Andrew Bartlett3-5/+13
The two files were very similar already, the only change required was to adopt the s3 module registration fucntion name. (NTSTATUS wasn't used as the charset code does not otherwise use that type). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell1-58/+58
this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett2-3/+3
This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-09Correctly plumb in VFS_FDOPENDIR.Jeremy Allison1-0/+1
2011-02-09Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison7-0/+203
open by NtCreateX. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
2011-02-08If possible (O_DIRECTORY exists) open an fd for a directory open.Jeremy Allison2-2/+2
Start of the move towards handle-based code for directory access. Currently makes fstat/fchown code work for directories rather than falling back to pathnames. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 8 06:34:41 CET 2011 on sn-devel-104
2011-02-05Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.Jeremy Allison1-4/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 5 03:33:59 CET 2011 on sn-devel-104
2011-02-02s3: Remove superfluous ;Günther Deschner2-4/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
2011-02-01s3: Fix bug 7940 -- fall back for utimes callsVolker Lendecke1-4/+14
There are systems where ./configure has detected advanced utimes calls which are then not available on other kernels. We should do a proper fallback. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 22:37:35 CET 2011 on sn-devel-104
2011-01-31s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.Günther Deschner1-1/+1
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104
2011-01-30s3: On FreeBSD, compile zfsacl if sunacl.h is aroundVolker Lendecke1-0/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104
2011-01-26s3-modules: Fixed the for-loop code block.Andreas Schneider1-0/+1
s3-modules: Fixed the for-loop code block.
2011-01-21s3:vfs:shadow_copy2: fix indentation in _SHADOW2_NEXT_SMB_FNAMEMichael Adam1-2/+2
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jan 21 10:57:45 CET 2011 on sn-devel-104
2011-01-21s3:vfs:shadow_copy2: Fix shadow-copy module for drag&drop from a snapshotVolker Lendecke1-0/+4
We have to return NT_STATUS_NOT_SAME_DEVICE to trigger the Windows client to start a copy itself. Unbeknownst to us via the ACLs snapshots are read-only, so a rename would trigger a EACCES. Unfortunately the MacOS/X finder does not do the smart NOT_SAME_DEVICE fallback that Windows does.
2011-01-21s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)Rusty Russell1-1/+11
On my autocluster setup, it's not set. Maybe it should be? Otherwise smbclient and some Windows client programs will get errors like: # smbclient //localhost/data -Uadministrator%XXX Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10] smb: \> put /etc/resolv.conf resolv.conf NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf smb: \> Caused by attempting to update the time on close. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org>