docs: Add proper explination on why transactions need to be audited.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Apr 2021 02:44:22 +0000 (14:44 +1200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 May 2021 07:17:09 +0000 (07:17 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14689

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit a778a3a6420f094a953563b87f84457fdebd20a3)

docs-xml/smbdotconf/logging/loglevel.xml

index 9bf8659cb92c42606a4224b6ad860b00215b39d4..6480c575060bc0bfe702f5556d741e8c977102bb 100644 (file)
 
     <para>Transaction rollbacks and prepare commit failures are logged under
     the dsdb_transaction_audit and a JSON representation is logged under the
-    password_json_audit. Logging the transaction details allows the
-    identification of password and sam.ldb operations that have been rolled
-    back.</para>
+    dsdb_transaction_json_audit. </para>
 
+    <para>Transaction roll-backs are possible in Samba, and whilst
+    they rarely reflect anything more than the failure of an
+    individual operation (say due to the add of a conflicting record),
+    they are possible.  Audit logs are already generated and sent to
+    the system logs before the transaction is complete.  Logging the
+    transaction details allows the identification of password and
+    <command moreinfo="none">sam.ldb</command> operations that have
+    been rolled back, and so have not actually persisted.</para>
 
+    <warning><para> Changes to <command
+    moreinfo="none">sam.ldb</command> made locally by the <command
+    moreinfo="none">root</command> user with direct access to the
+    database are not logged to the system logs, but to the
+    administrator's own console.  While less than ideal, any user able
+    to make such modifications could disable the audit logging in any
+    case. </para></warning>
 </description>
 <value type="default">0</value>
 <value type="example">3 passdb:5 auth:10 winbind:2</value>