<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
the PDC and zopeserver are on the same switch.<br>
<br>
&lt;what I know of the internal workings of the Zope security scheme
can fit in a small dixie cup &gt;<br>
<br>
I had to do a little hacking to get the NT Groups to act as local
security roles in Zope, and while doing that, I noticd that the
getRoles() method in AccessControl/Users.py is used for every object on
a page. Combined with a fairly slow lookup to begin with, and complex
pages are VERY slow.<br>
<br>
There must be a good reason for this, but I would have thought the
users' role info would have been cached at a higher level somehow...<br>
<br>
&lt;/what I know of the internal workings of the Zope security scheme
can fit in a small dixie cup &gt;<br>
<br>
<br>
Bobb wrote:
<blockquote cite="midBAY1-DAV65CMMkPgxXh0000478b@hotmail.com"
 type="cite">
  <pre wrap="">----- Original Message -----
From: "Chris Withers" &lt;<a class="moz-txt-link-abbreviated" href="mailto:chris@simplistix.co.uk">chris@simplistix.co.uk</a>&gt;
To: &lt;<a class="moz-txt-link-abbreviated" href="mailto:erik.myllymaki@aviawest.com">erik.myllymaki@aviawest.com</a>&gt;
Cc: "Bobb" &lt;<a class="moz-txt-link-abbreviated" href="mailto:rawbobb@hotmail.com">rawbobb@hotmail.com</a>&gt;; &lt;<a class="moz-txt-link-abbreviated" href="mailto:zope@zope.org">zope@zope.org</a>&gt;
Sent: Friday, May 07, 2004 4:27 AM
Subject: Re: [Zope] NT User Authentication


  </pre>
  <blockquote type="cite">
    <pre wrap="">Erik Myllymaki wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">the zope instance is running on a win2k server, but I need to
authenticate against an NT Domain.

I did get things going last night, to a point where my NT Groups are
acting as Local Roles, and I can authenticate to my PDC, but it is
really, really slow.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
how far away (hops) is the PDC? is there a BDC closer?

  </pre>
  <blockquote type="cite">
    <pre wrap="">Time to do some analysis really. Sounds like you needs some caching at
    </pre>
  </blockquote>
  <pre wrap=""><!---->crucial
  </pre>
  <blockquote type="cite">
    <pre wrap="">points... What userfolder are you using?

Chris

--
Simplistix - Content Management, Zope &amp; Python Consulting
            - <a class="moz-txt-link-freetext" href="http://www.simplistix.co.uk">http://www.simplistix.co.uk</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
</body>
</html>