[From nobody Sun Jul 19 09:53:06 2026
Received: (at submit) by bugs.debian.org; 14 Aug 2025 17:36:46 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-19.1 required=4.0 tests=ARC_SIGNED,ARC_VALID,
 BAYES_00,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,HAS_PACKAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,
 SPF_PASS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 72; hammy, 150; neutral, 194; spammy,
 0. spammytokens: hammytokens:0.000-+--H*x:12.0.0,
 0.000-+--H*UA:12.0.0, 
 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--sk:initsy
Return-path: &lt;dfussell@byu.edu&gt;
Received: from mail-mw2nam10on20727.outbound.protection.outlook.com
 ([2a01:111:f403:2412::727]:21696
 helo=NAM10-MW2-obe.outbound.protection.outlook.com)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP384R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;dfussell@byu.edu&gt;) id 1umbsb-003dWW-0s
 for submit@bugs.debian.org; Thu, 14 Aug 2025 17:36:46 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=mmQ17ovWbuyGLoJ9eLbxSf1l+tEox+7wPlZt8CQEcBZAOrGY+orgGkqWcgodsLKKPbxw+Ef6ZbIFh6snm1OCHEXdaWD/fndxiYNZ6lIPewL/ci9PMqJyqaGgxQLPT6t1yZBovOg67dTDLYrlje+KjTvYelpGhxFFsAHnOllE51oaVRC6Ri3mSalEwhSwefdSpCfUHeXex+vCBK74Cgtp+Pt4j1KjzSgzKvE/wJt3AccHHnzYcfPS/0jwm5T1xVIx7lUWpfQVhfd0xuTfmn33I9NJ/04IAgTX4a2RakpQQbB9vMTjkC18V1czPM1DKqy9BDTkXX43zH648ck2obxUWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=S3H7791Q4Y6sb2IgXmFGyIsfcAYmdTXsXCMqp/npV0k=;
 b=sp5x/5UMBTx6WcPBzZJYFQIb6g7HjfaGq/qochvT8hYVV6VfbEUe1RigvW6yZCmnNt+pUG3MRH73AboGZI6BEDK5gNemXvGZQBqanM14lZ7G9BppR/JPueB5BCUaj/LI31Io27cGwrgurVv/k7ynaMypzFhEjGvUeWNw0ZCKeNPtearsb+VSP8PkwocyoeZUYCl/jI865LB/vq2YWwK2mCynY4YcwVpX760igTlJsAGHPgtfFD1MBNrsM/d3Zacr3sLTBOT+CpLC45dPxe1XvM0VdReu9XvrnLp3gfTGNIbE1BUReawrN30uB7yPbnjcVc9T6mQZ3miTIUGjYO438A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=neutral (sender ip is
 128.187.48.33) smtp.rcpttodomain=bugs.debian.org
 smtp.mailfrom=byu.edu; 
 dmarc=fail (p=none sp=none pct=100) action=none header.from=byu.edu;
 dkim=none (message not signed); arc=none (0)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=byu.edu; s=selector2; 
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=S3H7791Q4Y6sb2IgXmFGyIsfcAYmdTXsXCMqp/npV0k=;
 b=fc0+PeALbiEJ6XaRubO+aDsu071JwE1dpkuhIsy5k4O+s7t49FaWqnqOlDABnfThUxlFML42Z14OICYILGBm0yYNaMTHcwqZ5QatrnO8JUNT4gRrcFzdcAhPXYNPEJJVla864g2m46q5ToWMbrAH8oS5lV/GWj4tFPj2Yiv/C5c=
Received: from CH2PR16CA0017.namprd16.prod.outlook.com (2603:10b6:610:50::27)
 by PH7PR22MB5039.namprd22.prod.outlook.com (2603:10b6:510:314::12)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.17; Thu, 14 Aug
 2025 17:36:26 +0000
