Difference between revisions of "Samba/files"
< Samba
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
*** ...'''secrets.tdb''' | *** ...'''secrets.tdb''' | ||
** ...'''usershares/''': every share has its own text-file for configuration | ** ...'''usershares/''': every share has its own text-file for configuration | ||
+ | * '''/var/log/samba/''': where the logfiles go | ||
+ | ** ...'''log.{{fmt/arg|name}}''': log of access attempts from remote machine named {{fmt/arg|name}} | ||
+ | ** ...'''log.{{fmt/arg|IP address}}''': log of access attempts from {{fmt/arg|IP address}} (not sure if this excludes named machines or duplicates the same log entries) |
Latest revision as of 15:10, 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
- ...private/
- /var/log/samba/: where the logfiles go
- ...log.<name>: log of access attempts from remote machine named <name>
- ...log.<IP address>: log of access attempts from <IP address> (not sure if this excludes named machines or duplicates the same log entries)