[libvirt] [PATCH 2/8] Remove hack using existance of an 'identity' string to disable auth
Eric Blake
eblake at redhat.com
Fri Mar 8 00:13:08 UTC 2013
On 03/06/2013 05:49 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Currently the server determines whether authentication of clients
> is complete, by checking whether an identity is set. This patch
> removes that lame hack and replaces it with an explicit method
> for changing the client auth code
>
> * daemon/remote.c: Update for new APis
> * src/libvirt_private.syms, src/rpc/virnetserverclient.c,
> src/rpc/virnetserverclient.h: Remove virNetServerClientGetIdentity
> and virNetServerClientSetIdentity, adding a new method
> virNetServerClientSetAuth.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> daemon/remote.c | 14 +++++-------
> src/libvirt_private.syms | 3 +--
> src/rpc/virnetserverclient.c | 52 +++++++-------------------------------------
> src/rpc/virnetserverclient.h | 5 +----
> 4 files changed, 15 insertions(+), 59 deletions(-)
ACK, and nice reduction in size along the way.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130307/a6880c7c/attachment-0001.sig>
More information about the libvir-list
mailing list