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:dubi@il.ibm.com
Show replies by date