[Samba] Error accessing the share_info.tdb file

Philippe Maladjian pmaladjian at hilaire.fr
Thu Apr 25 11:44:42 UTC 2024


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


More information about the samba mailing list