Jurgen,
  I think I am making some progress.  I have it configed (see
attached).  I am not able to authenticate.  when I turn debugging on, I
see something odd...
i see this when i do not specify a base dn
 
ajp-8009-3 INFO  ac.accreditablemanager - authenticate failed for
principal cn=tonyg,o=Home,, exception
javax.naming.AuthenticationException: [LDAP: error code 32 - NDS error:
no such entry (-601)]
 
but when I specify the base dn, it doubles up the o= 
 
ajp-8009-3 INFO  ac.accreditablemanager - authenticate failed for
principal cn=tonyg,o=Home,o=Home, exception
javax.naming.AuthenticationException: [LDAP: error code 32 - NDS error:
no such entry (-601)]
if i do not spec the basedn, where is the first 'o=home' coming from?
and why is there two if I specify the base dn?
 
 
ajp-8009-3 DEBUG ac.accreditablemanager - initialize() getting entry
...
ajp-8009-3 INFO  ac.accreditablemanager - Binding principal:
[cn=admin,o=home]
ajp-8009-3 INFO  ac.accreditablemanager - Finished binding principal.
ajp-8009-3 DEBUG ac.accreditablemanager - searching object
ldaps://serverms1.guadagno.org:636 filtering with (cn=tonyg), recursive
search ? true
 
ajp-8009-3 DEBUG core.manager - Resolving
'org/apache/naming/ldaps/ldapsURLContextFactory.java' with base
'file:///F:/WebSites/lenya/lenya/modules/usecase/' in context
'file:/F:/WebSites/lenya/'
 
ajp-8009-3 DEBUG core.manager - Resolved to systemID :
file:///F:/WebSites/lenya/lenya/modules/usecase/org/apache/naming/ldaps/ldapsURLContextFactory.java
 
ajp-8009-3 DEBUG core.manager - Resolving
'org/apache/naming/ldaps/ldapsURLContextFactory.java' with base
'file:///F:/WebSites/lenya/lenya/modules/usecase/' in context
'file:/F:/WebSites/lenya/'
 
ajp-8009-3 DEBUG core.manager - Resolved to systemID :
file:///F:/WebSites/lenya/lenya/modules/usecase/org/apache/naming/ldaps/ldapsURLContextFactory.java
 
ajp-8009-3 DEBUG ac.accreditablemanager - initialize() got entry, going
to look for attribute cn in entry, which is: cn=tonyg,o=Home:
null:null:{ngwpostoffice=nGWPostOffice: cn=Home PostOffice,o=Home,
nnmcontactlist=nnmContactList:
9;8;0;2;;CN=SRufle,OU=Business,O=Home;Stephen Rufle;,
6;8;1;2;;CN=BDecaudin,OU=Business,O=Home;Bruno Decaudin;,
7;0;2;1;0;;CWC;, 11;10;0;2;;CN=tinag,O=Home;Tina Guadagno;,
3;10;1;2;;CN=gerald,OU=Family,O=Home;Gerald Guadagno;,
8;0;3;1;0;;FujiFilm;, 10;0;4;1;0;;Home;,
4;10;2;2;;CN=BettyC,OU=Family,O=Home;bettyc;, acl=ACL:
2#subtree#cn=tonyg,o=Home#[All Attributes Rights],
6#entry#cn=tonyg,o=Home#loginScript, 2#entry#[Public]#messageServer,
2#entry#[Root]#groupMembership,
6#entry#cn=tonyg,o=Home#printJobConfiguration,
2#entry#[Root]#networkAddress, 6#entry#cn=tonyg,o=Home#bhConfigRW,
6#entry#cn=tonyg,o=Home#bhConfigSecretStore,
2#entry#cn=tonyg,o=Home#bhConfig, 2#entry#cn=tonyg,o=Home#bhObjectGUID,
2#entry#cn=tonyg,o=Home#bhGUIDList, givenname=givenName: Tony,
nrdregistrydata=nRDRegistryData:                                        
                        , objectclass=objectClass: inetOrgPerson,
organizationalPerson, Person, ndsLoginProperties, Top, bhPortalConfigRW,
bhPortalConfigSecretStore, bhPortalConfig, bhconfigrw=bhConfigRW:    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}{A456BCC7-0000-0101-7ED6-108BC0A8A803}-
??Au     ?<?xml version="1.0"?>
<config>
 <setting>
  <name><![CDATA[EmailAddr]]></name>
  <value><[EMAIL PROTECTED]></value>
  <cumulative>0</cumulative>
  <overwriteable>1</overwriteable>
 </setting>
</config>,    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}{A456BCC7-0000-0101-7ED6-108BC0A8A803}-
??
???   ^<?xml version="1.0"?>
<config>
 <setting>
  <name><![CDATA[Bookmark]]></name>
 
