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.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | ldaphelp.zip | 16.19 KB | johnbarclay |
| #16 | ldaphelp.zip | 16.18 KB | johnbarclay |
| #14 | ldaphelp.zip | 19.29 KB | btmash |
| #4 | ldaphelp.zip | 16.04 KB | johnbarclay |
| #3 | ldaphelp.zip | 15.87 KB | johnbarclay |
Comments
Comment #1
johnbarclay commentedI 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
Comment #2
johnbarclay commentedAttachment referred to in #1.
Comment #3
johnbarclay commentedThere 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.
Comment #4
johnbarclay commentedSame as #4 with cleanup using the coder module.
John
Comment #5
hayesr commentedThanks!
This module solved a config problem I was having.
Comment #6
johnbarclay commentedGreat! 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?
Comment #7
pensen commentedAwesome 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
Comment #8
johnbarclay commentedI believe this is ready. If its easier for me to submit this as a separate, dependent project I can. John
Comment #9
mecvo1984 commentedposted a question about this module, figured it out, came back to delete this post but couldn't.. Pls. accept my apology.
Comment #10
najibx commentedhi ....i'm getting this error
BTW, I am using XAMPP and have "LDAP Support enabled"
Comment #11
jinside commentedThis 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.
Comment #12
markhalliwellWill 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.
Comment #13
Hannu commentedSorry to say this module gives "the white screen of death" immediately after enabling it with ldap_integration 6.x-1.x-dev.
Comment #14
btmash commentedWhile 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:
Comment #15
johnbarclay commentedthanks 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
Comment #16
johnbarclay commentedI 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).
Comment #17
dustyketchum commentedI'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
Comment #18
jan.pieters commentedIs 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
Comment #19
johnbarclay commentedI'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.
Comment #20
markhalliwellI 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.
Comment #21
johnbarclay commentedSounds 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.
Comment #22
johnbarclay commentedO.K. I moved the ldaphelp module to a project. The release should be at:
http://drupal.org/project/ldaphelp
in 12 or less hours.
Comment #23
markhalliwell