am I right OR what's the right way

Andrei V.Loukinykh avl at seavenue.net
Mon Nov 11 13:32:12 EST 2002


Hello Rob,

Monday, November 11, 2002, 7:12:07 PM, you wrote:

RS> On Mon, 11 Nov 2002, Andrei Loukinykh wrote:

>> sasl_mysql_statement: select password from users where login = '%u'

RS> I suspect your problem is you really want this to be of the form:

RS> select %p from user_table where login = %u

RS> The %p allows SASL to grab whatever property it needs from the table.
RS> You'll need a "userPassword" column in the table as well.

  From SASL documentation:
"All substitutions do not have to be used. For instance,
"select password from auth where username = '%u'" is a valid value for "mysql_statement".

-- 
Best regards,
 Andrei                            mailto:avl at evp.sf.ukrtel.net





More information about the Info-cyrus mailing list