Re: [Zope] module UserFolder problem

2006-10-26 Thread Benjamin Menking




To provide more information... 

I exported the acl_users and the passwords are exactly what was entered
using the userFolderAddUser. 

Ben

Benjamin Menking wrote:

  
  I am adding users to an acl_users using
userFolderAddUser.  What I can't figure out is that after I add a new
user, I cannot log in using the username and password used when calling
userFolderAddUser.  If I manually set the password in
acl_users.properties for that user, everything works great.  Oh, I am
using CookieCrumbler.
  
Has anyone run across this?  I'm not sure if this is a CookieCrumbler
problem... or what?
  
Thank you!
  
  -- 

Ben Menking
IT Security Consulting

IT Business Solutions
  

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


-- 

Ben Menking
IT Security Consulting
(864) 420-5603
(864) 751-1638 fax

IT and Business Solutions


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


[Zope] module UserFolder problem

2006-10-26 Thread Benjamin Menking




I am adding users to an acl_users using
userFolderAddUser.  What I can't figure out is that after I add a new
user, I cannot log in using the username and password used when calling
userFolderAddUser.  If I manually set the password in
acl_users.properties for that user, everything works great.  Oh, I am
using CookieCrumbler.

Has anyone run across this?  I'm not sure if this is a CookieCrumbler
problem... or what?

Thank you!

-- 

Ben Menking
IT Security Consulting

IT Business Solutions


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


[Zope] ZSQL Method Question

2006-07-17 Thread Benjamin Menking




New to python/Zope, old-timer on PHP

I'm using MySQL and a ZSQL method to insert data into the database.  ex:

    insert into org (org_name, org_phone) values ('x', 'y')

What I'm trying to figure out is that org_id (also part of the org
table, but not specified in the sql statement) is an auto_increment
primary key field and in PHP I can use mysql_insert_id() to find out
what org_id was set to after the mysql_query() call.

Is there a way to retrieve that value with ZSQL method, or must I use
some other mechanism?

Thanks!

-- 

Ben Menking RHCE
IT Security Consulting
(864) 420-5603
(864) 751-1638 fax

IT and Business Solutions


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


[Zope] Alternate Forms of Authentication

2006-07-14 Thread Benjamin Menking




Hello all,

Just getting into Zope and loving it!  I do have a question about the
basic authentication that Zope uses... I have a login page (ZPT) and
would love for Zope to display that page instead of the basic auth
dialog when it determines it needs to authenticate.

Is this possible?  Is there a Product that
does this?

I have looked at the PluggableAuth and
related Products but they either don't seem to do what I want or I
can't find enough text to determine what would fit my needs.


Thanks!

-- 

Ben Menking
IT Security Consulting
(864) 420-5603
(864) 751-1638 fax

IT and Business Solutions


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