Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-02-01 Thread R. David Murray

On Thu, 31 Jan 2002, Jeffrey P Shell wrote:
 On 1/31/02 5:02 PM, Ed Colmar [EMAIL PROTECTED] wrote:
  Are there any other (simple) solutions to doing authentication through a SQL
  DB?  Jumping through hoops to get Zpatterns working seems silly when all I
  need is basic authentication.  Though it would probably make my life easier
  once I figure it out.

 You might want to check out http://www.zope.org/Members/otto/userdb,
 although it looks rather old.  If it's what I think it is, it's based on

You might also want to check out

http://www.zope.org/Members/TheJester/exUserFolder

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread Christian Theune

On my systems it is located at somewhere like

/usr/lib/python(version)/config/Makefile.pre.in
or
/usr/local/lib/python(version)/config/Makefile.pre.in


On Wed, Jan 30, 2002 at 10:25:59AM -0800, Ed Colmar wrote:
 Hey!
 
 I know I've done this before, but for some reason it's eluding me.  
 
 I'm on a brand new box with a fresh 2.4.3 zope.
 
 I am trying to get sql authentication working with loginmanager/Zpatterns
 
 I can't seem to find a makefile.pre.in on my system.  I have python and 
 python-devel both from RPM, and a regular install of zope.

should be enough.

 
 I tried using a makfile.pre.in from some other package (found on the web) 
 but got tons of errors.  
 
 Where would I find a copy of this file for my platform?  Which 
 incedentally is Mandrake 8.1.  Anyone have one that might work.  Do I need 
 to build python from the source?

no, just find the Makefile.pre.in for you build ;)

 
 Thanks!
 
 -ed-
 

-- 
Christian Theune - [EMAIL PROTECTED]
gocept gmbh  co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])



msg09268/pgp0.pgp
Description: PGP signature


Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread R. David Murray

On Thu, 31 Jan 2002, Christian Theune wrote:
 On my systems it is located at somewhere like

 /usr/lib/python(version)/config/Makefile.pre.in
 or
 /usr/local/lib/python(version)/config/Makefile.pre.in

Just an FYI, Makefile.pre.in no longer exists (as far as I can
tell) under python 2.2.

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread Ed Colmar

Huh...

I found a makefile.pre.in, but I'm seeing tons of errors on make

There was some note in the Zpatterns docs that after zope2.2 the dynpersist
woudn't be neccesary anymore.  Is this true?

Are there any other (simple) solutions to doing authentication through a SQL
DB?  Jumping through hoops to get Zpatterns working seems silly when all I
need is basic authentication.  Though it would probably make my life easier
once I figure it out.

Anyways...  Thanks for the assistance!

-ed-

- Original Message -
From: R. David Murray [EMAIL PROTECTED]
To: Christian Theune [EMAIL PROTECTED]
Cc: Ed Colmar [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 9:05 AM
Subject: Re: [Zope-dev] Dynpersist.so and makefile.pre.in


 On Thu, 31 Jan 2002, Christian Theune wrote:
  On my systems it is located at somewhere like
 
  /usr/lib/python(version)/config/Makefile.pre.in
  or
  /usr/local/lib/python(version)/config/Makefile.pre.in

 Just an FYI, Makefile.pre.in no longer exists (as far as I can
 tell) under python 2.2.

 --RDM


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Dynpersist.so and makefile.pre.in

2002-01-31 Thread Jeffrey P Shell

On 1/31/02 5:02 PM, Ed Colmar [EMAIL PROTECTED] wrote:

 Huh...
 
 I found a makefile.pre.in, but I'm seeing tons of errors on make
 
 There was some note in the Zpatterns docs that after zope2.2 the dynpersist
 woudn't be neccesary anymore.  Is this true?

It seems like it should be true.  To the best of my knowledge, DynPersist
got around the issue that it wasn't all-too-safe to override __getattr__ and
__setattr__ for persistent objects.  I know that this issue was fixed in the
ZODB, probably around the time of Zope 2.2.  However, even in the most
recent ZPatterns releases (as maintained in the 'TransactionAgents'
package), some Python code still seems to depend on DynPersist.
 
 Are there any other (simple) solutions to doing authentication through a SQL
 DB?  Jumping through hoops to get Zpatterns working seems silly when all I
 need is basic authentication.  Though it would probably make my life easier
 once I figure it out.

You might want to check out http://www.zope.org/Members/otto/userdb,
although it looks rather old.  If it's what I think it is, it's based on
something done at Zope Corp back in the Principia (Zope before it was Zope)
days.  UserDb was a pretty simple system that might work for you if it still
works.  Much easier than anything ZPatterns based - especially given that
ZPatterns has gone relatively unmaintained for so long.

-- 
Jeffrey P Shell 
www.cuemedia.com



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )