Hello everyone, I'm preparing a migration from a NT4-mode domain controller 3.5 to version 4.19. The migration process is going well, but from the share management MMC, no matter the share defined in the smb.conf, when I try to access the authorization tab, I get the following message in the Samba logs: Apr 25 11:39:58 svdom01.voillot205 rpcd_classic[1827]: [2024/04/25 11:39:58.511922, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Apr 25 11:39:58 svdom01.voillot205 rpcd_classic[1827]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) The only solution is to apply a chmod 744 to the share_info.tdb file. The new server is on Debian 12.5 with Samba installed in version 4.19.5-debian. How can I fix the issue without modifying the chmod? Thanks in advance. Philippe Maladjian Responsable informatique Ligne directe : +33 (0)4 72 14 50 66 [https://hilaire.fr/tools/signature.jpg]<https://hilaire.fr> HILAIRE s.a.s. 203 - 205 rue Jean Voillot, 69100 Villeurbanne - France T?l. : +33 (0)4 72 37 58 23 - Fax : +33 (0)4 78 26 02 03 https://hilaire.fr
On Thu, 25 Apr 2024 11:44:42 +0000 Philippe Maladjian via samba <samba at lists.samba.org> wrote:> Hello everyone, > > I'm preparing a migration from a NT4-mode domain controller 3.5 to > version 4.19. The migration process is going well, but from the share > management MMC, no matter the share defined in the smb.conf, when I > try to access the authorization tab, I get the following message in > the Samba logs: > > Apr 25 11:39:58 svdom01.voillot205 rpcd_classic[1827]: [2024/04/25 > 11:39:58.511922, 0] > ../../source3/lib/sharesec.c:161(share_info_db_init) Apr 25 11:39:58 > svdom01.voillot205 rpcd_classic[1827]: Failed to open share info > database /var/lib/samba/share_info.tdb (Permission denied) > > The only solution is to apply a chmod 744 to the share_info.tdb file. > > The new server is on Debian 12.5 with Samba installed in version > 4.19.5-debian. How can I fix the issue without modifying the chmod? > > Thanks in advance.What version of Windows are you running the 'share management MMC' on ? I thought that Microsoft had removed the Share and Storage Management MMC from Windows 10. Rowland
On 4/25/24 1:44 PM, Philippe Maladjian via samba wrote:> How can I fix the issue without modifying the chmod?sounds like https://bugzilla.samba.org/show_bug.cgi?id=15265 Looks like the follow-up fixes ff3b50034e2821e54633daafc751d3ea3c00f4c3 8cfc6ea92320be4ef26b91fce58fd76bfc7b95eb never got backported, so they are likely only in 4.20. -- SerNet Samba Team Lead Samba Support, Consulting and Development Samba Team Member https://samba.org/ SAMBA+ packages https://samba.plus/ -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20240425/8834918f/OpenPGP_signature.sig>