I wrote a help module to complement the LDAP_Integrations suite. It only helps with LDAP auth now. The purpose of it is:
- to make support and bug reports better by getting a more complete set of information
- help people debug their own ldap configuration
- allow people to import and export their ldap configrations for sharing.

I'm looking for feedback on its usefulness as well as people testing it on different types of LDAPs.

The module would be disabled unless you were configuring or debugging your ldap_integration modules.

I've only used it with Microsoft Active Directory, but the design should work with any ldap.

Disclaimers:
- code is rough and doesn't use the t() function much or correctly. I'll get back to that and get it up to drupal coding standards at some point.
- some of the content should go in documentation. I'd like to help update documentation at some point when version 6 is stable.
- perhaps the "wizard" part will just confuse people and its functionality should be integrated into the add/edit server and settings form with some simple test buttons.

I'll add some screenshots later. To give it a try, unzip it and put the entire ldaphelp folder inside the top ldap_integration folder.

Comments

johnbarclay’s picture

I put the screenshots at:

http://staff.ed.uiuc.edu/jbarclay/ldaphelp/

I broke the import functionality when I was removing debug code to zip it up. Attached is the fixed version.

John

johnbarclay’s picture

StatusFileSize
new15.77 KB

Attachment referred to in #1.

johnbarclay’s picture

StatusFileSize
new15.87 KB

There was a bug. The help module required the database logging module to be enabled. It no longer requires this. Attached is the revised help module.

johnbarclay’s picture

StatusFileSize
new16.04 KB

Same as #4 with cleanup using the coder module.

John

hayesr’s picture

Thanks!
This module solved a config problem I was having.

johnbarclay’s picture

Great! You're the first person that used it without me needing to fix a bug in it. What type of ldap did you use it with and what type of web server are you running?

pensen’s picture

Awesome johnbarclay, I like the help module very much. It helped me a lot in many ways (Actually iam new to LDAP integration)

My Configuration is
openLDAP
and WAMP 2.0

Thanks
Senthil

johnbarclay’s picture

Status: Needs review » Reviewed & tested by the community

I believe this is ready. If its easier for me to submit this as a separate, dependent project I can. John

mecvo1984’s picture

Category: feature » bug

posted a question about this module, figured it out, came back to delete this post but couldn't.. Pls. accept my apology.

najibx’s picture

hi ....i'm getting this error

Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/ldap_integration/ldap_integration/LDAPInterface.php' (include_path='.;E:\xampp\php\pear\') in E:\xampp\htdocs\drupal6\sites\all\modules\ldaphelp\ldaphelp.module on line 54

BTW, I am using XAMPP and have "LDAP Support enabled"

jinside’s picture

This module also helped me debug a connection issue. Great module.

Server: IIS and Active Directory using PHP 5.2.9 and the php_ldap extension.

markhalliwell’s picture

Will there be a new version of this mod to integrate with the new release of LDAP Integration 6.x-1.x-dev on 2009-May-03?

When I install this mod, it breaks my entire site and gives me the following info:

Notice: Undefined index: severity in /wwwpath/modules/ldap_integration/ldaphelp.module on line 370
Notice: Undefined variable: _content in /wwwpath/modules/ldap_integration/ldaphelp.module on line 374
Notice: Undefined variable: _content in /wwwpath/modules/ldap_integration/ldaphelp.module on line 374
Notice: Undefined variable: _content in /wwwpath/modules/ldap_integration/ldaphelp.module on line 374
Notice: Undefined variable: _content in /wwwpath/modules/ldap_integration/ldaphelp.module on line 374
Notice: Undefined variable: _content in /wwwpath/modules/ldap_integration/ldaphelp.module on line 374

Fatal error: require_once() [function.require]: Failed opening required 'modules/ldap_integration/ldap_integration/LDAPInterface.php' (include_path='.:/phppath/php5/lib/php') in /wwwpath/modules/ldap_integration/ldaphelp.module on line 54

I'm assuming it has to do with LDAP Integration's new pathing.

Hannu’s picture

Sorry to say this module gives "the white screen of death" immediately after enabling it with ldap_integration 6.x-1.x-dev.

btmash’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new19.29 KB

While the module didn't quite help me in troubleshooting an issue I'm having (will post it in the support forum), I also got the white screen of death along with a few errors. I've corrected these errors and am attaching my version of the zip file. Things I've changed:

  • Changed path to the LDAP Interface based on the dev branch of Drupal 6.x
  • Removed libdebug.php and admin.conf.php includes lines
  • Changed $_content to $content and gave it a starting point
johnbarclay’s picture

Status: Needs review » Postponed

thanks this may help others. I'm not working on the help module until the other ldap modules get out of dev and alpha. I have a separate forked version of them all on my sites so I don't have any handy testing environments for the help module.

John

johnbarclay’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta1
Category: bug » feature
Status: Postponed » Needs review
StatusFileSize
new16.18 KB

I updated this for 6.x-1.0-beta1 and tested on my servers. Looking for others to test. Below is poorly made video walking through the screenshots of the ldap help module:

http://www.youtube.com/watch?v=2ltTp87wWQY

Attached is the module code. It can go at the top level of one of the modules folders (sites/all/modules, sites/default/modules, etc. or inside the ldap integration folder).

dustyketchum’s picture

Title: LDAP Help Module » LDAP Help Module doesn't show up....
Category: feature » support

I've installed the latest Aug 17 ldaphelp module under ldap_integration. It shows up under modules. I checked it to enable it. Nothing. It doesn't show up in any of ldap menus. Confused.

// $Id: ldapauth.module,v 1.45 2009/07/28 14:03:05 miglius Exp $
// $Id: ldapgroups.module,v 1.39 2009/07/28 14:03:05 miglius Exp $
// $Id: ldapdata.module,v 1.29 2009/07/28 14:03:05 miglius Exp $

Thanks,
Dusty

jan.pieters’s picture

Is there any progress on this one ? I also have the problem of the LDAP Help-modules that doesn't show up. I really would like tu use it because the LDAp Data and LDAP Groups aren't working. LDAP Authentication works.

I'm using:
LDAP Integration 6.x-1.0-beta2
LDAP Help 3

johnbarclay’s picture

StatusFileSize
new16.19 KB

I've updated it for beta 2but didn't adjust any of the import or wizard stuff

so use at your own risk. The menu bug is fixed.

markhalliwell’s picture

I propose either including this module with LDAP Integration or making LDAP Help a real module. The only way I knew that this was updated was because I had subscribed early on.

johnbarclay’s picture

Sounds good to me. I don't use it myself, but use it to help others on my campus to help themselves. I'll request a project for it.

johnbarclay’s picture

Priority: Normal » Minor

O.K. I moved the ldaphelp module to a project. The release should be at:

http://drupal.org/project/ldaphelp

in 12 or less hours.

markhalliwell’s picture

Status: Needs review » Closed (fixed)