[libvirt] [PATCH 05/10] Generic module for handling SASL authentication & encryption
Eric Blake
eblake at redhat.com
Thu Jun 23 23:13:12 UTC 2011
On 06/22/2011 09:33 AM, Daniel P. Berrange wrote:
> This provides two modules for handling SASL
>
> * virNetSASLContext provides the process-wide state, currently
> just a whitelist of usernames on the server and a one time
> library init call
>
> * virNetTLSSession provides the per-connection state, ie the
> SASL session itself. This also include APIs for providing
> data encryption/decryption once the session is established
>
> * src/Makefile.am: Add to libvirt-net-rpc.la
> * src/rpc/virnetsaslcontext.c, src/rpc/virnetsaslcontext.h: Generic
> SASL handling code
> ---
> cfg.mk | 2 +
> po/POTFILES.in | 1 +
> src/Makefile.am | 9 +
> src/rpc/virnetsaslcontext.c | 598 +++++++++++++++++++++++++++++++++++++++++++
> src/rpc/virnetsaslcontext.h | 120 +++++++++
> 5 files changed, 730 insertions(+), 0 deletions(-)
> create mode 100644 src/rpc/virnetsaslcontext.c
> create mode 100644 src/rpc/virnetsaslcontext.h
>
> --- /dev/null
> +++ b/src/rpc/virnetsaslcontext.h
> @@ -0,0 +1,120 @@
> +#ifndef __VIR_NET_CLIENT_SASL_CONTEXT_H__
> +# define __VIR_NET_CLIENT_SASL_CONTEXT_H__
> +
> +# include <sasl/sasl.h>
> +
> +# include <stdbool.h>
> +# include <sys/types.h>
Are these two still needed? Or can we expect that all .c clients have
already picked them up from internal headers prior to including this header?
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110623/7cbedd1d/attachment-0001.sig>
More information about the libvir-list
mailing list