Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP logging

 
Migrated From Jforum.net
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