Commits on Source (65)
-
Jule Anger authored
and re-enable GIT_SNAPSHOT. Signed-off-by: Jule Anger <janger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
13fc70f5 -
Volker Lendecke authored
We'll scan share parametrics soon as well. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 0536ac96e927c00121e220f45cd63682726bc8e3)
5148ff97 -
Volker Lendecke authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 89da15756d81746d80b43c2fe04c51fc07591849)
0b9371aa -
Volker Lendecke authored
We'll have to add to an existing namearray soon. This turns one talloc_array() into a set of reallocs. This is slower, but set_namearray is only used for smb.conf entries where we don't expect hundreds or more entries to add. I've done this to avoid array length calculations, but if it turns out to be too slow we can get smarter again. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit fcd595a4642a08169b427af534a00116daf220bf)
af0085ac -
Volker Lendecke authored
For my taste this is a nicer configuration syntax than /../username1/file1/../username2/file2/ Is this too expensive? I don't think so. The scanning only happens an tcon time, and it only walks the parametric options. If this turns out to be a performance problem, we should think about smarter data structures for parametric options instead of just a linked list of string triples for everything. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 17becb5f526015de56d00cd1c8f603f8ddacd0ba)
fd73c865 -
Volker Lendecke authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit b5a128685e68f05a3688aa1391393b9095bf32b0)
244ade4f -
Volker Lendecke authored
This is done in check_user_ok now Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit b5169dd717ed5cf66d1e1e90aaf1a4646f7b5ea5)
13dbaf55 -
Volker Lendecke authored
Not needed anymore Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit a150714cc64294d75028bac47132084bdf6f72c9)
d5be00ab -
Volker Lendecke authored
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 31 09:41:54 UTC 2024 on atb-devel-224 (cherry picked from commit 10e9b858a3f9ca8d7e5dfd1c4e1e7937a03db671)
bffa9349 -
Stefan Metzmacher authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15688 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(v4-21-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-21-test): Wed Jul 31 16:07:37 UTC 2024 on atb-devel-224
5ba371e0 -
Andreas Schneider authored
Commit 0bc5b6f2 changed the script for generating the ABI symbol version. It broke the ABI by changing all dots to underscores. This reverts the commit partially to preserve the dots in the version part. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15673 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Tue Aug 6 00:42:56 UTC 2024 on atb-devel-224 (cherry picked from commit 46215ab1b34aa79c4c831ea1c12f73eacf1e8a12)
6d69562e -
Jo Sutton authored
An accidental negation means that ldb_version.h is not installed when ldb is built as a public library. This is a regression introduced by commit 625fb483. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15690 Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Sun Aug 4 01:35:55 UTC 2024 on atb-devel-224 (cherry picked from commit 5851ae555425ea2ba8e431162142ebae47be802e)
de85c86c -
Pavel Filipenský authored
Hint: review this commit with ignoring white space changes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit 6c627903ee466cd1559d7f58821221c4dd668d1f)
ff9d9677 -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit 374680010d42d3bca52791159dba7b42eb8d0d6c)
ba6c2f68 -
Pavel Filipenský authored
docs-xml: Delete descriptions for removed commands "net ads keytab add" and "net ads keytab add_update_ads" BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org> Autobuild-Date(master): Mon Aug 5 13:29:25 UTC 2024 on atb-devel-224 (cherry picked from commit a5f47f6efe67e02d7a12f30b4e6fb76bcd6aa71c)
6f9a9394 -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Autobuild-User(v4-21-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-21-test): Tue Aug 6 12:49:02 UTC 2024 on atb-devel-224
72590758 -
Andreas Schneider authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15673 Signed-off-by: Andreas Schneider <asn@samba.org> (cherry picked from commit bcd49e3000736eb3c642280ac2e1f3d56a31b6bb)
0cf9c6ef -
Stefan Metzmacher authored
* Regression fix for ABI problem TDB_1_4_11 vs. TDB_1.4.11 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15673 Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Aug 6 16:16:27 UTC 2024 on atb-devel-224 (cherry picked from commit 6b10cfbaf2c522cceb48c610c18656d2d69cf60b)
0ca6cd90 -
Stefan Metzmacher authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15687 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 5b31b723c06a0b41f9d47e47ce79818e07d3b831)
ba14164f -
Stefan Metzmacher authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15687 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Aug 7 07:38:35 UTC 2024 on atb-devel-224 (cherry picked from commit c0d0767a3ab2c0cd5c4f2fa5cd77f3b678794d63) Autobuild-User(v4-21-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-21-test): Wed Aug 7 11:15:19 UTC 2024 on atb-devel-224
b375043d -
Shachar Sharon authored
Defined new module 'vfs_ceph_new.c' which serves as a place holder for the next development phase of the bridge between samba's VFS layer and libcephfs. Begin with a module which is almost identical to existing 'vfs_ceph.c', except for hooks-names prefix which is 'vfs_ceph_' in order to make clear distinction from existing code base. Following commits will also switch to low-level APIs. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 3720452720b4760509875f0d2a8ed0d104bb1844)
74524c43 -
Shachar Sharon authored
Start using libcephfs low-level APIs: get reference to root inode and use it to query statfs. Requires an explicit put-inode to avoid resource leakage by libcephfs. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 192b0cf8717d79197b985539c9db8ca07a89c570)
5a7f6e46 -
Shachar Sharon authored
Start migrating to libcephfs' low-level APIs, using explicit Inode* reference. Implement the VFS 'stat' hook using a ceph_ll_getattr function, encapsulated with a pair of iget/iput to hold a pinned-to-cache Inode* instance. Upon calling to libcephfs this new code crates and destroys on-the-fly a Ceph UserPerm instance based on the uig, gid and groups from 'handle->conn->session_info->unix_token'. This logic ensures that the correct caller-credentials are passed-on to cephfs (instead of those set upon connection-creation in legacy 'vfs_ceph.c'). BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 1b78d79663c48aa4b6810a875427de85ae49a2e8)
9f68daac -
Shachar Sharon authored
Use libcephfs' low-level APIs and apply the same logic as stat, but using AT_SYMLINK_NOFOLLOW flags. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 93d786b14358db5664e13b1aa43f3f03e7cf0be3)
8e28065f -
Shachar Sharon authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 47224fbdeb55100cf8a7ee75e13b954ab71fc158)
be427077 -
Shachar Sharon authored
Use libcephfs' low-level API ceph_ll_setattr to implement VFS lchown_fn hook. Use to standard pattern of iget/iput to allow operation by Inode reference. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit beb21324c9a554f50d8d99af2a1b7fe8a17c8ebb)
7bb3f5f2 -
Shachar Sharon authored
Allow direct access to ceph-mount cached-entry via 'handle->data' private pointer. Required in order to allow more complex cached-state with each cephfs mount. Users should now use the local-helper function 'cmount_of' to access the underlying ceph_mount_info. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 31085c7efc3572bd6200d3d8e49c1e554cdbfbcc)
f3e5d723 -
Shachar Sharon authored
Implement openat, close and closedir and hooks using libcephfs' low-level APIs. Cache the open Fh* from libcephfs and its related meta-data using VFS fsp-extension mechanism. Upon open-create of new vfs_ceph_fh store the caller credentials (ceph's UserPerm*) within the same context object for subsequent calls. In addition, provide a "pseudo" fd numbering which is reported back to VFS layer and used as debugging hints. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 491676846458980944b76d1693726627a9a32503)
62a43faa -
Shachar Sharon authored
Use libcephfs' low-level APIs and apply the same logic as stat, but via explicit inode-reference. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit f16183f90abba3c2d3d26262926f1454275a9d3f)
6fdf1922 -
Shachar Sharon authored
Use libcephfs' low-level APIs to do lookup-by-name via parent's open reference followed by getattr on the inode itself. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 13671cefffb268d84c973583669681318a2ce3bb)
655e7a15 -
Shachar Sharon authored
Implement fdopendir using libcephfs low-level API and cached (via fsp) open file-handle. Embed the result within cached vfs_ceph_fh so it may be used properly by closedir. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit a8a7339c6b7a6866399fd6c409228267a585740f)
34c84825 -
Shachar Sharon authored
Implement 'mkdirat' hook using libcephfs' low-level APIs, via the open file-handle reference to parent directory. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit bd955af86e71fa6c87648e578890ea6f4d490d4b)
5eaa8749 -
Shachar Sharon authored
Implement readdir and rewinddir operations using libcephfs' low-level APIs. Casts the opaque DIR pointer into struct vfs_ceph_dirp (the first member of struct vfs_ceph_fh) to resolve the ceph_dir_result pointer which libcephfs expects for readdir operations. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 99c7179e5da6d201f03b1a04dbe2a6722090783d)
9fd6c5b4 -
Shachar Sharon authored
Error handling in the case of 'ceph_readdir' is done by setting 'errno' deep within libcephfs code. In case of error, emit proper debug message and re-update errno to avoid possible over-write by logging mechanism. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 24a3423949e127177c019a0d126c6f7523e61984)
26851f16 -
Shachar Sharon authored
Use libcephfs' low-level APIs to implement 'fchown' and 'fchmod' using open file-handle. If fsp does not have an open cephfs Fh reference, set errno to EBADF and return -1 to VFS. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit cb14d3630d8c110405c2a43bef15aa31ec4a0fba)
7780114a -
Shachar Sharon authored
Implement fntimes hook using libcephfs' low-level APIs. Convert smb_file_time to ceph_statx plus proper field mask on-the-fly upon issuing low-level call to libcephfs. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 20b7d2bfe06beefb5e7f091eb317ad18cb53f8a9)
2b660aaf -
Shachar Sharon authored
Implement unlinkat using libcephfs low-level APIs. Operate using parent directory's open file-handle. When flags has AT_REMOVEDIR bit set call low-level rmdir; otherwise, do normal unlink. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 362a7cf8664270145bff815347e447797cc1a643)
9278e661 -
Shachar Sharon authored
Implement unlinkat using libcephfs low-level APIs. For readlink operation need to resolve child inode by-lookup and then used the inode reference for the actual low-level readlink. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 53c9269b219a54236500d22d8a4c7f2ed582faaf)
69b671dc -
Shachar Sharon authored
Implement read/write IO operations using libcephfs' low-level APIs. Requires open ceph Fh* associated with fsp (extension) to complete both pread/pwrite as well as async I/O operations. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 29bbe0f52d4ffae9dbb070ffc525acf99203444b)
ddb5fcb2 -
Shachar Sharon authored
Implement lseek operation using libcephfs' low-level APIs. Requires open ceph Fh* associated with fsp (extension). BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 30c1a613fee3f625c0559e49e037af9fad04c3b8)
f429baca -
Shachar Sharon authored
Implement fsync operation using libcephfs' low-level APIs. Requires open ceph Fh* associated with fsp (extension). BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit e15586fc6097565208011c556282d83eeec2230b)
dc207c28 -
Shachar Sharon authored
Implement ftruncate/fallocate operations using libcephfs' low-level APIs. Requires open ceph Fh* associated with fsp (extension). BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit b536bf1fa87fb794e2992ab5368f41fdba80e3ad)
2b1c6594 -
Shachar Sharon authored
Implement link operations using libcephfs' low-level APIs. Requires two phase operation: resolve (by-lookup) reference to inode and then do the actual (hard) link operation using parent dir-inode reference to the locally-cached inode. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 9a70bd606728110ad91cab547a4e31350010bb68)
6af3cb81 -
Shachar Sharon authored
Implement renameat operations using libcephfs' low-level APIs. Requires both directories to have valid inode-ref associated with their fsp extension. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 83011357fb834e92505f17d6f65d5f32e3d37ec0)
9109ed18 -
Shachar Sharon authored
Implement mknodat operations using libcephfs' low-level APIs. Requires parent directory to have valid inode-ref associated with its fsp extension. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit e714e5ddc50a771e743f5e63f686c106abe33b75)
e0d2953a -
Shachar Sharon authored
Implement extended-attributes operations using libcephfs' low-level APIs. Whenever possible, use the open file-handle from fsp-extension to resolve inode-reference and user-permissions. Otherwise, resolve both on-the-fly. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit 0a8445e891c64d703d44258b2eef85296265c55f)
ec119531 -
Shachar Sharon authored
Add developer's debug-logging upon each call to libcephfs' low-level APIs. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit d00f20f30f4e77463e82d202099682b7ef68260f)
9de33d34 -
Shachar Sharon authored
Keep logging consistent: add "[CEPH] " prefix to DBG_DEBUG log messages where missing. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Jul 29 15:58:15 UTC 2024 on atb-devel-224 (cherry picked from commit 3bb6d441bf047bef6d95675057cecd3865a25540)
fe3471eb -
Shachar Sharon authored
Create man entry for the newly added vfs_ceph_new module: almost identical to existing vfs_ceph, except to the configuration entry: [sharename] vfs objects = ceph_new ... Adds a bit of info for the motivation behind this new module. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit d8c84a2993b84ebb69011c33c1b5d44801c15363)
ff2ecedd -
Anoop C S authored
Currently we don't have an explicit check for the presence of ceph_select_filesystem() libcephfs API as it is always found to be present with the minimum ceph version that is supported with Samba right now. Therefore under this assumption directly call ceph_select_filesystem() without any #ifdefs. Please note that this change is already part of vfs_ceph via ef0068cd. ref: https://gitlab.com/samba-team/samba/-/merge_requests/3715 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Anoop C S <anoopcs@samba.org> Autobuild-Date(master): Mon Aug 5 16:06:47 UTC 2024 on atb-devel-224 (cherry picked from commit de2f76fa47e6e672ce353ea9d3dc4019965c6491)
0d031613 -
Shachar Sharon authored
There is code in Samba that expects errno from a previous system call to be preserved through a subsequent system call. Thus, avoid setting "errno = 0" in status_code() and lstatus_code() upon successful return from libcephfs API call. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> (cherry picked from commit a7f4e2bd47c7f4728f3ac8d90af693156a69c557)
7872fbd9 -
Shachar Sharon authored
Take special care for readdir errno setting: in case of error, update errno by libcephfs (and protect from possible over-write by debug logging); in the case of successful result or end-of-stream restore errno to its previous value before calling the readdir_fn VFS hook. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Aug 7 14:20:02 UTC 2024 on atb-devel-224 (cherry picked from commit aa043a5808b73fc272de585c1446372fa3f21d08)
0edfc053 -
Shachar Sharon authored
Use explicit 'ceph_new' prefix to each of the ceph specific config parameters to avoid confusion with legacy 'vfs_ceph' module. Hence, users will have in their smb.conf a format similar to: ... [smbshare] vfs objects = ceph_new ceph_new: config_file = /etc/ceph/ceph.conf ceph_new: user_id = user1 ceph_new: filesystem = fs1 ... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit aca4cf8327dcaef782dedd98a63a020469c45cdb)
ab1db57e -
Shachar Sharon authored
With 'ceph_new' prefix used by vfs_ceph_new for config parameters, update the relevant man-page accordingly. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15686 Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Aug 8 13:54:34 UTC 2024 on atb-devel-224 (cherry picked from commit 68f0835c8e1c5029cd831c267b75c02185b206c7)
74776581 -
Pavel Filipenský authored
Revert "docs-xml: Delete descriptions for removed commands "net ads keytab add" and "net ads keytab add_update_ads"" This reverts commit a5f47f6efe67e02d7a12f30b4e6fb76bcd6aa71c. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 51784e80f2bdf84c296badba2caea800ce3813db)
4b6e24cb -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit cb774a74c4e1cc03ad0267cc68b93c06738e2ce6)
80db72bd -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit adcad1b537ce2e2e213b72131517233a8d2d91fd)
5730327b -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 9f0183a9f55e52b09c6ae9f6c8badad6ba85bb64)
ed391186 -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit ca7acec952b0e6154927b28b1afa3e9318f22035)
4643ddbb -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 2dd81ec2bea46ad6caa6e40194eae4340f4acc7d)
51298583 -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Aug 13 15:27:26 UTC 2024 on atb-devel-224 (cherry picked from commit 9e4074d4268e34cf93f79cd1108e7dc661ad3845)
8c0820a9 -
Pavel Filipenský authored
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2552df22 -
Stefan Metzmacher authored
Signed-off-by: Stefan Metzmacher <metze@samba.org>
ac02a513 -
Stefan Metzmacher authored
Signed-off-by: Stefan Metzmacher <metze@samba.org>
8e440c0a -
Michael Tokarev authored1296a89a
Showing
- VERSION 1 addition, 1 deletionVERSION
- WHATSNEW.txt 83 additions, 5 deletionsWHATSNEW.txt
- buildtools/wafsamba/samba_abi.py 3 additions, 3 deletionsbuildtools/wafsamba/samba_abi.py
- docs-xml/manpages/net.8.xml 123 additions, 62 deletionsdocs-xml/manpages/net.8.xml
- docs-xml/manpages/vfs_ceph_new.8.xml 177 additions, 0 deletionsdocs-xml/manpages/vfs_ceph_new.8.xml
- docs-xml/smbdotconf/filename/hidefiles.xml 20 additions, 9 deletionsdocs-xml/smbdotconf/filename/hidefiles.xml
- docs-xml/smbdotconf/filename/vetofiles.xml 20 additions, 9 deletionsdocs-xml/smbdotconf/filename/vetofiles.xml
- docs-xml/smbdotconf/security/kerberosmethod.xml 6 additions, 0 deletionsdocs-xml/smbdotconf/security/kerberosmethod.xml
- docs-xml/smbdotconf/security/syncmachinepasswordscript.xml 12 additions, 1 deletiondocs-xml/smbdotconf/security/syncmachinepasswordscript.xml
- docs-xml/smbdotconf/security/syncmachinepasswordtokeytab.xml 51 additions, 35 deletionsdocs-xml/smbdotconf/security/syncmachinepasswordtokeytab.xml
- docs-xml/wscript_build 1 addition, 0 deletionsdocs-xml/wscript_build
- lib/ldb/wscript 1 addition, 1 deletionlib/ldb/wscript
- lib/tdb/ABI/tdb-1.4.12.sigs 73 additions, 0 deletionslib/tdb/ABI/tdb-1.4.12.sigs
- lib/tdb/wscript 1 addition, 1 deletionlib/tdb/wscript
- script/autobuild.py 62 additions, 0 deletionsscript/autobuild.py
- selftest/target/Samba3.pm 5 additions, 1 deletionselftest/target/Samba3.pm
- source3/include/proto.h 3 additions, 1 deletionsource3/include/proto.h
- source3/lib/util_namearray.c 53 additions, 66 deletionssource3/lib/util_namearray.c
- source3/lib/winbind_util.c 11 additions, 0 deletionssource3/lib/winbind_util.c
- source3/modules/vfs_ceph.c 0 additions, 2 deletionssource3/modules/vfs_ceph.c
docs-xml/manpages/vfs_ceph_new.8.xml
0 → 100644
lib/tdb/ABI/tdb-1.4.12.sigs
0 → 100644