nerdexam
LPI

300-300 · Question #101

Which detail about a Samba server is stored in the secrets.tdb database file?

The correct answer is A. The SID of the local machine. Samba stores the Security Identifier (SID) of the local machine in secrets.tdb, which is a TDB (Trivial Database) file used to hold sensitive Samba-specific data that must persist across restarts. Passwords are never stored in plain text (B is wrong) - Samba uses passdb.tdb or…

300.3 Identity Management

Question

Which detail about a Samba server is stored in the secrets.tdb database file?

Options

  • AThe SID of the local machine.
  • BThe plain text passwords for all Samba users.
  • CThe contents of the Samba server registry.
  • DThe password of the Samba user Administrator.
  • EThe common base path for all file shares.

How the community answered

(35 responses)
  • A
    94% (33)
  • C
    3% (1)
  • D
    3% (1)

Explanation

Samba stores the Security Identifier (SID) of the local machine in secrets.tdb, which is a TDB (Trivial Database) file used to hold sensitive Samba-specific data that must persist across restarts. Passwords are never stored in plain text (B is wrong) - Samba uses passdb.tdb or similar backends (e.g., smbpasswd, LDAP) for hashed user credentials, and the Administrator password specifically lives there, not in secrets.tdb (D is wrong). The Samba registry is stored in registry.tdb, not secrets.tdb (C is wrong), and share path configuration lives in smb.conf, not a database file (E is wrong).

Memory tip: Think of secrets.tdb as Samba's "identity card" - it holds the machine's unique identity (SID) and domain membership secrets, not user data or config.

Topics

#Samba secrets.tdb#Machine SID#Samba identity#Active Directory infrastructure

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice