<font size=2 face="sans-serif">I am having difficulty in getting my user
to authenticate against the second realm. After successfully authenticating
against the ldap server, I want to authenticate against the dbic realm
as well as that is where the roles are stored. It seems to ignore a second
call to $c-.authenticate.</font>
<br>
<br><font size=2 face="sans-serif">I tried removing the "default_realm
=> 'ldap'" entry but it complained with an error of not find the
user in the realm "default". </font>
<br>
<br><font size=2 face="sans-serif">I looked at the "Progressive"
module, but it seems to me that it stops as soon as the user authenticates.</font>
<br>
<br><font size=2 face="sans-serif">I also have had no luck doing a find_or_create.
Do I need to consolidate the roles into the users table? </font>
<br>
<br><font size=2 face="sans-serif">I even tried just creating a user in
the user table figuring I could do a second step of updateing the users_to_roles
table after that. I keep getting "me.user is not valid in the context
it is being used"</font>
<br>
<br><font size=2 face="sans-serif">Once again I can find no help in the
docs. They simply do not address this situation. I have found that other
people have solved this, but they don't seem to post the code that solved
it, just something along the lines of "I fixed it". That
isn't of much help to us new folks.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Any help is appreciated.</font>