• 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Regarding LDAP Authentication

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am trying to integrate LDAP Authentication with JForum. There is one Problem....I would like to attach a sample entry for a user on a LDAP Server, so that you could have a better understanding of what my problem is:

ldap.login.suffix=ou=Guindy,ou=Chennai,ou=India,ou=mycompany,dc=mycompany,dc=com


The above is one sample entry for me in our LDAP server....So if I use this entry for the ldap.login.suffix, then JForum is allowing me to enter the forum..

Now the Problem...

Since our Company is present in many places, other users would have different entries depending on their locations, for example, one of my friends has an entry,

=ou=ec,ou=bangalore,ou=India,ou=mycompany,dc=mycompany,dc=com



So how to make JForum check through all the entries to validate an user...

I hope you got the problem


[originally posted on jforum.net by aravindh.varadharaju]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to expect it to work? Allowing many ldap.login.sufix entries?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

We in other applications use a Java code which does looking into all the entries and authenticate against one of them....Is there any possibility to tweak the code to do the same with JForum....
[originally posted on jforum.net by aravindh.varadharaju]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, it is. Take a look at the LDAPAuthenticator.java class

Let us know the results.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic