SaslExcption using custom db integration

Hi all,

I have been playin with openfire recently and was looking at the custom db integration part as explained here http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integ ration-guide.html

For this to work does the user need to be populated in the ofuser table? If i dont have a user already and try to authenticate with an external username/password table i get an sasl exception javax.security.sasl.SaslException: DIGEST-MD5: username is not authorized to act as username "

What am i missing here? Thanks for any help or pointers. Adi.

2008.12.08 19:00:22 DefaultAuthorizationPolicy: Checking authenID realm
2008.12.08 19:00:22 006110 (01/05/00) - Connection #11 tested: OK
2008.12.08 19:00:22 006111 (01/05/00) - Connection #11 tested: OK
2008.12.08 19:00:22 AuthorizationManager: User xmpptest not found org.jivesoftware.openfire.user.UserNotFoundException
2008.12.08 19:00:22 SASLAuthentication: SaslException javax.security.sasl.SaslException: DIGEST-MD5: xmpptest is not authorized to act as xmpptest
at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(DigestMD5Se rver.java:619)
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(DigestMD5Server.j ava:226)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :296)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:165)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:133)