Hello,
I would like to use ldap authentication with zenphoto.
how to install and configure the zenldap plugin ?
Best Regards.
MyAGzenphoto
You find the instructions her: https://github.com/f1dot4/zenLdap
Given the plugin still works as it is unsupported and seems not to have been update for 5 years. I never used it.
I have followed the instructions and now how can I launch the login procedure. Till now I use the following URL from my browser:
http://zenphoto.private.vki.eu/zenphoto/ (location of my gallery).
I never get a login prompt even before.
Maybe the way I access my gallery is wrong.
Best Regards.
MyAGzenphoto
The general login url is http://zenphoto.private.vki.eu/zenphoto/admin if using modrewrite.
Besides that I cannot help with the plugin. I don't know it and never used it. It very well may not work anymore.
Hello,
Trying to reset my zenphoto site.
By the way, can you tell me where I can find a zenphoto user's guide in pdf format.
Thanks in advance.
Best Regards.
MyAGzenphoto
Hello,
About the LDAP plugin: " https://github.com/f1dot4/zenLdap",
I have followed the instructions mentionned:
cd /home/giuseppe/
unzip zenLdap-master.zip
mkdir /alt/plugins/alt/
cd /alt/plugins/alt
cp /home/giuseppe/zenLdap-master/alt/lib-auth.php .
cd /alt/plugins/alt
cp /home/giuseppe/zenLdap-master/alt/lib-auth.php .
At this point how can I make zenphoto aware that the plugin is installed ?
Maybe from the admin Backend ?
Indeed , there is a "Plugins" tag.
Can you help me please.
Best Regards.
MyAGzenphoto
Please review the plugin install info here that you installed correctly:
http://www.zenphoto.org/news/using-plugins-and-third-party-features/
And again, it is old and third party and may not work anymore.
Hello,
Thanks for your answer.
I have followed the instructions at http://www.zenphoto.org/news/using-plugins-and-third-party-features/
Here is wath I did:
cd /var/www/html/zenphoto/zp-core
mkdir plugins
cd plugins
cp ~giuseppe/zenLdap-master/ldapLogon.php .
mkdir ldaplogon
cp ~giuseppe/zenLdap-master/alt/lib-auth.php ./ldaplogon/.
Nothing changes, I still cannot see my ldapLogon plugin from the admin Backend
It is a pity, because to go on I really need LDAP authentication.
Any help will be welcome.Best Regards.
MyAGzenphoto
So the plugin file itself is within /plugins and also the alt folder?
Sorry but if that all does not work the plugin is probably just not compatible anymore. Again I have never used it, it is five years old and not supported.
It seems there is a pull request by someone who apparently updated the plugin. Here is the repo so I sugggest to try that: https://github.com/blind-coder/zenLdap
It's always best if someone actually using and needing a feature maintains it.
Third party plugins should be in the plugins folder, in the root of your installation. This folder is already present.
I see the plugin instructions are not correct.
In the zenLdap folder you downloaded you will find a folder named alt (with the lib-auth.php file inside) and a file named ldapLogon.php.
The folder should be renamed to ldapLogon (the same name as the PHP file)
Now just put the folder (ldapLogon) and the file (ldapLogon.php) in the plugins folder in the root of your installation.
Now the plugin should show up in the backend.
Just to be safe you should make a small change to the ldapLogon.php file.
On line 19, function ldapLogon() should be changed to function __construct()
Quote:In the zenLdap folder you downloaded you will find a folder named alt (with the lib-auth.php file inside) and a file named ldapLogon.php.
The folder should be renamed to ldapLogon (the same name as the PHP file)
Now just put the folder (ldapLogon) and the file (ldapLogon.php) in the plugins folder in the root of your installation.
That's not correct. This plugin has no separate folder. The folder must be in /plugins/alt/ as it is meant that way to take over the authentification process from /zp-core/lib-auth.php that way.
Hello,
Thanks for your help.
By the way, I have tried the one you mentioned: "https://github.com/blind-coder/zenLdap" and nothing changes.
Best Regards.
MyAGzenphoto
Hello,
I am sorry, even by making this changes, it does not work( I cannot see the plugin in the Backend).
Help, I need somebody help, not just anybody help...
Best Regards.
MyAGzenphoto
Hello,
At this point, I think it is a good idea to try to contact that author( "https://github.com/blind-coder/zenLdap").
Can you give me his e-mail so that I can make him aware of my problems with his plugin).
Thanks in advance.
Best Regards.
MyAGzenphoto