• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

LDAP logging

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!