nerdexam
CompTIA

LX0-104 · Question #318

Which files will be stored inside the directory specified below? # smbd -b |grep LOCKDIR LOCKDIR: /var/cache/samba

The correct answer is B. TDB files. The LOCKDIR variable in Samba's build configuration typically indicates the directory where internal TDB (Trivial Database) files are stored.

Essential System Services

Question

Which files will be stored inside the directory specified below? # smbd -b |grep LOCKDIR LOCKDIR: /var/cache/samba

Options

  • AConfiguration files
  • BTDB files
  • CWINS name cache files
  • DSamba print spool files

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    88% (15)
  • C
    6% (1)

Why each option

The `LOCKDIR` variable in Samba's build configuration typically indicates the directory where internal TDB (Trivial Database) files are stored.

AConfiguration files

Configuration files like `smb.conf` are usually located in `/etc/samba` and are not stored in the `LOCKDIR`.

BTDB filesCorrect

Samba's internal databases, which are often TDB files, are stored by default in the directory specified by the `lock directory` parameter in `smb.conf`, which corresponds to the `LOCKDIR` variable in the `smbd -b` output. These TDB files include various dynamic data necessary for Samba's operation.

CWINS name cache files

WINS name cache files are typically stored in a directory defined by the `wins directory` parameter, not `LOCKDIR`, and are managed by the `nmbd` daemon.

DSamba print spool files

Samba print spool files are generally located in a dedicated spool directory, often `/var/spool/samba` or similar, which is separate from the `LOCKDIR`.

Concept tested: Samba TDB file storage location

Source: https://www.samba.org/samba/docs/current/manpages/tdbbackup.8.html

Topics

#Samba directories#TDB files#lock directory#smbd

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice