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

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]
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic