I'd like to try the ldapauth plugin but am having trouble configuring
it. I activate it, then click options which brings up the setup.php
correctly, but there's no way to save the configuration. Any
suggestions?
Thanks.
Karen
-Jeff Harmon
Colorhythm LLC
Anyway, I did try editing the config file in its folder but it doesn't
seem to do anything with it. I searched the plugin folder for
references to config.php and there were none, so I'm guessing that the
plugin is halfway between using the plugin manager and not.
> > Karen- Hide quoted text -
>
> - Show quoted text -
- Jeff Harmon
Colorhythm LLC
We also we try to use this plugin for some time but without results. If we find we will keep you informed. And if your side you found a solution we would be interested to know the result.
As soon I hope
--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.
For what its worth, I found a typo (repeated several times) in the
plugin, though I still don't have it working yet. If you want to try
on your system, these are the changes I made:
In hooks/all.php:
line 8 and 9: change $use_plugin_manager to $use_plugins_manager
In config/config.php
line 109: same change
These changes will affect your results if you are *not* using the
plugin manager.
Let me know if you have any luck.
Regards,
Karen
Would you mind posting your configuration or experience with this
plugin? I'm about to head into using the plugin myself and am
wondering if you have any tips to share.
Thanks,
John
Sure. Firstly, I was not able to get the plugin working using the
plugin manager; i.e. I had to disable the plugin manager entirely, as
the code for this in the plugin seems to be incomplete. Also, FYI, our
ldap is running active directory (AD).
I made these changes (shown in my post above):
In hooks/all.php:
line 8 and 9: change $use_plugin_manager to $use_plugins_manager
In config/config.php
line 109: same change
In config.php lines 111-120 are as follows:
$ldapauth['ldapserver'] = 'ldap://<address of ldap server>';
$ldapauth['port'] = NULL;
$ldapauth['rootdn']= '<domain>/<username of read-only ldap user>';
$ldapauth['rootpass']= '<password of read-only ldap user>';
$ldapauth['basedn']= '<base dn of my ldap/ad server>';
$ldapauth['loginfield'] = 'samaccountname';
$ldapauth['usersuffix'] = '';
$ldapauth['createusers'] = true;
$ldapauth['groupbased'] = false;
$ldapauth['newusergroup'] = <the group number to be assigned to new
users>;
}
I hope that helps.
Regards,
Karen
I'm using Active Directory also, so this should work great.
Basically, I'm going to do the following then:
1. Extract the contents of the RSP file to an LDAPAUTH folder.
2. Copy that folder to the ResourceSpace plugins folder.
3. Make the edits to hooks/all.php
4. Rename or copy config/config.default.php to config.php
5. Make the edits to config/config.php
6. Activate the plugin via resourcespace/include/config.php using
$plugins=array("ldapauth");
You mentioned that you had to turn off the plugin manager entirely in
RS? Does that mean you set the $use_plugins_manager = false; command
in resourcespace/include/config.php?
I'm assuming I would just activate the other plugins I had originally
activated via plugin manager using the config.php $plugins=array
instead. Please let me know if I'm wrong.
Thanks again for the feedback!
John
Karen
1. Extract the contents of the RSP file to an LDAPAUTH folder.
2. Copy that folder to the ResourceSpace plugins folder.
3. Rename or copy config/config.default.php to config.php
4. Make the edits to config/config.php
5. Activate the plugin via resourcespace/include/config.php using
$plugins=array("ldapauth");
execpt at editing hooks/all.php
as you mentioned previously change In hooks/all.php:
line 8 and 9: change $use_plugin_manager to $use_plugins_manager,but i don't have what you mentioned
Regards