aspose file tools*
The moose likes JForum and the fly likes LDAP logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "LDAP logging" Watch "LDAP logging" New topic
Author

LDAP logging

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP logging