Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Stuart 'Zen' Bishop

On Tue, 13 Jun 2000, Cesar A. K. Grossmann wrote:

 "Update (10/30/99): Zen has posted a product that has more functionality
 than UserDB, called GenericUserFolder. "
 
 Well, looks like the GenericUserFolder is more advanced. So I go to its
 page. In it there are another observation:

But do you want advanced? If you just want to store your authentication
information, UserDB is just fine - moving to GenericUserFolder in
this case may just cause you troubles, as more advanced also means 
more complicated.

UserDB is a simple user adaptor that is all you need if you are
storing your usernames, passwords and roles etc. in the one central
RDBMS. GenericUserFolder is what you have to move to if you are
in a more peculiar environment or want to use Radius authentication.
LoginManager supports all the functionality of GenericUserFolder,
but is still in developmental stages and probably not recommended for
production sites but may be the perfect choice if you don't plan going
production right now.

 I'm looking for a sequence of steps needed to configure and use the
 LoginManager. How to add users? How to add local roles? How to integrate
 it whith LDAP (not for now, but in the future)? How to use a RDBMS
 server, like PostgreSQL, to store the accounts (in case I cannot put
 LDAP up an running)?

Sounds like you would be happiest with UserDB for now and migrating
to the LDAP Adaptor in the future. Or if you wait long enough before
migrating to LDAP, you will probably find LoginManager supports LDAP
out of the box with no coding.

 I'm not a Python programmer, and I have a limited knowledge of Zope and
 DTML, and my english is only better than your portuguese...

Both GenericUserFolder and the current incarnation of LoginManager
require fairly in depth DTML knowledge unless you follow a cheat sheet
(check the HOWTO's on zope.org).

-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
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] LoginManager HOWTO?

2000-06-14 Thread Cesar A. K. Grossmann

Stuart 'Zen' Bishop wrote:
 
 But do you want advanced? If you just want to store your authentication
 information, UserDB is just fine - moving to GenericUserFolder in
 this case may just cause you troubles, as more advanced also means
 more complicated.

I need to provide a logon screen more informative than the default
dialog box. Can I do it with UserDB (I have tried, and have not found
any information about it).

I have tried it and have to figure out by myself the table and column
names and types. I have created one Gadfly connection (only for testing
purposed), and created the tabel users, as bellow:

create table users (
usernamevarchar,
passwordvarchar,
domains varchar,
roles   varchar
)

I suppose it is correct, but I'm not sure (it worked).

 GenericUserFolder is what you have to move to if you are
 in a more peculiar environment or want to use Radius authentication.

I have tried the GUF Walktrough and it doesn't works for me (the very
last part, trying to logon as 'fred', doesn't work). I'm using SiteRoot,
Apache proxying a zserver, and a Squid cache. All in the same machine...

TIA
-- 
César A. K. Grossmann
[EMAIL PROTECTED]
http://members.xoom.com/ckant/

___
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 )