<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Are these users seeing the access denied page are newly registered?
    Are the rules sticky?<br>
    Did you enable any caching under performance settings, are you using
    memcache, or something like that?<br>
    Yes, we had something similar to that, this issue:<br>
    <a class="moz-txt-link-freetext" href="http://drupal.org/node/1279186">http://drupal.org/node/1279186</a><br>
    may be related, but it was fixed, AFAWK<br>
    <br>
    shafter<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>Re: [drupal.org] access denied</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Mon, 6 Feb 2012 03:00:45 -0800 (PST)</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>Ernest <a class="moz-txt-link-rfc2396E" href="mailto:ernest600@yahoo.com"><ernest600@yahoo.com></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
          </th>
          <td>Ernest <a class="moz-txt-link-rfc2396E" href="mailto:ernest600@yahoo.com"><ernest600@yahoo.com></a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td>Zoltan Kiss <a class="moz-txt-link-rfc2396E" href="mailto:zoleeca@gmail.com"><zoleeca@gmail.com></a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <div style="color:#000; background-color:#fff; font-family:times new
      roman, new york, times, serif;font-size:12pt">
      <div><span>For the D7, I have tried both, the latest stable
          version 7.x-4.0 and the dev version </span>7.x-4x-dev. I am
        running a VPS on a Debian OS. This happens only on certain roles
        especially the ones specified in Shibboleth rules integration.
        If I create a new role, everything works fine, when i assign
        that role using rules in Shibboleth rules then all users with
        that role get access denied on the first redirection. <br>
      </div>
      <div>I have also tried to print out the $user object during
        debugging and it seems that when the access is denied, the
        Session variable is not present in the user object.</div>
      <div>Once I refresh the page, the session object comes up. Did you
        have the same situation?<br>
      </div>
      <div><br>
      </div>
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt;">
        <div style="font-family: times new roman, new york, times,
          serif; font-size: 12pt;">
          <div dir="ltr"> <font face="Arial" size="2">
              <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
              Zoltan Kiss <a class="moz-txt-link-rfc2396E" href="mailto:zoleeca@gmail.com"><zoleeca@gmail.com></a><br>
              <b><span style="font-weight: bold;">To:</span></b>
              <a class="moz-txt-link-abbreviated" href="mailto:ernest600@yahoo.com">ernest600@yahoo.com</a> <br>
              <b><span style="font-weight: bold;">Cc:</span></b> Drupal
              shib_auth module users <a class="moz-txt-link-rfc2396E" href="mailto:shib_auth@listserv.niif.hu"><shib_auth@listserv.niif.hu></a>
              <br>
              <b><span style="font-weight: bold;">Sent:</span></b>
              Monday, February 6, 2012 8:10 AM<br>
              <b><span style="font-weight: bold;">Subject:</span></b>
              Re: [drupal.org] access denied<br>
            </font> </div>
          <br>
          On 2012.02.05. 20:27, <a moz-do-not-send="true"
            ymailto="mailto:ernest600@yahoo.com"
            href="mailto:ernest600@yahoo.com">ernest600@yahoo.com</a>
          wrote:<br>
          > shafter,<br>
          > <br>
          > drupal_napoleon (<a class="moz-txt-link-freetext" href="http://drupal.org/user/373512">http://drupal.org/user/373512</a>) has sent
          you a message via your contact form
          (<a class="moz-txt-link-freetext" href="http://drupal.org/user/496918/contact">http://drupal.org/user/496918/contact</a>) at <a
            moz-do-not-send="true" target="_blank"
            href="http://drupal.org">drupal.org</a>.<br>
          > <br>
          > If you don't want to receive such e-mails, you can change
          your settings at <a class="moz-txt-link-freetext" href="http://drupal.org/user/496918">http://drupal.org/user/496918</a>.<br>
          > <br>
          > Message:<br>
          > <br>
          > hey bro, I have installed the module but for some reason
          I am getting an "Access denied" when I am redirected back to
          Drupal. After I refresh the page, everything works fine. This
          also happens on only on certain roles only and not on all
          Drupal roles. Any idea what could be the problem. I have a D6
          and D7 sites and both of them display the same problem<br>
          Hi!<br>
          <br>
          Are you using the latest version of shib_auth on both sites?
          We had similar issues before, but shouldn't have on the latest
          version / dev. What kind of server does your site runs on?<br>
          <br>
          cheers,<br>
          <br>
          shafter<br>
          <br>
          <br>
        </div>
      </div>
    </div>
  </body>
</html>