<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2737.800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>sorry for the top post...</FONT></DIV>
<DIV><FONT face=Arial size=2>just as a thought, are you using a local group or a
domain group?</FONT></DIV>
<DIV><FONT face=Arial size=2>(zope-gurus, please help)... maybe one is faster
than the other?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=erik.myllymaki@aviawest.com
href="mailto:erik.myllymaki@aviawest.com">Erik Myllymaki</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rawbobb@hotmail.com
href="mailto:rawbobb@hotmail.com">Bobb</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=chris@simplistix.co.uk
href="mailto:chris@simplistix.co.uk">Chris Withers</A> ; <A
title=zope@zope.org href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 07, 2004 11:46 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Zope] NT User
Authentication</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<DIV>the PDC and zopeserver are on the same switch.<BR><BR><what I know of
the internal workings of the Zope security scheme can fit in a small dixie cup
><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></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial
size=2></FONT></BLOCKQUOTE>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><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></what I know of the internal workings of the Zope
security scheme can fit in a small dixie cup ><BR><BR><BR>Bobb wrote:
</DIV>
<BLOCKQUOTE cite=midBAY1-DAV65CMMkPgxXh0000478b@hotmail.com type="cite"><PRE wrap="">----- Original Message -----
From: "Chris Withers" <<A class=moz-txt-link-abbreviated href="mailto:chris@simplistix.co.uk">chris@simplistix.co.uk</A>>
To: <<A class=moz-txt-link-abbreviated href="mailto:erik.myllymaki@aviawest.com">erik.myllymaki@aviawest.com</A>>
Cc: "Bobb" <<A class=moz-txt-link-abbreviated href="mailto:rawbobb@hotmail.com">rawbobb@hotmail.com</A>>; <<A class=moz-txt-link-abbreviated href="mailto:zope@zope.org">zope@zope.org</A>>
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 & 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>
<P>
<HR>
<P></P>_______________________________________________<BR>Zope maillist
-
Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**
No cross posts or HTML encoding! **<BR>(Related lists -
<BR> http://mail.zope.org/mailman/listinfo/zope-announce<BR> http://mail.zope.org/mailman/listinfo/zope-dev
)<BR></BLOCKQUOTE></BODY></HTML>