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 8: Line 8:
 
** ...'''[[smb.conf]]''': the Samba configuration file
 
** ...'''[[smb.conf]]''': the Samba configuration file
 
** ...'''gdbcommands''': very short file, no idea what it does
 
** ...'''gdbcommands''': very short file, no idea what it does
* '''/usr/share/samba/''': seems to be setup and executable data
 
** ...'''[[smb.conf]]''': a sample, not actual config
 
 
* '''/run/samba''': seems to be runtime data?
 
* '''/run/samba''': seems to be runtime data?
 
* '''/sbin/''' is a symbolic link to '''/usr/sbin/'''.  
 
* '''/sbin/''' is a symbolic link to '''/usr/sbin/'''.  
Line 33: Line 31:
 
** ...'''samba_spnupdate'''
 
** ...'''samba_spnupdate'''
 
** ...'''samba_upgradedns'''
 
** ...'''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

Revision as of 15:01, 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
    • I currently don't know where this is kept.

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