Talk:Setting up a Samba server: Difference between revisions

From Alpine Linux
(→‎smb passwords: new section)
Line 8: Line 8:
::''lbu inc /var/lib/samba/private/secrets.tdb''
::''lbu inc /var/lib/samba/private/secrets.tdb''


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


See last paragraph in this section here:  
See last paragraph in this section here:  

Revision as of 15:54, 2 May 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“