summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples: Update winbind.stp and generate scriptSamuel Cabrero2022-04-302-1/+22
| | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Revert "vfs: remove dirfsp arg from SMB_VFS_CREATE_FILE()"Volker Lendecke2022-04-282-0/+3
| | | | | | | | | | This reverts commit 322574834f1e71bc01f21be9059ca4d386517c84. Not strictly a revert anymore, but for future work we do need "dirfsp" in create_file_default() passed through the VFS. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* vfs: Remove name-based SMB_VFS_GET_REAL_FILENAME()Volker Lendecke2022-04-282-21/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* vfs: Add SMB_VFS_GET_REAL_FILENAME_ATVolker Lendecke2022-04-282-0/+21
| | | | | | | | | | | | | In a patchset that I'm working on right now there's the need to call getrealfilename while the code does have a pathref fsp already around. Doing the name-based call including non_widelink_open is not necessary in this case. Start by adding the _at based call to the VFS. For now, fall back to the name-based call. glusterfs-fuse will in a future patch be converted to fgetxattr. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* examples: Update winbindd.stp and generate scriptSamuel Cabrero2022-04-082-1/+22
| | | | | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Apr 8 21:06:01 UTC 2022 on sn-devel-184
* examples: Update winbindd.stp and its generator scriptSamuel Cabrero2022-03-252-23/+23
| | | | | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Mar 25 17:57:18 UTC 2022 on sn-devel-184
* lib/replace: Do not typedef int boolAndrew Bartlett2022-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | We need a genuine boolean type, as otherwise expressions like bool foo = (4 & 4); if (foo == true) { exit(1); } else { exit(2); } could evaluate differently on non-modern platforms, and that would be a real pain to debug. _Bool and bool are in C99 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15028 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Mar 23 12:31:47 UTC 2022 on sn-devel-184
* vfs: Convert get_real_filename() to NTSTATUSVolker Lendecke2022-03-102-10/+11
| | | | | | | | | This makes it possible to more easily handle STOPPED_ON_SYMLINK vs OBJECT_PATH_NOT_FOUND vs OBJECT_NAME_NOT_FOUND and so on. The next patch needs this to properly handle symlinks. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfs: Add SMB_VFS_FSTATATVolker Lendecke2022-03-102-0/+23
| | | | | | | | Useful if you want to stat/fstat/lstat relative to a directory without doing chdir first. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples: Update winbindd.stp and its generator scriptSamuel Cabrero2022-03-062-22/+22
| | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* examples: Reformat shell scriptsAndreas Schneider2022-02-2215-218/+255
| | | | | | | | | | shfmt -f examples/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Feb 22 16:20:58 UTC 2022 on sn-devel-184
* s3:rpc_client: Pass remote name and socket to ↵Günther Deschner2021-12-021-2/+12
| | | | | | | | | | cli_rpc_pipe_open_noauth_transport() BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767 Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Guenther Deschner <gd@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-winexe: Fix winexe core dump (use-after-free)Günther Deschner2021-11-051-4/+12
| | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=14893 Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Nov 5 11:43:57 UTC 2021 on sn-devel-184
* vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECVRalph Boehme2021-10-082-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We missed these values which follow from MS-FSCC 2.3.80 “FSCTL_OFFLOAD_READ Reply”: Flags (4 bytes): A 32-bit unsigned integer that indicates which flags were returned for this operation. Possible values for the flags follow. All unused bits are reserved for future use, SHOULD be set to 0, and MUST be ignored. OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_CURRENT_RANGE (0x00000001) => The data beyond the current range is logically equivalent to zero. TransferLength (8 bytes): A 64-bit unsigned integer that contains the amount, in bytes, of data that the Token logically represents. This value indicates a contiguous region of the file from the beginning of the requested offset in the FileOffset field in the FSCTL_OFFLOAD_READ_INPUT data element (section 2.3.79). This value can be smaller than the CopyLength field specified in the FSCTL_OFFLOAD_READ_INPUT data element, which indicates that less data was logically represented (logically read) with the Token than was requested. The value of this field MUST be greater than 0x0000000000000000 and MUST be aligned to a logical sector boundary on the volume. As we currently only implement COPY_CHUNK over the OFFLOAD VFS interface, the VFS COPY_CHUNK backend in vfs_default just sets both values to 0 and they are unused in the SMB frontend. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples/VFS/skel_opaque: Rename kernel_flock to filesystem_sharemodeChristof Schmitt2021-09-211-4/+5
| | | | | Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples/VFS/skel_transparent: Rename kernel_flock to filesystem_sharemodeChristof Schmitt2021-09-211-4/+5
| | | | | Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* VFS: Rename kernel_flock to filesystem_sharemodeChristof Schmitt2021-09-212-3/+6
| | | | | | | | | With the removal of the call to flock LOCK_MAND, the only remaining use of this VFS path is to register sharemodes with specific file systems. Rename the VFS call to reflect that this is no longer related to flock. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfs: RIP SMB_VFS_GETXATTR()Jeremy Allison2021-07-042-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | .--. .-, .-..-.__ .'(`.-` \_.-'-./` |\_( "\__ __.>\ '; _;---,._| / __/`'--) /.--. : |/' _.--.<| / | | _..-' `\ /' /` /_/ _/_/ >_.-``-. `Y /' _;---.`|/)))) '` .-''. \|: .' __, .-'"` .'--._ `-: \/: /' '.\ _|_ /.'`\ :; /' `- `-|-` -` | | | :.; : | .-'~^~`-. |: | .' _ _ `. |:. | | |_) | |_) | :. : | | | \ | | | : ; | | | : ; | | SMB_VFS | : ; | | GETXATTR | : ; | | | .jgs. : ; | | -."-/\\\/:::. `\."-._'."-"_\\-| |///."- " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-". Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* VFS: Remove SMB_VFS_CHFLAGS, not used anymoreNoel Power2021-06-292-17/+0
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* VFS: Add initial implemenataion for SMB_VFS_FCHFLAGSNoel Power2021-06-292-0/+17
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* winexe: Some code cleanup and fixesAndreas Schneider2021-06-201-3/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* winexe: Use the new cmdline option parserAndreas Schneider2021-06-202-109/+36
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=14616 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3: VFS: RIP SMB_VFS_SYS_ACL_BLOB_GET_FILE()Jeremy Allison2021-06-092-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (\ _ /) ( \ O / ) (// \\) X / \ /___\ _____/ \\_____ | + || | || | SMB_VFS_SYS_ACL || | BLOB_GET_FILE() || | || | || | || | _ ___ _ || | | \ | | \ || | | | | | | || | |_/ | |_/ || | | \ | | || | | \ | | || | | \. _|_. | . || | || * * | * ** * ** |** ** \)),.,\(/.,(//,,..,,\||(,,.,\\,.((// Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3: VFS: RIP SMB_VFS_SYS_ACL_GET_FILE()Jeremy Allison2021-06-092-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (\ _ /) ( \ O / ) (// \\) X / \ /___\ _____/ \\_____ | + || | || | SMB_VFS_SYS_ || | ACL_GET_FILE() || | || | || | || | _ ___ _ || | | \ | | \ || | | | | | | || | |_/ | |_/ || | | \ | | || | | \ | | || | | \. _|_. | . || | || * * | * ** * ** |** ** \)),.,\(/.,(//,,..,,\||(,,.,\\,.((// Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* vfs: RIP SMB_VFS_GET_NT_ACL_AT()Jeremy Allison2021-06-092-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | .--. .-, .-..-.__ .'(`.-` \_.-'-./` |\_( "\__ __.>\ '; _;---,._| / __/`'--) /.--. : |/' _.--.<| / | | _..-' `\ /' /` /_/ _/_/ >_.-``-. `Y /' _;---.`|/)))) '` .-''. \|: .' __, .-'"` .'--._ `-: \/: /' '.\ _|_ /.'`\ :; /' `- `-|-` -` | | | :.; : | .-'~^~`-. |: | .' _ _ `. |:. | | |_) | |_) | :. : | | | \ | | | : ; | | | : ; | | SMB_VFS | : ; | | GET_NT_ | : ; | | ACL_AT | .jgs. : ; | | -."-/\\\/:::. `\."-._'."-"_\\-| |///."- " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-". Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* VFS: SMB_VFS_SYS_ACL_GET_FD: Modify api to take additional type paramNoel Power2021-06-092-3/+7
| | | | | | | | | Modify all implementations (and the definitions) related to SMB_VFS_SYS_ACL_GET_FD to accept additional SMB_ACL_TYPE_T type param. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3: VFS: Add SMB_VFS_PARENT_PATHNAME().Jeremy Allison2021-06-022-0/+24
| | | | | | | | | | | | | Not yet used. Default is NTSTATUS version of parent_smb_fname(). Now to replace all users of parent_smb_fname() with SMB_VFS_PARENT_PATHNAME() and then remove parent_smb_fname(). Needed due to snapdirseverywhere code in vfs_shadow_copy2. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* examples: Migrate smb2mount to new cmdline option parserAndreas Schneider2021-05-282-8/+23
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* examples: Pass cli_credentials to connect_one in smb2mountAndreas Schneider2021-05-281-3/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* vfs: RIP SMB_VFS_SYS_ACL_DELETE_DEF_FILE()Jeremy Allison2021-05-182-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | .--. .-, .-..-.__ .'(`.-` \_.-'-./` |\_( "\__ __.>\ '; _;---,._| / __/`'--) /.--. : |/' _.--.<| / | | _..-' `\ /' /` /_/ _/_/ >_.-``-. `Y /' _;---.`|/)))) '` .-''. \|: .' __, .-'"` .'--._ `-: \/: /' '.\ _|_ /.'`\ :; /' `- `-|-` -` | | | :.; : | .-'~^~`-. |: | .' _ _ `. |:. | | |_) | |_) | :. : | | | \ | | | : ; | | | : ; | | SMB_VFS | : ; | | SYS_ACL | : ; | |DELETE_DEF | .jgs. : ; | FILE | -."-/\\\/:::. `\."-._'."-"_\\-| |///."- " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-". Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
* s3: VFS: Add SMB_VFS_SYS_ACL_DELETE_DEF_FD(),Jeremy Allison2021-05-182-0/+15
| | | | | | | Not yet used. Eventually will replace SMB_VFS_SYS_ACL_DELETE_DEF_FILE(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
* s3: VFS: Remove SMB_VFS_READDIR_ATTR(), no longer usedSamuel Cabrero2021-05-142-18/+0
| | | | | | | | | | | | | | | | | | | | | | ---------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_READDIR_ATTR | | | | | | 13 May | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///\/|_)_______ Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* VFS: Add SMB_VFS_FREADDIR_ATTR()Samuel Cabrero2021-05-142-0/+18
| | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: VFS: Remove SMB_VFS_STREAMINFO(), no longer usedNoel Power2021-05-112-27/+0
| | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_STREAMINFO | | | | | | 28 April | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* VFS: Add SMB_VFS_FSTREAMINFONoel Power2021-05-112-0/+24
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* auth:creds: Add obtained arg to cli_credentials_set_kerberos_state()Andreas Schneider2021-04-281-1/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* tests: Use --configfile instead of -sAndreas Schneider2021-04-284-15/+15
| | | | | | | | | | We should use long options in tests to make clear what we are trying to do. Also the -s short option will be removed for --configfile later. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* auth3: Remove auth_skel.cVolker Lendecke2021-04-193-118/+0
| | | | | | | | | | | | | | | Authentication is a very complex topic, and someone who is able to write a custom auth module turning a struct auth_usersupplied_info into a struct auth_serversupplied_info should be able to live without this skeleton module. This module also gave an example to load a secondary authentication module via a module parameter (the call to load_module()). We have abandoned this practice, and since the "auth methods" parameter has gone we don't use this anymore internally. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:script: Remove findsmb from default installationAndreas Schneider2021-04-192-0/+305
| | | | | | | | | | | | | | | This tool is the only client tool which requires perl. Distributions are removing perl from the default installation now. Also this is a wrapper around nmblookup which is obsolete in the AD world. However it might still be used by someone so move it just to examples/scripts/nmb/ Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Apr 19 14:37:04 UTC 2021 on sn-devel-184
* s3: VFS: Remove SMB_VFS_NTIMES(), no longer usedSamuel Cabrero2021-04-192-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_NTIMES | | | | | | 13 April | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Samuel Cabrero <scabrero@samba.org> Autobuild-Date(master): Mon Apr 19 13:19:35 UTC 2021 on sn-devel-184
* VFS: Add SMB_VFS_FNTIMESSamuel Cabrero2021-04-192-0/+17
| | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* VFS: Remove SMB_VFS_CHMOD, no longer usedNoel Power2021-04-112-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_CHMOD | | | | | | 08 April | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Sun Apr 11 23:25:31 UTC 2021 on sn-devel-184
* VFS: Remove SMB_VFS_SET_DOS_ATTRIBUTE, no longer usedNoel Power2021-04-082-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | ------------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_SET_DOS_ATTRIBUTE | | | | | | 3 March | | 2021 | | | | | *| * * * * * | * _________)/\\_//(\/(/\)/\//\/\////\\/|_)_______ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Apr 8 18:38:40 UTC 2021 on sn-devel-184
* VFS: Remove SMB_VFS_REMOVEXATTR, no longer usedJeremy Allison2021-04-072-17/+0
| | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_REMOVEXATTR | | | | | | 22 March | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* VFS: Remove SMB_VFS_SETXATTR, no longer usedNoel Power2021-03-112-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_SETXATTR | | | | | | 19 February | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Signed-off-by: Noel Power <noel.power@suse.com>
* VFS: Remove SMB_VFS_LISTXATTR, no longer usedNoel Power2021-02-262-19/+0
| | | | | | | | | | | | | | | | | | | | | | --------------- / \ / REST \ / IN \ / PEACE \ / \ | | | SMB_VFS_LISTXATTR | | | | | | 10 February | | 2021 | | | | | *| * * * | * _________)/\\_//(\/(/\)/\//\/\////|_)_______ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples/fuse/smb2mount: fix compiler warning on ubuntu20.04 with -O3Stefan Metzmacher2021-02-101-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* vfs: RIP SMB_VFS_SYS_ACL_SET_FILE()Ralph Boehme2020-12-172-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | .--. .-, .-..-.__ .'(`.-` \_.-'-./` |\_( "\__ __.>\ '; _;---,._| / __/`'--) /.--. : |/' _.--.<| / | | _..-' `\ /' /` /_/ _/_/ >_.-``-. `Y /' _;---.`|/)))) '` .-''. \|: .' __, .-'"` .'--._ `-: \/: /' '.\ _|_ /.'`\ :; /' `- `-|-` -` | | | :.; : | .-'~^~`-. |: | .' _ _ `. |:. | | |_) | |_) | :. : | | | \ | | | : ; | | | : ; | | SMB_VFS | : ; | | SYS_ACL | : ; | | SET_FILE | .jgs. : ; | | -."-/\\\/:::. `\."-._'."-"_\\-| |///."- " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-". Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfs: add acl type arg to SMB_VFS_SYS_ACL_SET_FD()Ralph Boehme2020-12-172-3/+7
| | | | | | | No change in behaviour, the new arg is not yet used in any module. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfs: SMB_VFS_GET_COMPRESSION() -> SMB_VFS_FGET_COMPRESSION()Ralph Boehme2020-12-162-7/+5
| | | | | | | | | Now that handle based fdos_mode() is used everywhere we can be sure that we're also always getting a handle in SMB_VFS_GET_COMPRESSION() so we can now safely remove the path parameter. :) Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>