• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

WLS6.1 - Configuring realm for openLdap

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am trying to configure a realm for openLdap directory service to authenticate the users from openldap directory service.
While configuring i have set the following settings.

Realm Class Name: weblogic.security.ldaprealmv1.LDAPRealm
ldap url: ldap://ldap.gcr.com(the same url is been also set in ldap.conf file too)
Auth protocol: simple
User Authentication: Local
User Password Attribute: userpassword
User DN u=people,dc=gcr,dc=com
User Name Attribute: cn
Group DN: ou=groups,dc=gcr,dc=com
Group Name Attribute: cn
Group Username Attribute: member
Group Is Context: deselected
I populated the users on openldap directory service using the following LDIF file.
dn: dc=gcr,dc=com
objectclass: dcObject
objectclass: organization
o: GCR
dc: gcr
dn: ou=people,dc=gcr,dc=com
ou: people
objectclass: organizationalUnit
objectClass: top
dn: ou=groups, dc=gcr,dc=com
ou: groups
objectclass: organizationalUnit
objectClass: top
dn: ou=internal,ou=people,dc=gcr,dc=com
ou: internal
objectclass: top
objectclass: organizationalUnit
dn: cn=jhon,ou=internal,ou=people,dc=gcr,dc=com
objectclass: top
objectclass: person
cn: jhon
sn: j
userpassword: analytica
dn: cn=CQ_ADMIN,ou=groups,dc=gcr,dc=com
member: cn=jhon,ou=internal,ou=people,dc=gcr,dc=com
cn: CQ_ADMIN
description: This Contract Quickview Admin Group
objectClass: groupOfNames
objectClass: top
When i list users on ldap server, it shows me all the users. But when i try to authenticate the user jhon from the application deployed on weblogic server says, 'Authentication Faliure'.
I have no clue as whats happening here. If some one could help with this problem would be of great help to me.
Thanks in advance,
reshma
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic