Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trouble setting up ldaprealm

0 views
Skip to first unread message

James Smith

unread,
Mar 8, 2001, 9:46:24 AM3/8/01
to
Hello all
I'm having trouble connecting to an NDS server to set up a ldap realm
The system is WLS 5.1, Solaris 2.6, NDS eDirectory 8.5

We have successfully connected via JNDI and sevlets, however, cannot
connect to create a realm.
Have tried several million combinations, keep getting the error below.

The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.ExceptionInInitializerError:
weblogic.security.ldaprealm.LDAPRealmException: cannot connect to
ldapserver without a principal to authenticate as
at
weblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDelegate.java:360)

at
weblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.java:683)

at
weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:35)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.security.acl.Realm.getRealm(Realm.java:78)
at weblogic.security.acl.Realm.getRealm(Realm.java:56)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1093)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)

which isn't very helpful.
Don't really know why I have to connect with a principal user anyway as
accessing the directory as "public"
should be ok for password verification of users.

Have placed in weblogic.properties the line
weblogic.security.realmClass=weblogic.security.ldaprealm.LDAPRealm

and in the ldaprealm.properties file (in same location as
weblogic.properties file)

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Properties For Novell Directory Services
# -------------------------------------------------------------------
# Directory Server Properties
weblogic.security.ldaprealm.url=ldap://gecko15:389
weblogic.security.ldaprealm.principal=cn=jim,ou=Employees,o=GECKO
weblogic.security.ldaprealm.credential=password
weblogic.security.ldaprealm.ssl=false
weblogic.security.ldaprealm.authentication=simple
weblogic.security.ldaprealm.userAuthentication=bind

# User Schema
weblogic.security.ldaprealm.userDN=o=GECKO
weblogic.security.ldaprealm.userNameAttribute=cn

# Group Schema
weblogic.security.ldaprealm.groupDN=o=GECKO,ou=Employees
weblogic.security.ldaprealm.groupNameAttribute=cn
weblogic.security.ldaprealm.groupUsernameAttribute=uniqueMember
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

can anyone suggest where the problem might be?
cheers
jim


0 new messages