<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>> Error: auth-worker(default): BUG: PASSV had invalid passdb ID<br><br>Does this still happen with rc22?
</blockquote><div><br></div></div><br>Yes, I am still getting this. <br><br>Here is my situation. I am authenticating people out of MySQL on a proxy, and relaying them to my storage servers.<br><br>proxy log:<br>Feb 15 17:05:59 dellio dovecot: auth(
<a href="http://mail.infowest.com">mail.infowest.com</a>): client out: OK 1 user=<a href="mailto:user@host.com">user@host.com</a> host=<a href="http://204.17.177.250">204.17.177.250</a> destuser=user@host.com
*masteruser nologin proxy pass=secret<br><br>I get this in my logs on my storage server:<br>dovecot: Feb 15 17:05:59 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=<a href="http://204.17.177.250">
204.17.177.250</a> rip=<a href="http://204.17.177.30">204.17.177.30</a> resp=AGNhc3NpZHl0ZXN0QGluZm93ZXN0LmNvbSphZG1pbkBpbmZvd2VzdC5jb20Ac2VjcmV0<br>dovecot: Feb 15 17:05:59 Error: auth-worker(default): BUG: PASSV had invalid passdb ID
<br><br>Perhaps I am understanding how the whole MasterUser works right? But, I want to authenticate the users at the proxy level so I can do SPA, then proxy it off to my storage server for mailbox storage. On my proxy I simply return the cleartext password from my password_query line for the authentication to correctly complete. However, how is the correct 'master password' going to get sent off to the "storage server"? Sure, I can append the master username, and I do just fine. But, how is the storage server supposed to get the "master password" in addition?
<br><br>On my storage server I have the following in dovecot.conf:<br> passdb pam {<br> }<br> passdb sql {<br> args = /usr/local/etc/dovecot-sql.conf<br> master=yes<br> }<br><br>Then within dovecot-sql.conf:<br>
password_query = SELECT user, clearpasswd AS password FROM authenticate.users WHERE '%u' = 'masteruser'<br><br>However, I am not seeing any SQL queries happen to try and verify the user/pass for the masteruser.
<br><br>The next funny thing is, if I have a password file, and have the masteruser's password set in that password file to the same password as the user that I am trying to proxy with, things work. If the masteruser's password in the password file is different, it doesnt work. So the question is, how does the proxy send the password to use for the masteruser?
<br><br>Thanks,<br><br>Cassidy<br><br><br>