]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make SASL work over UNIX domain sockets
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 14 Sep 2010 18:17:25 +0000 (19:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 22 Sep 2010 16:52:25 +0000 (17:52 +0100)
commit3a73eaeb61b59b5ab5f293f55a5d7d5449fe333d
treebc7859857d8e22cc66bd6501de19ea6f2f40f57e
parente8066d532c38d55cf1d6bcc5732e75e1640fae90
Make SASL work over UNIX domain sockets

The addrToString methods were not coping with UNIX domain sockets
which have no normal host+port address. Hardcode special handling
for these so that SASL routines can work over UNIX sockets. Also
fix up SSF logic in remote client so that it presumes that a UNIX
socket is secure

* daemon/remote.c: Fix addrToString for UNIX sockets.
* src/remote/remote_driver.c: Fix addrToString for UNIX sockets
  and fix SSF logic to work for TLS + UNIX sockets in the same
  manner
daemon/remote.c
src/remote/remote_driver.c