|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
Using Blojsom 3.2 with Active DirectoryHas anyone used a recent version of Blojsom with Active Directory? I followed the instructions for setting up LDAP and even specified each of the init-param's.
http://wiki.blojsom.com/wiki/display/blojsom3/LDAP+Authorization+Provider I'm fairly certain I have the correct DN as I ran a separate discovery tool to print it out. http://weblogs.java.net/blog/kohsuke/archive/2008/01/active_director.html All I get in /var/log/tomcat5/catalina.out is: Jan 12 18:16:10 DEBUG [ajp-8009-1] servlet.BlojsomServlet - blojsom plugin execution: org.blojsom.plugin.admin.BaseAdminPlugin Jan 12 18:16:10 DEBUG [ajp-8009-1] admin.BaseAdminPlugin - No username/password provided or username/password was empty ...or when I use the form login page: Jan 12 18:43:32 DEBUG [ajp-8009-1] servlet.BlojsomServlet - blojsom plugin execution: org.blojsom.plugin.admin.BaseAdminPlugin Jan 12 18:43:32 DEBUG [ajp-8009-1] ldap.LDAPAuthorizationProvider - Using LDAP authentication for LDAP connection Jan 12 18:43:32 ERROR [ajp-8009-1] ldap.LDAPAuthorizationProvider - Authorization failed for blog: default for username: justin; LDAP not properly configured Jan 12 18:43:32 DEBUG [ajp-8009-1] admin.BaseAdminPlugin - Failed authentication for username: justin Jan 12 18:43:32 DEBUG [ajp-8009-1] admin.BaseAdminPlugin - Setting redirect_to attribute to: /blojsom/blog/default/?flavor=admin& It would be nice to have autodiscovery of users like Hudson has where the form login page is unnecessary since our users already authenticate with Apache/SSL/Kerberos/AD. Blojsom is strike two so far after evaluating Pebble. I'm looking for a fairly capable Weblog that works with Active Directory. Any help would be appreciated! Justin ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
|
Re: Using Blojsom 3.2 with Active DirectoryOn Jan 12, 2009, at 7:57 PM, Justin wrote: > Has anyone used a recent version of Blojsom with Active Directory? > I followed the instructions for setting up LDAP and even specified > each of the init-param's. > > http://wiki.blojsom.com/wiki/display/blojsom3/LDAP+Authorization+Provider > > I'm fairly certain I have the correct DN as I ran a separate > discovery tool to print it out. > > http://weblogs.java.net/blog/kohsuke/archive/2008/01/active_director.html > > Jan 12 18:43:32 DEBUG [ajp-8009-1] ldap.LDAPAuthorizationProvider - > Using LDAP authentication for LDAP connection > Jan 12 18:43:32 ERROR [ajp-8009-1] ldap.LDAPAuthorizationProvider - > Authorization failed for blog: default for username: justin; LDAP > not properly configured > Jan 12 18:43:32 DEBUG [ajp-8009-1] admin.BaseAdminPlugin - Failed > authentication for username: justin > Jan 12 18:43:32 DEBUG [ajp-8009-1] admin.BaseAdminPlugin - Setting > redirect_to attribute to: /blojsom/blog/default/?flavor=admin& > > It would be nice to have autodiscovery of users like Hudson has > where the form login page is unnecessary since our users already > authenticate with Apache/SSL/Kerberos/AD. ... snip ... While not obvious to a "user/implementor" the source code points to a possible clue: * @param username Username. In this implementation, this value must match that of the blog user's ID. I'm not sure that is helpful, but your error is being thrown in the authorize method of the mentioned class. Is your blog user named the same as the AD user? Full disclosure: I have never used LDAP in any implementation of blojsom, I have had some success and failures implementing AD integration in MediaWiki. It works sometimes, and fails other times, all based on things like GPOs and other memberships in the AD directory. Blame it on blojsom, Microsoft (for the rather hackneyed way AD implements the LDAP spec), or your AD administrators, the latter two often the sources of problems we've had. HTH, Tim ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Blojsom-users mailing list Blojsom-users@... https://lists.sourceforge.net/lists/listinfo/blojsom-users |
|
|
|
|
| Since the default blog is owned by the user default... errr, by default... I did jump into MySQL and change the blog owner to my username. I received the same result. If the credentials were not approved, I would expect a message to that effect instead of an error message suggesting a problem with the LDAP configuration. Thanks for the response though! Justin
|
| Yes, "justin" is the AD user, "justin" is the username I tried on the form, "justin" is the username I tried w/ and w/o bindinguser, "justin" and "Full Name" are the UID and CN respectively I tried w/ and w/o in blog-ldap-authorization-dn, and "justin" is now the owner of the default blog as configured in the database. I even tried bindingpassword temporarily, although I doubt my admins would ever allow a hardcoded password. I have no idea if anyone has even gotten AD to work with Blojsom recently. One behavioral question I have yet to answer is whether I should see a login form page at all once LDAP is correctly configured. Credentials can be fetched from the current browser session which is what I believe Hudson does (see reference in earlier post). I'm sure users don't want to login twice.
|
| I did read that article from 4 years ago. I don't think radeox is necessary (it's not mentioned in Blojsom 3's LDAP documentation). Also, the blog data is now managed in a database instead of blojsom-blog-home. In fact, blojsom.properties doesn't even exist any more; the provider needs assigned in classes/blojsom.xml. Between the AD user (already authenticated with Apache and named on the login form), the blog owner, the DN w/ and w/o CN and UID, bindinguser, and bindingpassword, there are many combinations of things to try and I may have missed one. I know firewalls and other system level software aren't interfering because Subversion, Hudson, Sventon and other services all authenticate with AD and run just fine on the same system. I'm about to give up. --- On Tue, 1/13/09, Timothy Stone <blojsom.user@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |