LDAP userid defined for the console users fails with SECJ0336E error message in SystemOut.log
 Technote (troubleshooting)
 
This document applies only to the following language version(s):
English
 
Problem(Abstract)
Logon to Administrative Console works with the userid with which the global security is enabled, but the LDAP userid defined for the console users fails with SECJ0336E error message in SystemOut.log
 
Cause
LDAP User Filter and Group Filter for the type of LDAP registry not correct
 
Resolving the problem
Following error message logged in the SystemOut.log

LdapRegistryI E SECJ0336E: Authentication failed for user cn=wasadmin,ou=wasdev,o=com because of the following exception javax.naming.AuthenticationException: [LDAP: error code 49 - NDS error: failed authentication (-669)]


Logon to Administrative Console using the userid used for Global Security

  1. Expand Security > User Registries > LDAP and select Advanced LDAP Settings.
  2. Set the following value of User Filter and Group Filter, depending on the LDAP registry used for Global Security. Following filters are default values for respective LDAP registry.

    For IBM Directory Server:
    user filter: (&(uid=%v)(objectclass=inetOrgPerson))
    group filter: (&(cn=%v)(objectclass=groupOfUniqueNames))

    For Domino:
    user filter: (&(|(cn=%v)(uid=%v))(objectclass=inetOrgPerson))
    group filter: (&(cn=%v)(|(objectclass=groupOfNames)(objectclass=groupOfUniqueNames)))

    For Active Directory:
    user filter: (&(|(cn=%v)(samAccountName=%v))(objectclass=user))
    group filter: (&(cn=%v)(objectclass=group))

    For SunOne:
    user filter: (&(uid=%v)(objectclass=inetOrgPerson))
    group filter: (&(cn=%v)(objectclass=groupOfUniqueNames))

    For Novell eDirectory :
    user filter: (&(uid=%v)(objectclass=inetOrgPerson))
    group filter: (&(cn=%v)(objectclass=groupOfUniqueNames))
  3. Save your settings.
  4. Restart all WebSphere Application Server, Nodeagents and Deployment Manager
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Security
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1215910
IBM Group: Software Group
Modified date: Aug 31, 2005