The documentation alludes to the variable 'pwd_whereclause'. If this variable is set it will be used in the passwd query. I would try and set it per client so that the query gets an additional where clause:
SELECT pwd_field FROM pwd_table WHERE uid_field = user AND client = clientA ^^^^^^^^^^^^^^^^^^^^^^^^ I havn't actually tried this so I don't know if there are any caveats, but from the docs at least it seems possible. The only trick is making sure you can reset the pwd_whereclause with each different client url, and make client an additional column in your pwd_table. -- -wjt