Talk:Setting up a Samba server: Difference between revisions

From Alpine Linux
(Created page with "updated to reflect the smb.conf created on install in 3.8. Also formatting. --~~~~")
 
m (Attribution added to unsigned comment.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
updated to reflect the smb.conf created on install in 3.8. Also formatting. --[[User:Astrawso|Astrawso]] ([[User talk:Astrawso|talk]]) 20:59, 7 December 2018 (UTC)
updated to reflect the smb.conf created on install in 3.8. Also formatting. --[[User:Astrawso|Astrawso]] ([[User talk:Astrawso|talk]]) 20:59, 7 December 2018 (UTC)
== smb passwords ==
When running from RAM, samba passwords db should be added to lbu, right ?
::''lbu inc /var/lib/samba/private/passdb.tdb''
::''lbu inc /var/lib/samba/private/secrets.tdb''
Are there other files that could be needed across reboots, out of /etc ?
See last paragraph in this section here:
::'''''[https://wiki.samba.org/index.php/Frequently_Asked_Questions#What_are_tdb_files.3F What_are_tdb_files on samba.org Wiki]'''''
Quote:
::'''''“The following tdb's should be backed up IMO:'''''
::'''''nt*.tdb  account_policy.tdb  group_mapping.tdb  share_info.tdb  winbindd_idmap.tdb  secrets.tdb  passdb.tdb“'''''
<small><span class="autosigned">—&nbsp;Preceding [[unsigned]] comment added by [[User:Puiu|Puiu]] ([[User talk:Puiu|{{int:talkpagelinktext}}]] • [[Special:Contributions/Puiu|{{int:contribslink}}]]) 11:54, 2 May 2023‎</span></small>

Latest revision as of 00:46, 28 July 2023

updated to reflect the smb.conf created on install in 3.8. Also formatting. --Astrawso (talk) 20:59, 7 December 2018 (UTC)

smb passwords

When running from RAM, samba passwords db should be added to lbu, right ?

lbu inc /var/lib/samba/private/passdb.tdb
lbu inc /var/lib/samba/private/secrets.tdb

Are there other files that could be needed across reboots, out of /etc ?

See last paragraph in this section here:

What_are_tdb_files on samba.org Wiki

Quote:

“The following tdb's should be backed up IMO:
nt*.tdb account_policy.tdb group_mapping.tdb share_info.tdb winbindd_idmap.tdb secrets.tdb passdb.tdb“

— Preceding unsigned comment added by Puiu (talkcontribs) 11:54, 2 May 2023‎