dsdb:audit_log: avoid printing "... remote host [Unknown] SID [(NULL SID)] ..."
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Apr 2019 14:31:46 +0000 (14:31 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Jun 2019 07:56:17 +0000 (07:56 +0000)
commit29e402f583b520c25f355318b2868befac99fa9c
treea9c3b48ac36f20519c6b6fef3d85fbb8ff4ce419
parent11b1f405ee9d41abf7d801494dbee3d8efc8935d
dsdb:audit_log: avoid printing "... remote host [Unknown] SID [(NULL SID)] ..."

We better print "... remote host [Unknown] SID [S-1-5-18] ..."
in 'dsdb_audit' message, this matches what we print for
'dsdb_json_audit'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13916

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 706aba5bf62e674ae12786f6ab275752b8714464)
source4/dsdb/samdb/ldb_modules/audit_log.c