summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
* vfs_netatalk should be using strstr_m, not strstr to find .AppleDouble paths.Jeremy Allison2011-10-191-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 19 00:05:45 CEST 2011 on sn-devel-104
* The last argument to atalk_build_paths() is always false, remove it.Jeremy Allison2011-10-181-12/+9
|
* Removed unused variable.Jeremy Allison2011-10-151-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 15 00:38:28 CEST 2011 on sn-devel-104
* Add support for VFS op streaminfo chaining in all relevant VFS modules.Frank Lahm2011-10-144-58/+20
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
* s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.Michael Adam2011-10-111-13/+14
| | | | Avoid direct use of the db_record and db_context structs.
* s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functionsMichael Adam2011-10-111-2/+4
| | | | Avoid direct use of the db_record and db_context structs.
* s3:vfs: change the xattr_tdb module to use dbwrap wrapper functionsMichael Adam2011-10-111-11/+18
| | | | Avoid direct use of the db_record and db_context structs.
* s3:vfs_acl_common: also parse xattr.NTACL version 1Stefan Metzmacher2011-10-111-0/+12
| | | | | | | | | | This is what the source4/ntvfs/posix code uses. It's also used at provision time to setup the sysvol permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 11 14:16:25 CEST 2011 on sn-devel-104
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-1/+1
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* s3:modules: add vfs_dfs_samba4Stefan Metzmacher2011-10-082-1/+166
| | | | | | | | | | | | | This module overloads the SMB_VFS_GET_DFS_REFERRAL() hooks, in order to support the domain, dc and sysvol referrals for a AD DC. The config would look like this: [IPC$] vfs objects = dfs_samba4 metze
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-082-1/+178
| | | | metze
* modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett2011-10-061-1/+1
|
* Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe2011-10-011-0/+335
| | | | NTTRANS-FSCTL. Test added to selftests.
* s3: Re-add (), fix a gcc hintVolker Lendecke2011-09-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
* These modules are no longer experimental but production-ready (especiallyJeremy Allison2011-09-272-4/+0
| | | | | | | the acl_xattr code). Remove the "experimental" tag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Sep 27 21:00:12 CEST 2011 on sn-devel-104
* Free the memory talloc'dRichard Sharpe2011-09-271-1/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
* Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.David Disseldorp2011-09-231-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104
* Revert "Add a missing include file to two VFS modules"Jeremy Allison2011-09-232-2/+0
| | | | | | My mistake - should have been 3.6.x only. This reverts commit 2e4d0641950ce6e38724ca71b46cf925f51ac7be.
* s3: Fix a c++ warningVolker Lendecke2011-09-181-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104
* s3: Trim lines in nfs4_acls.cVolker Lendecke2011-09-161-41/+75
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 16 01:39:36 CEST 2011 on sn-devel-104
* s3: Fix some nonempty blank linesVolker Lendecke2011-09-161-17/+17
|
* Add a missing include file to two VFS modulesRichard Sharpe2011-09-152-0/+2
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 02:56:36 CEST 2011 on sn-devel-104
* Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include ↵Jeremy Allison2011-09-081-5/+4
| | | | | | | | | SYNCHRONIZE flag - blocking renames. aceType is an enum field, not a bitmask. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 8 03:34:39 CEST 2011 on sn-devel-104
* Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking ↵Ira Cooper2011-09-071-1/+7
| | | | | | | | | renames. Thanks to Youzhong Yang for discovering this issue. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 7 22:56:06 CEST 2011 on sn-devel-104
* s3:modules make perfcount_test loadable againChristian Ambach2011-08-311-1/+1
| | | | | | | use expected 'init_samba_module' name for initializer function Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Aug 31 11:22:26 CEST 2011 on sn-devel-104
* tdb2: fix build with --enable-tdb2Rusty Russell2011-08-311-3/+2
| | | | | | | | tdb2 doesn't expost tdb_jenkins_hash; go straight to the source in ccan/hash. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Fix bug Bug 8422 - Infinite loop in ACL module code.Jeremy Allison2011-08-291-1/+1
| | | | | Missing assignment means this loop will never terminate. Need to be applied to 3.5.x and 3.6.1.
* s3: Fix the build of vfs_aixacl2.cSATOH Fumiyasu2011-08-251-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104
* scannedonly module: improve sleep behavior when reading a directory with ↵Olivier Sessink2011-08-231-14/+16
| | | | multiple non-scanned files
* Fix bug #8370 - vfs_chown_fsp broken -- returns in the wrong directoryJeremy Allison2011-08-191-2/+11
| | | | | | | Ensure we always use vfs_ChDir() to keep the singleton cache coherent. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Aug 19 00:43:05 CEST 2011 on sn-devel-104
* Replace calls to sid_equal with calls to dom_sid_equalVolker Lendecke2011-08-171-5/+5
|
* s3:vfs_prealloc: fix build on SLES8Björn Jacke2011-08-091-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Aug 9 19:29:08 CEST 2011 on sn-devel-104
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-031-19/+18
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 3 22:00:19 CEST 2011 on sn-devel-104
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-293-3/+3
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-293-0/+3
| | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
* s3:modules:nfs4_acls: fix the include of dbwrap.h to not include "include/"Michael Adam2011-07-291-1/+1
|
* s3:modules:nfs4_acls: improve fix for bug #8330Michael Adam2011-07-281-4/+2
| | | | | | | | | simplify the check insmbacl4_find_equal_special() Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jul 28 13:20:38 CEST 2011 on sn-devel-104
* s3:modules fix Bug 8330 NFSv4 ACL merging logic is brokenChristian Ambach2011-07-271-2/+1
| | | | | | | | | | | | | | | | | we should not merge ACEs with different flags (e.g. CI/OI/I/) Otherwise ACLs get wrong entries and thus wrong semantics Example: ACL:BUILTIN\Users:ALLOWED/0x0/FULL ACL:BUILTIN\Users:ALLOWED/I/READ got merged to ACL:BUILTIN\Users:ALLOWED/I/FULL This is not the same and also leads to wrong displays in the Windows ACL dialog Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Jul 27 16:03:51 CEST 2011 on sn-devel-104
* s3:modules/vfs_afsacl fix a compiler warningChristian Ambach2011-07-211-1/+1
|
* s3:afs make path argument to afs_syscall constChristian Ambach2011-07-211-1/+1
|
* s3:modules/vfs_afsacl fix a compiler warningChristian Ambach2011-07-211-2/+1
|
* s3:modules/vfs_afsacl use stdbool typesChristian Ambach2011-07-211-35/+35
|
* s3:modules/vfs_afsacl remove some unnecessary whitespaceChristian Ambach2011-07-211-3/+3
|
* s3:lib/afs fix the build with --with-vfs-afsaclChristian Ambach2011-07-211-0/+4
| | | | This fixes the second piece of Bug #8263
* s3-auth use auth_user_info not netr_SamInfo3 in auth3_session_infoAndrew Bartlett2011-07-204-6/+6
| | | | | | | | | | | | This makes auth3_session_info identical to auth_session_info The logic to convert the info3 to a struct auth_user_info is essentially moved up the stack from the named pipe proxy in source3/rpc_server to create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Use struct auth_user_info_unix for unix_name and sanitized_usernameAndrew Bartlett2011-07-205-8/+8
| | | | | | | | This is closer to the layout of struct auth_session_info in auth.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Use *unix_token rather than utok in struct auth3_session_infoAndrew Bartlett2011-07-204-7/+7
| | | | | | | | | | | | | | | | This brings this structure one step closer to the struct auth_session_info. A few SMB_ASSERT calls are added in some key places to ensure that this pointer is initialised, to make tracing any bugs here easier in future. NOTE: Many of the users of this structure should be reviewed, as unix and NT access checks are mixed in a way that should just be done using the NT ACL. This patch has not changed this behaviour however. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util Move bitmap.c to lib/utilAndrew Bartlett2011-07-082-0/+2
|
* s3-zfsacl: Fix a debug messageVolker Lendecke2011-07-081-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 8 11:22:55 CEST 2011 on sn-devel-104
* s3:modules fix non-empty blank linesChristian Ambach2011-07-051-3/+3
|