Re: [Qemu-devel] [PATCH v2] vnc: call sasl_server_init() only when required

2018-09-16 Thread Gerd Hoffmann
On Fri, Sep 07, 2018 at 10:36:34AM +0400, Marc-André Lureau wrote: > VNC server is calling sasl_server_init() during startup of QEMU, even > if SASL auth has not been enabled. > > This may create undesirable warnings like "Could not find keytab file: > /etc/qemu/krb5.tab" when the user didn't conf

[Qemu-devel] [PATCH v2] vnc: call sasl_server_init() only when required

2018-09-06 Thread Marc-André Lureau
VNC server is calling sasl_server_init() during startup of QEMU, even if SASL auth has not been enabled. This may create undesirable warnings like "Could not find keytab file: /etc/qemu/krb5.tab" when the user didn't configure SASL on host and started VNC server. Instead, only initialize SASL whe