Frequently Asked Questions: Difference between revisions

From SambaWiki
(First sub page)
 
mNo edit summary
Line 1: Line 1:
<ul>
<ul>
<li>file ownership</li>
<li>What are tdb files?<br>
Answered by Jerry Carter on samba@lists.samba.org
[http://lists.samba.org/archive/samba/2005-March/102412.html]
Samba uses a lightweight database called Trivial Database
(tdb). Here's the list (john, we should really document
this somewhere).

<table>
<tr>
<td>(*) information persistent across restarts (but not
necessarily important to backup).</td>
</tr>
<tr>
<td>account_policy.tdb*</td><td>NT account policy settings such as pw expiration, etc...</td>
</tr>
<tr>
<td>brlock.tdb</td><td>byte range locks</td>
</tr>
<tr>
<td>browse.dat</td><td>browse lists</td>
</tr>
<tr>
<td>connections.tdb</td><td>share connections (used to enforce max connections, etc...)</td>
</tr>
<tr>
<td>gencache.tdb</td><td>generic caching db</td>
</tr>
<tr>
<td>group_mapping.tdb*</td><td>group mapping information</td>
</tr>
<tr>
<td>lang_en.tdb</td><td>Language encodings (i think).</td>
</tr>
<tr>
<td>locking.tdb</td><td>share modes & oplocks</td>
</tr>
<tr>
<td>login_cache.tdb*</td><td>bad pw attempts</td>
</tr>
<tr>
<td>messages.tdb</td><td>Samba messaging system</td>
</tr>
<tr>
<td>netsamlogon_cache.tdb*</td><td>cache of user net_info_3 struct from net_samlogon() request (as a domain member)</td>
</tr>
<tr>
<td>ntdrivers.tdb*</td><td>installed printer drivers</td>
</tr>
<tr>
<td>ntforms.tdb*</td><td>installed printer forms</td>
</tr>
<tr>
<td>ntprinters.tdb*</td><td>installed printer information</td>
</tr>
<tr>
<td>printing/</td><td>directory containing tdb per print queue of cached lpq output</td>
</tr>
<tr>
<td>registry.tdb</td><td>Windows registry skeleton (connect via regedit.exe)</td>
</tr>
<tr>
<td>sessionid.tdb</td>session information (e.g. support for 'utmp = yes')</td>
</tr>
<tr>
<td>share_info.tdb*</td><td>share acls</td>
</tr>
<tr>
<td>unexpected.tdb</td><td>unexpected packet queue needed to support windows clients that respond on a difference port that the originating request) (i could be wrong on this one).</td>
</tr>
<tr>
<td>winbindd_cache.tdb</td><td>winbindd's cache of user lists, etc...</td>
</tr>
<tr>
<td>winbindd_idmap.tdb*</td><td>winbindd's local idmap db</td>
</tr>
<tr>
<td>wins.dat*</td><td>wins database when 'wins support = yes'</td>
</tr>
</table>
The following tdb's should be backed up IMO:<br>
&nbsp;&nbsp;nt*.tdb
&nbsp;&nbsp;account_policy.tdb
&nbsp;&nbsp;group_mapping.tdb
&nbsp;&nbsp;share_info.tdb
</li>
<li>inherit permissions</li>
<li>inherit permissions</li>
<li>guest access</li>
<li>guest access</li>

Revision as of 05:30, 23 February 2006

  • What are tdb files?
    Answered by Jerry Carter on samba@lists.samba.org [1] Samba uses a lightweight database called Trivial Database (tdb). Here's the list (john, we should really document this somewhere). session information (e.g. support for 'utmp = yes')
    (*) information persistent across restarts (but not necessarily important to backup).
    account_policy.tdb*NT account policy settings such as pw expiration, etc...
    brlock.tdbbyte range locks
    browse.datbrowse lists
    connections.tdbshare connections (used to enforce max connections, etc...)
    gencache.tdbgeneric caching db
    group_mapping.tdb*group mapping information
    lang_en.tdbLanguage encodings (i think).
    locking.tdbshare modes & oplocks
    login_cache.tdb*bad pw attempts
    messages.tdbSamba messaging system
    netsamlogon_cache.tdb*cache of user net_info_3 struct from net_samlogon() request (as a domain member)
    ntdrivers.tdb*installed printer drivers
    ntforms.tdb*installed printer forms
    ntprinters.tdb*installed printer information
    printing/directory containing tdb per print queue of cached lpq output
    registry.tdbWindows registry skeleton (connect via regedit.exe)
    sessionid.tdb
    share_info.tdb*share acls
    unexpected.tdbunexpected packet queue needed to support windows clients that respond on a difference port that the originating request) (i could be wrong on this one).
    winbindd_cache.tdbwinbindd's cache of user lists, etc...
    winbindd_idmap.tdb*winbindd's local idmap db
    wins.dat*wins database when 'wins support = yes'

    The following tdb's should be backed up IMO:
      nt*.tdb   account_policy.tdb   group_mapping.tdb   share_info.tdb

  • inherit permissions
  • guest access