From: Anoop C S Date: Mon, 5 Jan 2026 06:26:03 +0000 (+0530) Subject: vfs_ceph_new: Fix a regression in SMB_VFS_GETWD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a6b80cbecd6e63baa631d0a63e09433b32f5830;p=thirdparty%2Fsamba.git vfs_ceph_new: Fix a regression in SMB_VFS_GETWD Previously, commit 701d55846bc48988cd3f353e7555fb170b1fb767 accidentally removed the statement that copies the current working directory resolved by the ceph_getwd() call leading to connection problems in Samba‑CephFS integration. Signed-off-by: Anoop C S Reviewed-by: Shweta Sodani Reviewed-by: Noel Power Autobuild-User(master): Anoop C S Autobuild-Date(master): Tue Jan 6 06:31:41 UTC 2026 on atb-devel-224 --- diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index 0c913f3e5b5..18d5e678f84 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -3518,6 +3518,7 @@ static struct smb_filename *vfs_ceph_getwd(struct vfs_handle_struct *handle, cwd = config->ceph_getcwd_fn(config->mount); DBG_DEBUG("[CEPH] getwd: cwd=%s\n", cwd); + result = cp_smb_basename(ctx, cwd); out: END_PROFILE_X(syscall_getwd); return result;