<value><![CDATA[Weather::http://www.rnews.com/Weather/index_2004.cfm?type=forecast&cmd=1]]></value>
  <value><![CDATA[ServerNW1 VNC::http://192.168.168.3:5800]]></value>
  <value><![CDATA[News 10 Rochester
Cam::http://www.10nbc.com/skycams.asp?metro=Y]]></value>
  <value><![CDATA[Firewall::https://firewall.guadagno.org]]></value>
 
<value><![CDATA[Cisco::http://www.cisco.com/en/US/customer]]></value>
  <value><![CDATA[ServerNW1 Insight
Agents::http://192.168.168.3:2301]]></value>
 
<value><![CDATA[WRVO::http://www.publicbroadcasting.net/wrvo/ppr/wrvo.m3u]]></value>
  <value><![CDATA[RoadRunner
Mail::https://webmail.rochester.rr.com/]]></value>
  <value><![CDATA[ServerNW1
iManager::https://servernw1.guadagno.org/nps/iManager.html]]></value>
 
<value><![CDATA[FFCU::https://www.familyfirstny.com/onlineserv/HB/Signon.cgi]]></value>
  <value><![CDATA[ServerNW1 Remote
Manager::https://192.168.168.3:8009]]></value>
  <value><![CDATA[Vonage::http://www.vonage.com]]></value>
  <value><![CDATA[Fuji
E-Mail::https://webmail.fujifilmesys.com]]></value>
  <cumulative>0</cumulative>
  <overwriteable>1</overwriteable>
 </setting>
 <setting>
  <name><![CDATA[Columns]]></name>
  <value><![CDATA[3]]></value>
  <cumulative>0</cumulative>
  <overwriteable>1</overwriteable>
 </setting>
</config>, sasloginconfigurationkey=sASLoginConfigurationKey:     ?  
0??0??       01     `?H ??7      8        ? ?"?t???b?Vwc ?.??   $ ? 
?\oHåw??a'0"  `?H ??7    0 0    ?     NMASIV02? @9???1 ???'?C?030   `?H
??7        ?? V??g?^?r?y"]?   ??s;??v??c       @9???1 ???'?C?,
logintime=loginTime: 20080102003301Z, zenzfdversion=zenzfdVersion: <?xml
version="1.0"
encoding="UTF-8"?><AgentData><Version>4.0.1.54</Version><VerWriteTime>1196171873</VerWriteTime></AgentData>,
uid=uid: tonyg, mail=mail: [EMAIL PROTECTED],
nnmlastlogin=nnmLastLogin: 1199223029, cn=cn: tonyg,
telephonenumber=telephoneNumber: 585.703.6700,
ngwgroupwiseid=nGWGroupWiseID: Home Domain.Home
PostOffice.tonyg{106}681CAD90-0498-0000-915C-67004A00FB00,
labeleduri=labeledUri:
https://www.guadagno.org:443/nps/servlet/service?NPService=Webpage&USERDN=CN=tonyg,O=Home
Web Page, sasdefaultloginsequence=sasDefaultLoginSequence: NDS,
emailaddress=eMailAddress: [EMAIL PROTECTED] Domain.Home PostOffice,
bhobjectguid=bhObjectGUID: {EA4982BA-0000-00F2-0F48-FB97C0A8A803}, l=l:
4462 Latting Road, Shortsville, NY 14548, language=Language: ENGLISH,
bhconfigsecretstore=bhConfigSecretStore:    
{0E125CDF-0000-00F1-E708-52E4C0A8A803}SecretStore                       
    5?{ ? ?     gLQ??}^  GF???r?,    
{0E125CDF-0000-00F1-E708-52E4C0A8A803}SecretStore                       
   ??Z??4?   ? gLQ?w#1*K ???c?N={??sb!??o???b?-j Q?a&
???? eDF8 ???m?0?  ? T?? ~!2IX???t?Lta?? i5??%???f??0w  ?; d???? NK_4
??\nr?^??bp?L^? "$TA??? ?V|{??,    
{0E125CDF-0000-00F1-E708-52E4C0A8A803}SecretStore                       
    ?? ?M?W   ? gLQ?w#1*K ???c?N={??sb!??o???b?-j Q?a&
???? eDF8 ???m?0?  ? T?? ~!2IX???t?Lta?? i5??%???f??0w  ?; d???? NK_4
??\nr?^??bp?L^? "$TA??? ?V|{??,    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}SecretStore                       
    5?{ ? ?     gLQ??}^  GF???r?,    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}SecretStore                       
   ? ??E(?   ?1?(q??#-ky? ??cKn$3?Kbfu?K???b??+x?U?a7)??? eL?$?-?i ?XX 

dt???~=s{? ??tNlm)??)irw? ???f??6e? ?; @???? NC?
?,_nv!??}.cp|(~???>ef?Z? "ve3?,    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}SecretStore                       
    ?? ? ?E   ? gLQ?w#1*K ???c?N={??sb!??o???b?-j Q?a&
???? eDF8 ???m?0?  ? T?? ~!2IX???t?Lta?? i5??%???f??0w  ?; d???? NK_4
??\nr?^??bp?L^? "$TA??? ?A}(??3z3??7???d,    
{C8C04B15-0000-00FA-DF80-00E8C0A8A803}SecretStore                       
    ?? ?e   ? gLQ?w#1*K ???c?N={??sb!??o???b?-j Q?a&
???? eDF8 ???m?0?  ? T?? ~!2IX???t?Lta?? i5??%???f??0w  ?; d???? NK_4
??\nr?^??bp?L^? "$TA??? ?V|{??,
sasloginconfiguration=sASLoginConfiguration: &           P a s s w o r d
  H a s h     +l???pMed?6 ????? wab?D, ngwvisibility=nGWVisibility: 2,
fullname=fullName: Tony Guadagno, sn=sn: Guadagno,
nnmclientsettings=nnmClientSettings: Novell.AwayMinutes:10,
Novell.SetAway:1, Novell.Emoticons:0, Novell.AskToSave:0,
Novell.MsgAskToConnectToInternet:0, Novell.AlwaysAccept:0,
ngwobjectid=nGWObjectID: tonyg, nrdregistryindex=nRDRegistryIndex: kcaF 
                                   ?  ? @            NKEY_GLOBAL        
                                 ?  ? @       >    NAL                  
                               ?  ? @       @    Folders                
                             ?  ? @    ?  @    NumFolders               
      , ngwfileid=nGWFileID: xhg}
 
ajp-8009-3 DEBUG ac.accreditablemanager - initialize() set name to
tonyg
ajp-8009-3 DEBUG ac.accreditablemanager - Item [tonyg] added.
ajp-8009-3 DEBUG ac.accreditablemanager - Item was added: [tonyg]
ajp-8009-3 DEBUG ac.accreditablemanager - Item [lenya] added.
ajp-8009-3 DEBUG ac.accreditablemanager - Item was added: [lenya]
ajp-8009-3 DEBUG ac.accreditablemanager - Adding listener:
[EMAIL PROTECTED]
ajp-8009-3 DEBUG ac.authenticator - Authenticating username [tonyg]
with password [xxx]
ajp-8009-3 DEBUG ac.authenticator - Authenticating user: [tonyg]
ajp-8009-3 INFO  ac.accreditablemanager - Binding principal:
[cn=admin,o=home]
ajp-8009-3 INFO  ac.accreditablemanager - Finished binding principal.
ajp-8009-3 DEBUG ac.accreditablemanager - searching object
ldaps://serverms1.guadagno.org:636 filtering with (cn=tonyg), recursive
search ? true
ajp-8009-3 DEBUG ac.accreditablemanager - Authenticating with principal
[cn=tonyg,o=Home,]
ajp-8009-3 INFO  ac.accreditablemanager - Binding principal:
[cn=tonyg,o=Home,]
ajp-8009-3 INFO  ac.accreditablemanager - authenticate failed for
principal cn=tonyg,o=Home,, exception
javax.naming.AuthenticationException: [LDAP: error code 32 - NDS error:
no such entry (-601)]
ajp-8009-3 DEBUG ac.authenticator - User [tonyg] not authenticated.
ajp-8009-3 ERROR lenya.ac - Authentication failed
ajp-8009-3 DEBUG lenya.ac - AbstractUsecase::hasErrors() called,
returning true
ajp-8009-3 DEBUG lenya.ac - AbstractUsecase::hasErrors() called,
returning true
ajp-8009-3 DEBUG core.manager - ComponentFactory decommissioning
instance of org.apache.lenya.cms.ac.usecases.Login.
ajp-8009-3 DEBUG flow - usecases.js::executeUsecase() : Creating view
and continuation, calling Cocoon with viewUri =
[usecases-view/nomenu/modules/acusecases/usecases/login.jx]
 
Tony Guadagno ( mailto:[EMAIL PROTECTED] )
Phone:  585.703.6700
 ( http://www.guadagnoconsulting.com/ )


>>> On 1/1/2008 at 9:30 AM, in message
<[EMAIL PROTECTED]>, Jürgen Ragaller
<[EMAIL PROTECTED]> wrote:
Hi Tony


Am 01.01.2008 um 15:09 schrieb Tony Guadagno:

> Jürgen
>
>   Thanks for repsonding...I did find the access-control.xml file and 

> un-commented the ldap line.  But, it step 3,
>
> Go to the subdirectory passwd and copy the file lenya/pubs/<your- 
> publication-name>/config/ac/passwd/ldap.properties.sample to the  
> file ldap.properties in this directory.
>
>
> I do not have a passwd folder below the access-control folder.

It's location is configurable in access-control.xml (check the folders 

in your build too)

> where is that folder located?
>

The original location is

<your-publication-name>/config/access-control/passwd

see:
http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/access-control/passwd/



Jürgen Ragaller


null-oder-eins GmbH Zürich
web & graphic design

www.null-oder-eins.ch 

[EMAIL PROTECTED] 
Skype: callto://ragaller




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 

Attachment: ldap.properties
Description: Binary data

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Tony Guadagno
TEL;WORK:585.703.6700
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Guadagno;Tony
END:VCARD


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to