[Zope] Migrating passwords from Apache to Zope?

2000-09-04 Thread Marcin Kasperski

Is it possible to smoothly migrate accounts and passwords from Apache to
Zope? 

More details: I keep Apache accounts in some file of the format

username:encoded_password

where username is plaintext username and encoded_password is the
password encoded in the normal Unix way (via crypt function). I would
like to migrate those accounts to Zope. I do not know the passwords and
I would not like to ask users for them or force them to change the
password.

Is it possible? 

-- Serwis dla programistw, kcik mieszkaniowy: http://www.mk.w.pl
|
| Working overtime sucks the spirit and motivation out of a team.   
| Projects that require overtime to be finished on time will be late no 
| matter what you do.  (Wells)

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




Re: [Zope] Migrating passwords from Apache to Zope?

2000-09-04 Thread Dieter Maurer

Marcin Kasperski writes:
  Is it possible to smoothly migrate accounts and passwords from Apache to
  Zope? 
  
  More details: I keep Apache accounts in some file of the format
  
  username:encoded_password
  
  where username is plaintext username and encoded_password is the
  password encoded in the normal Unix way (via crypt function)
There is a GUF (Generic User Folder) HowTo that explains
how to use encryted passwords in the same way as you do.

After you have set up GUF (very good explanation in the HowTo),
all you need to do is place your "username,password" pairs
into the database.
A small Python script can be used for this. It probably would
use the DB Api to control the database.


Dieter

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