mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
Quote client identity in SASL whitelist log message
When seeing a message
virNetSASLContextCheckIdentity:146 : SASL client admin not allowed in whitelist
it isn't immediately obvious that 'admin' is the identity
being checked. Quote the string to make it more obvious
(cherry picked from commit 07da0a6b54
)
This commit is contained in:
parent
34d3627abc
commit
8a0bb98d1e
@ -163,7 +163,7 @@ int virNetSASLContextCheckIdentity(virNetSASLContextPtr ctxt,
|
||||
}
|
||||
|
||||
/* Denied */
|
||||
VIR_ERROR(_("SASL client %s not allowed in whitelist"), identity);
|
||||
VIR_ERROR(_("SASL client identity '%s' not allowed in whitelist"), identity);
|
||||
|
||||
/* This is the most common error: make it informative. */
|
||||
virReportError(VIR_ERR_SYSTEM_ERROR, "%s",
|
||||
|
Loading…
Reference in New Issue
Block a user