Displaying 6 results from an estimated 6 matches for "sasl_user".
Did you mean:
mail_user
2018 Dec 05
2
Re: Libvirt api for esx
Hi Martin,
Could you please help me with below issue, I am not sure what’s wrong here.
Please find below code and error snippet.
Thanks for help.
Code Snippet: -
from __future__ import print_function
import sys
import libvirt
SASL_USER = <username>
SASL_PASS = <password>
def request_cred(credentials, user_data):
for credential in credentials:
if credential[0] == libvirt.VIR_CRED_AUTHNAME:
credential[4] = SASL_USER
elif credential[0] == libvirt.VIR_CRED_PASSPHRASE:
credential...
2018 Dec 06
2
Re: Libvirt api for esx
...ase help me with below issue, I am not sure what’s wrong
> here.
> >Please find below code and error snippet.
> >
> >Thanks for help.
> >
> >Code Snippet: -
> >
> >from __future__ import print_function
> >import sys
> >import libvirt
> >SASL_USER = <username>
> >SASL_PASS = <password>
> >def request_cred(credentials, user_data):
> > for credential in credentials:
> > if credential[0] == libvirt.VIR_CRED_AUTHNAME:
> > credential[4] = SASL_USER
> > elif credential[0]...
2018 Dec 12
1
Re: Libvirt api for esx
...>Please find below code and error snippet.
>>> >
>>> >Thanks for help.
>>> >
>>> >Code Snippet: -
>>> >
>>> >from __future__ import print_function
>>> >import sys
>>> >import libvirt
>>> >SASL_USER = <username>
>>> >SASL_PASS = <password>
>>> >def request_cred(credentials, user_data):
>>> > for credential in credentials:
>>> > if credential[0] == libvirt.VIR_CRED_AUTHNAME:
>>> > credential[4] = SASL_U...
2018 Dec 06
0
Re: Libvirt api for esx
...OHIT SINGH wrote:
>Hi Martin,
>
>Could you please help me with below issue, I am not sure what’s wrong here.
>Please find below code and error snippet.
>
>Thanks for help.
>
>Code Snippet: -
>
>from __future__ import print_function
>import sys
>import libvirt
>SASL_USER = <username>
>SASL_PASS = <password>
>def request_cred(credentials, user_data):
> for credential in credentials:
> if credential[0] == libvirt.VIR_CRED_AUTHNAME:
> credential[4] = SASL_USER
> elif credential[0] == libvirt.VIR_CRED_PASSPHRASE...
2018 Dec 12
0
Re: Libvirt api for esx
...what’s wrong
>> here.
>> >Please find below code and error snippet.
>> >
>> >Thanks for help.
>> >
>> >Code Snippet: -
>> >
>> >from __future__ import print_function
>> >import sys
>> >import libvirt
>> >SASL_USER = <username>
>> >SASL_PASS = <password>
>> >def request_cred(credentials, user_data):
>> > for credential in credentials:
>> > if credential[0] == libvirt.VIR_CRED_AUTHNAME:
>> > credential[4] = SASL_USER
>> >...
2018 Nov 29
2
Re: Libvirt api for esx
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote:
>Hi Martin,
>
>Could you please point me to any example codes in python present for esx?
>Suppose, I have to power off and power on esx virtual machine, can i get
>this code somewhere on python to develop some understanding.
>
https://www.mail-archive.com/libvir-list@redhat.com/msg17903.html
>Actually, I am not