Samba/files

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Samba
Revision as of 15:02, 16 September 2024 by Woozle (talk | contribs)
Jump to navigation Jump to search
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