summaryrefslogtreecommitdiff
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:mdssvc: fix flex compilation errorRalph Boehme2019-06-211-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | [4440/4495] Compiling bin/default/source3/rpc_server/mdssvc/sparql_lexer.lex.c ../../source3/rpc_server/mdssvc/sparql_lexer.l:26: error: "yyalloc" redefined [-Werror] 26 | #define yyalloc SMB_MALLOC Looks like the dirty redefine trick doesn't work anymore with newer flex versions. According to the flex manual the right thing to do is to provide own functions for yyalloc and yyrealloc when passing the options "noyyalloc noyyrealloc". BUG: https://bugzilla.samba.org/show_bug.cgi?id=13987 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue May 28 11:49:06 UTC 2019 on sn-devel-184 (cherry picked from commit 9053391f86a529e0a7dbcd23fa3a555d85c2207c) Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-9-test): Fri Jun 21 11:49:59 UTC 2019 on sn-devel-144
* vfs_fruit: remove a now unnecessary includeRalph Boehme2019-06-211-1/+0
| | | | | | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu May 30 22:12:50 UTC 2019 on sn-devel-184 (cherry picked from commit 9a2c9834cb1b77547b8b932c35870301afb9fc25)
* vfs_fruit: use VFS functions in ad_read_rsrc_adouble()Ralph Boehme2019-06-211-7/+6
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 9fe84a6345bf5d9fdb1df87a853db3380e6fb0f7)
* vfs_fruit: use fsp and remove syscalls from ad_convert_blank_rfork()Ralph Boehme2019-06-211-24/+12
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 70c4a8f0ac307009c26e857523192c95b42a92f5)
* vfs_fruit: use VFS function in ad_convert_truncate()Ralph Boehme2019-06-211-6/+4
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 3739ad90cf2bbaa2094a34197c894363d2e24a5a)
* vfs_fruit: add VFS handle to ad_convert_truncate()Ralph Boehme2019-06-211-2/+3
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 4e44b1da9357120f0ad74e24c650bc6386085c47)
* vfs_fruit: use fsp and remove mmap in ad_convert_xattr()Ralph Boehme2019-06-211-24/+5
| | | | | | | | | | No need to mmap() anyway, the xattr data is already available in ad->ad_data. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 4ff7ea0e0312c737aefd350f7b8fbed4c8602325)
* vfs_fruit: remove use of mmap() from ad_convert_move_reso()Ralph Boehme2019-06-211-23/+33
| | | | | | | | | | | We now have an fsp that we can use, so we can get rid of mmap() and sys_pread()/sys_pwrite(). Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 0041855af0b05d6c47558880d6eebd1970179272)
* vfs_fruit: convert ad_open_rsrc() to open a proper fsp with ↵Ralph Boehme2019-06-211-26/+77
| | | | | | | | | | | | | | SMB_VFS_CREATE_FILE() A first step in converting all raw syscalls to use proper VFS functions. All existing users of the raw system filedescriptor continue to use the fd from fsp->fh for now. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 29418c726be74feb1d8c3ac9f7b8c983901a2aab)
* vfs_fruit: only do cross protocol locking on non-internal opensRalph Boehme2019-06-211-1/+3
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit f5f7d1e9bf7e39933ccf7c874e682f9df80a6fec)
* vfs_fruit: remove a layer of indirectionRalph Boehme2019-06-211-11/+4
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 97d485ff2cda85edeba163ea01b6abfa705db20f)
* vfs_fruit: pass VFS handle to ad_convert_move_reso()Ralph Boehme2019-06-211-2/+3
| | | | | | | | | | Not used for now, that comes next. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 3919ea048fe3b763657e14cdfb5920184a900d27)
* vfs_fruit: remove xattr code from the AppleDouble subsystemRalph Boehme2019-06-211-27/+8
| | | | | | | | | | | | The subsystem consumers have been reworked in the previous commits, so this is not used anymore. ad_init() doesn't need a handle argument anymore due to this, remove it as well. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit e3cb1cb24f2a31d7fd03f3bdf417f4704fb4ac7c)
* vfs_fruit: remove now unused AppleDouble code for resource fork in xattrRalph Boehme2019-06-211-67/+3
| | | | | | | | | | | | | This was only needed to get the resourcefork size via the ad_* AppleDouble function. This is now done with a fstat on the low level xattr fd (remember, this is Solaris only code...), so we can remove the xattr special casing from the AppleDouble functions. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit cb9dffa1c66294b6eed85e7576aa99c642d0b541)
* vfs_fruit: use stream code for resource fork size calculation in ↵Ralph Boehme2019-06-211-1/+1
| | | | | | | | | | | | | readdir_attr_rfork_size() This works as well, using an fstat() on the filehandle to get the size. This is tested by the torture test "vfs.fruit.SMB2/CREATE context AAPL". Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit a23bcc1916a49bf3e0edece190e5434e39862d2c)
* vfs_fruit: use correct case FRUIT_RSRC_STREAM in readdir_attr_rfork_size()Ralph Boehme2019-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | This is a genuine bug, but luckily this would only impact configs which nobody uses: fruit:metadata = netatalk fruit:resource = stream With the above configuration the switch in readdir_attr_rfork_size() would hit the default case and so always report resource forks as 0 bytes in size. All deployment that I've seen that use fruit:resource=stream also use fruit:metadata=stream, so the switch takes FRUIT_META_STREAM case which runs the correct code readdir_attr_rfork_size_stream(). Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 83179a74119de84d20f796c241aae6bccb83a68b)
* vfs_fruit: ignore AppleDouble files in fruit_unlink()Ralph Boehme2019-06-211-0/+2
| | | | | | | | | | | | Otherwise, if SMB_VFS_UNLINK() is called for an AppleDouble path "._file", we try to delete "._._file" which doesn't make sense. AppleDouble files don't have AppleDouble themselves. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 797dc649456f39add4af8b54b60db0268ad4e90e)
* vfs_fruit: add a missing elseRalph Boehme2019-06-211-1/+1
| | | | | | | | | | | Luckily the missing else has the same control flow due to the previous if and else blocks calling return. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 44d8568001c87d28962dfc4e3fde6d0f7f409997)
* vfs_fruit: add and use is_adouble_file()Ralph Boehme2019-06-211-5/+22
| | | | | | | | | | | This adds a helper function that checks whether the last component of a path is an AppleDouble sidecar file with "._" name prefix. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit ad70c947c759aa0965ee57f973fb8dc1909e0e39)
* vfs_fruit: finally, remove ad_handle from struct adoubleRalph Boehme2019-06-211-2/+0
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit e266daaed149561b746dbb8d5e9523862f0057b5)
* vfs_fruit: pass handle to ad_convert_delete_adfile()Ralph Boehme2019-06-211-4/+5
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 10. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 5f4d16b40e07acf8d27fee62f1a56de175663a1d)
* vfs_fruit: pass handle to ad_convert_finderinfo()Ralph Boehme2019-06-211-3/+4
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 9. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 50874c1548d62ab0ddaaa6dd4124279ee5029fcf)
* vfs_fruit: pass handle to ad_convert_blank_rfork()Ralph Boehme2019-06-211-3/+4
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 8. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit adc7ac38b849b4dce4a85fd6442c8d4b9da57686)
* vfs_fruit: pass handle to ad_convert_xattr()Ralph Boehme2019-06-211-4/+5
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 7. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit fd2f4cf828ee4c31e3b5a27a79d3a0ee12a5877a)
* vfs_fruit: indentation fixRalph Boehme2019-06-211-2/+2
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 400b3c2f8c82b1defe1e321e0cdae486b930344f)
* vfs_fruit: pass handle to ad_read_rsrc() and all the way downRalph Boehme2019-06-211-9/+12
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 5. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 661dfa4a19673fdb30d5bf36279cdf867454b947)
* vfs_fruit: use proper VFS function in ad_read_meta()Ralph Boehme2019-06-211-1/+3
| | | | | | | | | | | Continuing to ignore a possible error for now, this is in an error codepath anyway. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 30ca328c698c2e035e240359bda7c9dcbeb646df)
* vfs_fruit: indentation fixRalph Boehme2019-06-211-1/+1
| | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 47721d8d359ef78b8dd4f77f92c30c2caf2c4a80)
* vfs_fruit: pass handle to ad_read_meta()Ralph Boehme2019-06-211-3/+4
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 4. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit f8df09157f31b53dbe73eaf4349fc071bfcc1b90)
* vfs_fruit: pass handle to ad_read()Ralph Boehme2019-06-211-2/+4
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 3. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit d0abf945e683766029d28915541a4baf9f3879ab)
* vfs_fruit: pass handle to ad_set()Ralph Boehme2019-06-211-4/+8
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 2. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit c78ba30ac4534b7037b979ac96b77b834b2eb2fe)
* vfs_fruit: pass handle to ad_fset()Ralph Boehme2019-06-211-8/+12
| | | | | | | | | | On the course of removing ad_handle from struct adouble, step 1. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 585d4d49770b4ddc3f7d9dcbb3e322f072767781)
* s3:auth: explicitly add BUILTIN\Guests to the guest tokenRalph Boehme2019-06-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | This changes ensures that smbd always adds BUILTIN\Guests to the guest token which is required for guest authentication. Currently the guest token depends on the on-disk configured group mappings. If there's an existing group mapping for BUILTIN\Guests, but LOCALSAM\Guest is not a member, the final guest token won't contain BUILTIN\Guests. For SMB2 the flag SMB2_SESSION_FLAG_IS_GUEST will not be set in the final SMB2 SESSION_SETUP response, because smbd sets it based on the token containing the BUILTIN\Guests SID S-1-5-32-546. At the same time, the packet is not signed which causes Windows clients and smbclient to reject the unsigned SMB2 SESSION_SETUP response. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944 Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 5 16:55:26 UTC 2019 on sn-devel-184 (cherry picked from commit a66af4c96accba4ee64eeb1958458b69f3ccec1d)
* tests: add a test for guest authenticationRalph Boehme2019-06-212-0/+108
| | | | | | | | | | | | | | | This verifies that smbd always adds BUILTIN\Guests to the guest token which is required for guest authentication. Currently the guest token depends on the on-disk configured group mappings. If there's an existing group mapping for BUILTIN\Guests, but LOCALSAM\Guest is not a member, the final guest token won't contain BUILTIN\Guests. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 0e88f98855e24cfddb55bef65c5910b8e662c630)
* s3:smbd: call reinit_guest_session_info() in the conf updated handlerRalph Boehme2019-06-211-0/+6
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit f4e340a48b6f059a1daa66deb9c26da9e8fcd5e7)
* s3:auth: add reinit_guest_session_info()Ralph Boehme2019-06-212-0/+12
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 8096cc7eb2b36b074ff17a52dc3540be4ecff6bb)
* s3/vfs_glusterfs_fuse: Avoid using NAME_MAX directlyGünther Deschner2019-06-211-5/+7
| | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13872 Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Tue Jun 11 00:29:19 UTC 2019 on sn-devel-184
* s3/vfs_glusterfs: Avoid using NAME_MAX directlyGünther Deschner2019-06-211-5/+7
| | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13872 Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* Revert "s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX"Günther Deschner2019-06-211-26/+6
| | | | | | | This reverts commit e28d172b00cadf492c22bd892e2dda3bf2fe2d70. Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* Revert "s3/vfs_glusterfs: Dynamically determine NAME_MAX"Günther Deschner2019-06-211-29/+8
| | | | | | | This reverts commit 8e3a042eb9e502821b147f1bbb2d98d59f17a095. Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* vfs_fruit: change trigger points of AppleDouble conversionRalph Boehme2019-06-131-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the trigger points where AppleDouble file conversion is run by ad_convert() from deep down the callchain in ad_read_rsrc_adouble() to high level VFS entry points. Currently ad_convert() will be triggered as part of open_file_ntcreate(..., "file:AFP_AfpResource", ...): after SMB_VFS_OPEN() has been called with O_CREAT, what created the file, we call SMB_VFS_FSTAT() on the just created filehandle. This ends up in ad_convert(), finds the resource fork empty and thus deletes the file. This commit moves calling of the conversion funtion to the high level VFS entry points where the converted metadata is needed: o for directory enumerations SMB_VFS_READDIR_ATTR() is called to fill in the repurposed fields in the directory entry metadata o obviously for SMB_VFS_CREATE_FILE() on an macOS stream Bug: https://bugzilla.samba.org/show_bug.cgi?id=13958 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 78a4639b2d06cc69788861618d2e91945e142d2b) Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-9-test): Thu Jun 13 14:25:17 UTC 2019 on sn-devel-144
* vfs_fruit: add a forward declaration for ad_get()Ralph Boehme2019-06-131-0/+4
| | | | | | | | | | Will be needed in the next commit. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13958 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 4777d1163a7c18c89ce9be955903427a18134415)
* selftest: run vfs.fruit test against a share that deletes empty resource forksRalph Boehme2019-06-131-0/+1
| | | | | | | | | | | | | | | | This reveals a bug in the AppleDouble conversion code: the conversion code that unlinks an empty resource fork AppleDouble sidecar file ("._file") gets triggered as part of open_file_ntcreate(..., "file:AFP_AfpResource", ...): after SMB_VFS_OPEN() has been called with O_CREAT, what created the file, we call SMB_VFS_FSTAT() on the just created filehandle. This ends up in ad_convert(), finds the resource fork empty and thus deletes the file. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13958 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 8ed9b6b457923d2353d1d18838f4a278db48c6b9)
* registry: add a missing includeRalph Boehme2019-06-131-0/+1
| | | | | | | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=13840 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon May 27 14:29:36 UTC 2019 on sn-devel-184 (cherry picked from commit e09053faf457f69ad9b5e6a34be43c947503575f)
* s3: lib: Rename all uses of file_pload_XXX -> file_ploadv_XXX.Ralph Boehme2019-06-133-18/+18
| | | | | | | | | | Keep naming consistent across all usage. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit dbfa3cd186428c02589aa9093e868554b4c695d5)
* s3: lib: Remove file_pload_send().Jeremy Allison2019-06-132-32/+0
| | | | | | | | | | No longer used. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit d5c363d65d771c792523f2f3e526c90514212fc2)
* s3: winbind: Convert idmap to use file_ploadv_send().Jeremy Allison2019-06-131-10/+43
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 449d49946b295f574e1fed83b5a5ffbf1c1b1e30)
* s3: lib: Add file_ploadv_send().Jeremy Allison2019-06-132-0/+32
| | | | | | | | | | | Not yet used. Preparing to remove file_pload_send() with this safer alternative. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 61054e53f53e5884902b566b1f9b454a3ff4741f)
* s3: lib: Remove file_lines_pload().Jeremy Allison2019-06-132-17/+0
| | | | | | | | | | No longer used. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 02bc0ce9d22117b464bae47c5d09c45b4f7c2272)
* s3: smbd: Convert sysquotas.c code to use file_lines_ploadv().Jeremy Allison2019-06-131-19/+107
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 4a63e3b9659c8715d436c66dee8bf420e2ea89fb)