This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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
 
Create symphonies in seed and soil. For this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic