[Samba] Error accessing the share_info.tdb file
Rowland Penny
rpenny at samba.org
Thu Apr 25 13:11:27 UTC 2024
On Thu, 25 Apr 2024 12:42:16 +0000
Philippe Maladjian <pmaladjian at hilaire.fr> wrote:
> 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
>
> For now, I have a computer park running Windows 7, and it's also a
> Windows 7 machine that I use to access various RSAT tools.
Windows 7 is EOL and I have checked, the share MMC has been removed
from Windows 10.
> For share
> management, I follow the procedure outlined on this page :
>
> https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs#Setting_Share_Permissions_and_ACLs
>
> But I encounter the same issue when browsing the network from a test
> machine (connected to the domain) and right-clicking on the netlogon
> share, for example.
That should work, can you please post the output of 'samba-tool
testparm' when run on the Samba AD DC.
Rowland
More information about the samba
mailing list