• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

LDAP logging

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to get JForum to work with LDAP/Active Directory. It's not working, and I'm not seeing anything in the log either. How can I enable logging?

-- Andr�
[originally posted on jforum.net by andrev]
 
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
FWIW, A quick glance at the source for the LDAPAuthenticator indicated that there aren't any logging statements in the code. So turning on logging isn't going to help much. So you'll need to add in your own debugging statements.
[originally posted on jforum.net by monroe]
 
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

monroe wrote:FWIW, A quick glance at the source for the LDAPAuthenticator indicated that there aren't any logging statements in the code. So turning on logging isn't going to help much. So you'll need to add in your own debugging statements.



Thanks I should have checked the source before asking, I guess. The way LDAP is done now, it won't work with our AD, at least. I need to bind in with a known username/password, search for the user (username is in sAMAccountName, not cn (cn holds full name)), and then try to bind to the user I have found. I think this is a common way of doing LDAP authentication(?)

I will try to submit a patch when I have it working :-)
[originally posted on jforum.net by andrev]
 
He baked a muffin that stole my car! And 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