Troubleshooting: Users registered in WebSphere Commerce cannot log into Portal using DOMINO 6 LDAP

Problem

Portal is not able to recognize users registered in WebSphere Commerce

Solution

If you add a new object class with the value

dominoPerson

for a user registered in WebSphere Commerce in LDAP, it can be used to login. The problem could be fixed with the following steps.

  1. Delete wcsadmin from LDAP, on the LDAP machine
  2. Change wcsadmin's login id in the user registry table to its short form in the Websphere Commerce db, on the Websphere Commerce machine. For example if you were having cn=wcsadmin, and o=ibm, you should change it to wcsadmin.
  3. Change wcsportalldap.xml under
    <commerce>/xml/ldap 
    
    directory as follows:
     <ldapsetting>       
                 <ldaprdn rdnName="cn" keyAttrName="logonId" keyObjName="UserRegistry"/>
                 <ldapocs objClass="top;person;organizationalPerson;inetOrgPerson;dominoPerson"/>
                 <ldapbase defaultBase="ou=people,o=ibm" searchBase="o=ibm"/>
     </ldapsetting>
    
    and save the file. This instructs commerce server to add the new
    dominoPerson
    
    object class while creating a new user in the LDAP server.
  4. Restart Websphere Commerce
  5. Logon to adminconsole with wcsadmin.
  6. Add wcsadmin to the wpsadmins group on LDAP machine.

Feedback