Sorry, let me rephrase the question again:

I need define a user /password for sasl but want the authentication at 
runtime 
 be automatic - no explicit promting the user while accessing a tcp socket 

 with some applications that need authentication (e.g  libvirt)
 
  I try :   saslpasswd2 -c -p  -a libvirt <user> 

  and it hangs (if i  now press  Enter it says :  "invalid parameter 
  supplied") . if I avoid the -p flag  the above commad works fine and 
  prompts for password  and later when using the tcp (virsh -c 
  qemu+tcp:...) it prompts for the above defined user/password and 
  autheticates ok.

  But I want without the explicit authentication 



 The  man pages says :
 "-p  Pipe mode - saslpasswd2 will neither prompt for the password nor 
 verify that it was entered correctly. This is the default when standard 
 input is not a terminal. "



 In the past (before  upgrading of libvirt via rpm) I had the SASL 
 authentication  done automatically without prompting the user at runtime 
 (virsh qemu+tcp:///system <command> ) and without need to configure that.
 
 Don't know how to restore it .
 
 Any help ? 
 
 thanks

Zvi Dubitzky 
Email:[email protected]



[email protected] wrote on 26/03/2011 18:00:08:

> From: [email protected]
> To: [email protected]
> Date: 26/03/2011 18:08
> Subject: libvirt-users Digest, Vol 15, Issue 25
> Sent by: [email protected]
> 
> Send libvirt-users mailing list submissions to
>    [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://www.redhat.com/mailman/listinfo/libvirt-users
> or, via email, send a message with subject or body 'help' to
>    [email protected]
> 
> You can reach the person managing the list at
>    [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of libvirt-users digest..."
> 
> 
> Today's Topics:
> 
>    1. saslpasswd2 and virsh -c qemu+tcp:///system   <command>
>       (Zvi Dubitzky)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 26 Mar 2011 16:27:06 +0300
> From: Zvi Dubitzky <[email protected]>
> To: [email protected]
> Subject: [libvirt-users] saslpasswd2 and virsh -c qemu+tcp:///system
>    <command>
> Message-ID:
> <of80114f71.6895179c-onc225785f.00498ec8-c225785f.0049e...@il.ibm.com>
> Content-Type: text/plain; charset="US-ASCII"
> 
> I need define a user /password for sasl but want that to do the 
> verification
> automatically no -promting ( or even maybe  avoid the  verification) 
while
> using  a tcp socket with some applications that need authentication (e.g 

> libvirt)
> 
> so I try :   saslpasswd2 -c -p  -a libvirt <user> 
> 
>  and it hangs (if i  now press  Enter it says :  "invalid parameter 
> supplied") . if I avoid the -p flag  the above commad works fine and 
> prompts for password  and later when using the tc p (virsh -c 
> qemu+tcp:...) it prompts for the above defined user/password and 
> autheticates ok .
> But I want without the prompting 
> 
> The  man pages says
> -p  Pipe mode - saslpasswd2 will neither prompt for the password nor 
> verify that it was entered correctly. This is the default when standard 
> input is not a terminal. 
> 
> In the past (before some upgrading of libvirt via rpm) the SASL 
> authentication was done automatically no need for prompting
> Don't know how to restore it .
> 
> Any help ? 
> 
> thanks
> 
> Zvi Dubitzky 
> Email:[email protected]
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> libvirt-users mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/libvirt-users
> 
> End of libvirt-users Digest, Vol 15, Issue 25
> *********************************************

_______________________________________________
libvirt-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to