LDAP Help Module doesn't show up....

johnbarclay - December 31, 2008 - 22:36
Project:LDAP integration
Version:6.x-1.0-beta1
Component:Code
Category:support request
Priority:normal
Assigned:johnbarclay
Status:needs review
Description

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.

AttachmentSize
ldaphelp.zip15.74 KB

#1

johnbarclay - January 1, 2009 - 01:11

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

johnbarclay - January 1, 2009 - 01:13

Attachment referred to in #1.

AttachmentSize
ldaphelp.zip 15.77 KB

#3

johnbarclay - January 13, 2009 - 17:44

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.

AttachmentSize
ldaphelp.zip 15.87 KB

#4

johnbarclay - January 13, 2009 - 20:33

Same as #4 with cleanup using the coder module.

John

AttachmentSize
ldaphelp.zip 16.04 KB

#5

hayesr - January 16, 2009 - 19:44

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

#6

johnbarclay - January 16, 2009 - 19:58

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

pensen - January 18, 2009 - 17:47

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

johnbarclay - February 20, 2009 - 19:18
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

#9

mecvo1984 - February 24, 2009 - 21:29
Category:feature request» bug report

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

#10

najibx - April 22, 2009 - 10:24

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"

#11

jinside - May 1, 2009 - 19:09

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

mark.carver - May 5, 2009 - 00:26

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

Hannu - May 29, 2009 - 08:15

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

#14

BTMash - June 24, 2009 - 17:44
Status:reviewed & tested by the community» needs review

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
AttachmentSize
ldaphelp.zip 19.29 KB

#15

johnbarclay - June 25, 2009 - 03:07
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

#16

johnbarclay - August 17, 2009 - 22:08
Version:6.x-1.x-dev» 6.x-1.0-beta1
Category:bug report» feature request
Status:postponed» needs review

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).

AttachmentSize
ldaphelp.zip 16.18 KB

#17

dustyketchum - October 12, 2009 - 19:02
Title:LDAP Help Module» LDAP Help Module doesn't show up....
Category:feature request» support request

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

 
 

Drupal is a registered trademark of Dries Buytaert.