Received: from CH1PEPF0000AD7A.namprd04.prod.outlook.com
 (2603:10b6:610:50:cafe::5e) by CH2PR16CA0017.outlook.office365.com
 (2603:10b6:610:50::27) with Microsoft SMTP Server (version=TLS1_3,
 cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.17 via Frontend Transport; Thu,
 14 Aug 2025 17:36:25 +0000
X-MS-Exchange-Authentication-Results: spf=neutral (sender IP is 128.187.48.33)
 smtp.mailfrom=byu.edu;
 dkim=none (message not signed)
 header.d=none;dmarc=fail action=none header.from=byu.edu;
Received-SPF: Neutral (protection.outlook.com: 128.187.48.33 is neither
 permitted nor denied by domain of byu.edu)
Received: from egw2.byu.edu (128.187.16.136) by
 CH1PEPF0000AD7A.mail.protection.outlook.com (10.167.244.59) with Microsoft
 SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9031.11
 via Frontend Transport; Thu, 14 Aug 2025 17:36:25 +0000
Received: from postal3.et.byu.edu (postal3.et.byu.edu [128.187.48.33])
 by egw2.byu.edu (Postfix) with ESMTPS id 0138340C55C;
 Thu, 14 Aug 2025 11:36:25 -0600 (MDT)
Received: from localhost (localhost [127.0.0.1])
 by postal3.et.byu.edu (Postfix) with ESMTP id A03896E0F1;
 Thu, 14 Aug 2025 11:36:24 -0600 (MDT)
Received: from postal3.et.byu.edu ([127.0.0.1])
 by localhost (postal3.et.byu.edu [127.0.0.1]) (amavis, port 10024) with ESMTP
 id kBb-pryKHwmt; Thu, 14 Aug 2025 11:36:24 -0600 (MDT)
Received: from smb01.et.byu.edu (smb01.et.byu.edu [10.8.125.127])
 by postal3.et.byu.edu (Postfix) with ESMTP id DEC996E0C3;
 Thu, 14 Aug 2025 11:36:23 -0600 (MDT)
Received: by smb01.et.byu.edu (Postfix, from userid 2345)
 id 18F41806BA; Thu, 14 Aug 2025 11:36:22 -0600 (MDT)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Daniel Fussell &lt;dfussell@byu.edu&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: samba: server reports 0 bytes available disk space to client
Message-ID: &lt;175519298283.42449.16495375845981213176.reportbug@smb01.et.byu.edu&gt;
X-Mailer: reportbug 12.0.0
Date: Thu, 14 Aug 2025 11:36:22 -0600
X-EOPAttributedMessage: 0
X-MS-Exchange-SkipListedInternetSender: ip=[128.187.48.33];
 domain=postal3.et.byu.edu
X-MS-Exchange-ExternalOriginalInternetSender: ip=[128.187.48.33];
 domain=postal3.et.byu.edu
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD7A:EE_|PH7PR22MB5039:EE_
X-MS-Office365-Filtering-Correlation-Id: 97a7c293-3ca1-46da-6dde-08dddb5917df
X-LD-Processed: c6fc6e9b-51fb-48a8-b779-9ee564b40413,ExtAddr
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
 ARA:13230040|36860700013|376014|61400799027|156008|82310400026; 
X-Microsoft-Antispam-Message-Info: SsBLoXGupjKttlTLlAzaVwOwa/+JScnoQRFxrwRITgRgLzFOliSk8l/fnO5gZK44bVNyzATKA71pqagaeTdGzd+pLlrMbFgdVKI7ympuI29+HlXBDzDTGcxbdsaqIhmHIcC2Q9TMScdVaqiUDHvBaP3FdTsk4WvQlUDt8o41RrBkEHw62AFy5UVErQ/+rEblE0cDxstyZcc3T9P0/stuziEdlBqgXfmjYeickmYJSiRxo6CqR/MKVZxXN9oePHx1PRFaJrXq4xIJJi3qTd/1U/ercq2A04UjklU0TR+UhUqfKK443gLPNmOmRMOyGD/2YIx/ZiH3949fp4A7jOsutOcT9tr7zRTNDxTTvtBZ7zxSxC3s2XbXaB4n/5OWtGI67eIEli7EzvzhJuWoQXl2UZzG7LQYxG8tBqZ5qMcdopVgshbv7TS9y09Y3mJZTFGGbpsiuUsqcrjz4PSFXdhdOJ0xTahg/2D6WX7expL86MWfZqC9596WScYUQ+T5KXmH4ml3HPE0FMWjREQe36d7pFGsgzCLJETe4Q8jRQrbl/1eKtWDRcCGbEc+u05Ho1SuwdYigFM5m97+MF4l3jnrMPN3AuoF5AoSASiSHTflBei3FW1cyK4MGmZnsx4gbZ5LRd4vTsI8ZmC8iibUlyivSEJ05QdXZfHWPKNIOLXP28meofIB7YwvlYG8jNk/OazcRylyhjdSN8EAh//sLHO5CzxZHkOMMMJndx4tNy2G0uNy7IYvqs1BywS2D/XNvSGTNnfSk6BZh8IrnfUmmMEv7tuSE22xAmJ8HB8nQsLCiTk=
X-Forefront-Antispam-Report: CIP:128.187.16.136; CTRY:US; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:postal3.et.byu.edu; PTR:postal3.et.byu.edu; CAT:NONE;
 SFS:(13230040)(36860700013)(376014)(61400799027)(156008)(82310400026); DIR:OUT;
 SFP:1102; 
X-OriginatorOrg: byu.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2025 17:36:25.4486 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 97a7c293-3ca1-46da-6dde-08dddb5917df
X-MS-Exchange-CrossTenant-Id: c6fc6e9b-51fb-48a8-b779-9ee564b40413
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c6fc6e9b-51fb-48a8-b779-9ee564b40413; Ip=[128.187.16.136];
 Helo=[egw2.byu.edu]
X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD7A.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR22MB5039
Delivered-To: submit@bugs.debian.org

Package: samba
Version: 2:4.22.3+dfsg-4~bpo12+1
Severity: important

Dear Maintainer,

After upgrading to Debian 12, the Samba server is reporting 0 bytes
available disk space to all users, but is correctly reporting disk
used space.  This prevents Windows Explorer clients from being able to
copy new files into the share.

This only seems to happen with Debian 12's Samba 4.17; it is
not happening with 4.13 (Debian 11), 4.20 or 4.22 (Debian 12 backports).

Share roots are user home directories on NFS exports from Linux NFS
servers.  Each user has a user quota on the underlying volume.

I don't have any local disk based shares to test with, so I can't
confirm that it only happens with NFS-mounted volumes.  I assume it is not
happening with local disk shares, or someone surely would have reported
it by now.

I would expect the normal Samba behavior of reporting the lesser of available
user quota space or the volume's available disk free space be reported to
the client.

-- Package-specific info:
* /etc/samba/smb.conf present, but not attached

-- System Information:
Debian Release: 12.11
  APT prefers oldstable-security
  APT policy: (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-38-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba depends on:
ii  init-system-helpers   1.65.2
ii  libbsd0               0.11.7-2
ii  libc6                 2.36-9+deb12u10
ii  libcups2              2.4.2-3+deb12u8
ii  libdbus-1-3           1.14.10-1~deb12u1
ii  libgnutls30           3.7.9-2+deb12u5
ii  libldap-2.5-0         2.5.13+dfsg-5
ii  libldb2               2:2.11.0+samba4.22.3+dfsg-4~bpo12+1
ii  libpopt0              1.19+dfsg-1
ii  libtalloc2            2:2.4.3+samba4.22.3+dfsg-4~bpo12+1
ii  libtasn1-6            4.19.0-2+deb12u1
ii  libtdb1               2:1.4.13+samba4.22.3+dfsg-4~bpo12+1
ii  libtevent0            2:0.16.2+samba4.22.3+dfsg-4~bpo12+1
ii  libtirpc3             1.3.3+ds-1
ii  liburing2             2.3-3
ii  passwd                1:4.13+dfsg1-1+deb12u1
ii  procps                2:4.0.2-3
ii  samba-common          2:4.22.3+dfsg-4~bpo12+1
ii  samba-common-bin      2:4.22.3+dfsg-4~bpo12+1
ii  samba-libs [libndr6]  2:4.22.3+dfsg-4~bpo12+1

Versions of packages samba recommends:
ii  attr           1:2.5.1-4
ii  python3-samba  2:4.22.3+dfsg-4~bpo12+1
ii  samba-ad-dc    2:4.22.3+dfsg-4~bpo12+1

Versions of packages samba suggests:
pn  ctdb                 &lt;none&gt;
pn  samba-vfs-ceph       &lt;none&gt;
pn  samba-vfs-glusterfs  &lt;none&gt;
pn  ufw                  &lt;none&gt;
ii  winbind              2:4.22.3+dfsg-4~bpo12+1

-- debconf information:
  samba/run_mode: daemons
  samba-common/title:
]