Re: [Libvir] PATCH: 7/10: python auth callback API

2007-12-05 Thread Daniel P. Berrange
On Tue, Dec 04, 2007 at 10:10:28PM +0100, Jim Meyering wrote: > "Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > > This adds a binding for the virConnectOpenAuth() api in the python > > API. This allows a python function to be used as the callback. > > > > This short example code illustrates the u

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-12-05 Thread Daniel P. Berrange
On Tue, Dec 04, 2007 at 10:10:28PM +0100, Jim Meyering wrote: > "Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > > This adds a binding for the virConnectOpenAuth() api in the python > > API. This allows a python function to be used as the callback. > > diff -r 8a79678f789f python/libvir.c > > ---

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-12-04 Thread Jim Meyering
"Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > This adds a binding for the virConnectOpenAuth() api in the python > API. This allows a python function to be used as the callback. > > This short example code illustrates the use of the API from a > python app which wants to support username/passwo

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-12-01 Thread Daniel P. Berrange
On Thu, Nov 29, 2007 at 06:02:47PM +, Richard W.M. Jones wrote: > Daniel P. Berrange wrote: > >On Thu, Nov 29, 2007 at 05:20:52PM +, Daniel P. Berrange wrote: > >>This adds a binding for the virConnectOpenAuth() api in the python > >>API. This allows a python function to be used as the call

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-11-29 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Thu, Nov 29, 2007 at 05:20:52PM +, Daniel P. Berrange wrote: This adds a binding for the virConnectOpenAuth() api in the python API. This allows a python function to be used as the callback. src/qemu_conf.c |8 +-- Opps, this wasn't mean to sneak in th

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-11-29 Thread Daniel P. Berrange
On Thu, Nov 29, 2007 at 05:20:52PM +, Daniel P. Berrange wrote: > This adds a binding for the virConnectOpenAuth() api in the python > API. This allows a python function to be used as the callback. > > src/qemu_conf.c |8 +-- Opps, this wasn't mean to sneak in this patch. This fixes a w

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-11-29 Thread Daniel P. Berrange
This patch against current virt-manager illustrates how the python API is used in a real world application to support Kerberos, Username/Password, and PolicyKit authentication Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://

Re: [Libvir] PATCH: 7/10: python auth callback API

2007-11-29 Thread Daniel P. Berrange
This adds a binding for the virConnectOpenAuth() api in the python API. This allows a python function to be used as the callback. This short example code illustrates the use of the API from a python app which wants to support username/password credentials only. from getpass import getpass myd