[Zope-CMF] jcNTUserFolder and CMF

Meilicke, Scott scott.meilicke@intp.com
Tue, 9 Oct 2001 12:38:27 -0700


Thanks for the response, but when I have the member folder creation turned
on, I get an error.  When it is turned off, I get no error, and no member
folder.  Here is the traceback when create member folder is turned on:

Error Type: AttributeError
Error Value: login_time

Traceback (innermost last):
  File D:\PROGRA~1\intranet\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
  File D:\PROGRA~1\intranet\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File D:\PROGRA~1\intranet\lib\python\Zope\__init__.py, line 226, in
zpublisher_exception_hook
    (Object: LockableItem)
  File D:\PROGRA~1\intranet\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File D:\PROGRA~1\intranet\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: logged_in)
  File D:\PROGRA~1\intranet\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: logged_in)
  File D:\PROGRA~1\intranet\lib\python\Products\CMFCore\FSDTMLMethod.py,
line 180, in __call__
    (Object: logged_in)
  File D:\PROGRA~1\intranet\lib\python\DocumentTemplate\DT_String.py, line
544, in __call__
    (Object: logged_in)
  File D:\PROGRA~1\intranet\lib\python\DocumentTemplate\DT_With.py, line
148, in render
    (Object: portal_properties)
  File D:\PROGRA~1\intranet\lib\python\DocumentTemplate\DT_Let.py, line 148,
in render
    (Object: member="portal_membership.getAuthenticatedMember()")
  File D:\PROGRA~1\intranet\lib\python\DocumentTemplate\DT_Util.py, line
230, in eval
    (Object: member.login_time == _.DateTime('2000/01/01') and 
           validate_email)
    (Info: member)
  File <string>, line 0, in ?
AttributeError: (see above)

Thanks - Scott

-----Original Message-----
From: Tres Seaver [mailto:tseaver@zope.com]
Sent: Tuesday, October 09, 2001 4:27 AM
To: Meilicke, Scott
Cc: 'zope-cmf@zope.org'
Subject: Re: [Zope-CMF] jcNTUserFolder and CMF


Meilicke, Scott wrote:

> Hi - 
> 
> Has anyone gotten jcNtUserFolder (1.3) to operate with CMF 1.1 (zope
2.4.1)
> as seamlessly as the default user folder?  Here's what I'm doing:
> 
> 1. Install a CMF Site - no user folder
> 2. Add a jcNtUserFolder
> 3. Add a member to the userfolder for my domain (not the local domain) via
> the ZMI
> 
> When I try to join, I get user already exists
> When I try to log in, I don't have a logon_time or email address property,
> so errors are thrown.  
> 
> If I don't add a user to the userfolder, I can create a zope, not NT, user
> by joining.  However, I want to add an NT domain user, not a zope user.
> 
> If I have the membership tool not create a userfolder, then I can login
> without joining first, but I don't have a Member folder.

You are on the right track with this last attempt.  The MembershipTool
has a toggle on its "role mapping" tab to turn on/off creation of member
folders at initial login;  you want that turned on, so that the users
who are authenticated via jcNTUserFolder get a folder created.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com