jndirealm in tomcat is not working for me
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Saul_Gonzalez
Posted On:   Thursday, July 3, 2003 10:31 AM

I'm not sure how to get jndirealm to work with tomcat. I keep getting this: 2003-07-03 10:08:41 JNDIRealm[Standalone]: Closing directory context 2003-07-03 10:08:50 JNDIRealm[Standalone]: Connecting to URL ldap://localhost:389 2003-07-03 10:09:57 JNDIRealm[Standalone]: lookupUser(sgonzalez) 2003-07-03 10:09:57 JNDIRealm[Standalone]: dn=uid=sgonzalez,ou=people,dc=PETS,dc=local 2003-07-03 10:09:57 JNDIRealm[Standalone]: validating credentials by binding as the user 2003-07-03 10:09:57 JNDIRealm[Standalone]: binding as uid=sgonzalez,ou=people,dc=PETS,dc=local 2003-07-03 10:09:57 JNDIRealm[Standalone]: Username sgonzalez successfully authenticat   More>>

I'm not sure how to get jndirealm to work with tomcat.


I keep getting this:


2003-07-03 10:08:41 JNDIRealm[Standalone]: Closing directory context

2003-07-03 10:08:50 JNDIRealm[Standalone]: Connecting to URL ldap://localhost:389

2003-07-03 10:09:57 JNDIRealm[Standalone]: lookupUser(sgonzalez)

2003-07-03 10:09:57 JNDIRealm[Standalone]: dn=uid=sgonzalez,ou=people,dc=PETS,dc=local

2003-07-03 10:09:57 JNDIRealm[Standalone]: validating credentials by binding as the user

2003-07-03 10:09:57 JNDIRealm[Standalone]: binding as uid=sgonzalez,ou=people,dc=PETS,dc=local

2003-07-03 10:09:57 JNDIRealm[Standalone]: Username sgonzalez successfully authenticated

2003-07-03 10:09:57 JNDIRealm[Standalone]: getRoles(uid=sgonzalez,ou=people,dc=PETS,dc=local)

2003-07-03 10:09:57 JNDIRealm[Standalone]: Username sgonzalez does NOT have role manager


in my log.


I've created a role called manager in my ldap server and I added the manager rolle to all users in tomcat-users.xml and I still get this error.


What am I doing wrong.


Thanks,


Saul

   <<Less
About | Sitemap | Contact