LDAP Help Module doesn't show up....
| Project: | LDAP integration |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | johnbarclay |
| Status: | needs review |
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.
| Attachment | Size |
|---|---|
| ldaphelp.zip | 15.74 KB |

#1
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
#2
Attachment referred to in #1.
#3
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.
#4
Same as #4 with cleanup using the coder module.
John
#5
Thanks!
This module solved a config problem I was having.
#6
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?
#7
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
#8
I believe this is ready. If its easier for me to submit this as a separate, dependent project I can. John
#9
posted a question about this module, figured it out, came back to delete this post but couldn't.. Pls. accept my apology.
#10
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 54BTW, I am using XAMPP and have "LDAP Support enabled"
#11
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.
#12
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.
#13
Sorry to say this module gives "the white screen of death" immediately after enabling it with ldap_integration 6.x-1.x-dev.
#14
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:
#15
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
#16
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).
#17
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