From c5bd2ae338c0b67304ee253e3b5139b50cc1d0e5 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 11 Apr 2013 17:12:14 +0930 Subject: [PATCH] Samba3-HOWTO: mention NTDB. Not sure if we're keeping this up-to-date, but try to document which databases can be NTDB now. Signed-off-by: Rusty Russell Reviewed-by: Jeremy Allison --- docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml | 59 ++++++++++++++++-------------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml index 9bda64d275b..19fe6813db3 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml @@ -32,87 +32,92 @@ is at system shutdown (backup) and startup (restore from backup). + +NTDB + + As of Samba 4.1, the NTDB format can be used if 'use ntdb' is set. In this case, tdb files are automatically converted to ntdb files (with the .ntdb extension). The old .tdb file is turned into a dangling symlink to 'This is now in an NTDB' to prevent it being accidentally used). The table indicates what databases are currently available as NTDB files. + Samba's Trivial Database Files - File namePreserveDescription + File namePreserveNTDBDescription - account_policy.tdbY + account_policy.tdbYN NT account policy settings such as pw expiration, etc... - brlock.tdbN + brlock.tdbNN Byte range locks. - browse.datN + browse.datNN Browse lists - gets rebuilt automatically. - connections.tdbN + connections.tdbNN Share connections. Used to enforce max connections, etc. - gencache.tdbN + gencache.tdbNN Generic caching database. - group_mapping.tdbY + group_mapping.tdbYN Stores group mapping information. Not used when using LDAP backend. - lang_en.tdbY + lang_en.tdbYN Stores language encoding information. - locking.tdbN + locking.tdbNN Stores share mode and oplock information. - login_cache.tdbN + login_cache.tdbNN Keeps a log of bad pw attempts. - messages.tdbN + messages.tdbNN Used to keep track of Samba internal messaging. - netsamlogon_cache.tdbY + netsamlogon_cache.tdbYN Cache of user net_info_3 struct from net_samlogon() requests from domain member machines. - ntdrivers.tdbY + ntdrivers.tdbYN Stores installed printer driver information. - ntforms.tdbY + ntforms.tdbYN Stores installed printer forms information. - ntprinters.tdbY + ntprinters.tdbYN Stores installed printers information. - printing directoryY + printing directoryYN Directory containing tdb per print queue of cached lpq output. - registry.tdbY + registry.tdbYN Windows registry skeleton (connect via regedit.exe). - sessionid.tdbN + sessionid.tdbNN Session information to support utmp = yes capabilities. - share_info.tdbY + share_info.tdbYN Stores share-level ACL configuration settings. Default ACL is Everyone - Full Control. - unexpected.tdbN + unexpected.tdbNN Unexpected packet queue needed to support windows clients that respond on a different port that the originating reques. - winbindd_cache.tdbN + winbindd_cache.tdbNN Winbind's cache of user lists. - winbindd_idmap.tdbY + winbindd_idmap.tdbYN Winbind's local IDMAP database. - wins.datN + wins.datNN WINS database iused only when wins support = yes has been set. This gets rebuilt or updated at every restart. - wins.tdbY + wins.tdbYN The working permanent storage for all WINS data. This database is used only when wins support = yes has been set in the &smb.conf; file. Note: This retains all manually configured WINS entries. Manual setting can be done use the net utility. - secrets.tdbY + secrets.tdbYY This tdb file stores internal settings such as the machine and the domain SID, secret passwords that are used with LDAP, the machine secret token, etc. This is an essential file that is stored in a secure area. Vendors locate this in various folders. Check smbd -b to find its location on your system. - schannel_store.tdbY + schannel_store.tdbYY This stores secure channel access token information used with SMB signing. - passdb.tdbY + passdb.tdbYN This stores the Samba SAM account information when using a tdbsam password backend. -- 2.11.4.GIT