auth: Add a reminder about the strings currently used for auditing
authorAndrew Bartlett <abartlet@samba.org>
Mon, 20 Feb 2017 02:55:34 +0000 (15:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:26 +0000 (02:37 +0200)
We will soon have a much better replacement, but a note here may help some in the transition

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
source3/auth/auth.c
source4/auth/ntlm/auth.c

index e2e99a1dfe58356939949499b0f146aeaa237179..50ff19f1ddfe83f19669d38d66a02a75a95027f4 100644 (file)
@@ -308,6 +308,10 @@ fail:
 
        /* failed authentication; check for guest lapping */
 
+       /*
+        * Please try not to change this string, it is probably in use
+        * in audit logging tools
+        */
        DEBUG(2, ("check_ntlm_password:  Authentication for user "
                  "[%s] -> [%s] FAILED with error %s, authoritative=%u\n",
                  user_info->client.account_name, user_info->mapped.account_name,
index ee98cac6ea390770ad12f2d27945e7f3cdc3fb93..9bde07323fcebdfce8bc5f56dafa628ae3f60f50 100644 (file)
@@ -437,6 +437,10 @@ _PUBLIC_ NTSTATUS auth_check_password_recv(struct tevent_req *req,
        *pauthoritative = state->authoritative;
 
        if (tevent_req_is_nterror(req, &status)) {
+               /*
+                * Please try not to change this string, it is probably in use
+                * in audit logging tools
+                */
                DEBUG(2,("auth_check_password_recv: "
                         "%s authentication for user [%s\\%s] "
                         "FAILED with error %s, authoritative=%u\n",