Difference between revisions of "Samba/files"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
Line 2: Line 2:
 
==known config files==
 
==known config files==
 
* '''[[smb.conf]]''': the Samba configuration file
 
* '''[[smb.conf]]''': the Samba configuration file
* '''[[smbusers]]''': the Samba users file
+
* '''[[smbusers]]''': the Samba users file - seems to be only for earlier versions; now replaced with more structured storage
** I currently don't know where this is kept.
 
 
==file structure==
 
==file structure==
 
* '''/etc/samba/'''
 
* '''/etc/samba/'''

Revision as of 15:02, 16 September 2024

files used by Samba
at least on Ubuntu

known config files

  • smb.conf: the Samba configuration file
  • smbusers: the Samba users file - seems to be only for earlier versions; now replaced with more structured storage

file structure

  • /etc/samba/
    • ...smb.conf: the Samba configuration file
    • ...gdbcommands: very short file, no idea what it does
  • /run/samba: seems to be runtime data?
  • /sbin/ is a symbolic link to /usr/sbin/.
  • /usr/bin/: general binary folder, including the following Samba executables:
    • ...smb2-quota
    • ...smbcacls
    • ...smbclient
    • ...smbcontrol
    • ...smbcquotas
    • ...smbget
    • ...smbinfo
    • ...smbpasswd
    • ...smbspool
    • ...smbstatus
    • ...smbtar
    • ...smbtree
  • /usr/sbin/: system binary folder, including the following Samba executables (which are probably for internal use only):
    • ...samba
    • ...samba_dnsupdate
    • ...samba_downgrade_db
    • ...samba-gpupdate
    • ...samba_kcc
    • ...samba_spnupdate
    • ...samba_upgradedns
  • /usr/share/samba/: seems to be setup and executable data
    • ...smb.conf: a sample, not actual config
  • /var/lib/samba/
    • ...private/
      • ...passdb.tdb: presumably, the password database
      • ...secrets.tdb
    • ...usershares/: every share has its own text-file for configuration