Pages (2): 1 2   
Member
Member
MyAGzenphoto   16-10-2017, 14:23
#1

Hello,
I would like to use ldap authentication with zenphoto.
how to install and configure the zenldap plugin ?
Best Regards.

MyAGzenphoto

Administrator
Administrator
acrylian   16-10-2017, 15:02
#2

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.

Member
Member
MyAGzenphoto   17-10-2017, 08:06
#3

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

Administrator
Administrator
acrylian   17-10-2017, 08:12
#4

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.

Member
Member
MyAGzenphoto   17-10-2017, 12:48
#5

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

Administrator
Administrator
acrylian   17-10-2017, 12:55
#6

There is no user guide besides all that is on the site and the explainations on the backend.

Member
Member
MyAGzenphoto   23-10-2017, 11:44
#7

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

Administrator
Administrator
acrylian   23-10-2017, 14:24
#8

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.

Member
Member
MyAGzenphoto   25-10-2017, 08:38
#9

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

Administrator
Administrator
acrylian   25-10-2017, 09:22
#10

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.

Administrator
Administrator
fretzl   25-10-2017, 10:05
#11

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

Administrator
Administrator
fretzl   25-10-2017, 10:24
#12

It seems there is a pull request by someone who apparently updated the plugin.
Nice! Didn't see that. Weird that the folder is still named alt.

Administrator
Administrator
acrylian   25-10-2017, 10:37
#13

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.

Administrator
Administrator
fretzl   25-10-2017, 11:10
#14

Oops, sorry

Member
Member
MyAGzenphoto   25-10-2017, 11:28
#15

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

Administrator
Administrator
acrylian   25-10-2017, 12:12
#16

If you really installed everything correctly in the root plugins folder, I can only suggest to try to contact that author.

Member
Member
MyAGzenphoto   25-10-2017, 12:43
#17

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

Administrator
Administrator
acrylian   25-10-2017, 12:56
#18

You are really sure you installed it correctly? Otherwise please review your error log.

Again, the best is to contact the author(s) of the plugins. I am not sure they read here regulary. I sadly cannot help with this plugin.

Member
Member
MyAGzenphoto   25-10-2017, 13:35
#19

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

Administrator
Administrator
acrylian   25-10-2017, 13:46
#20

I neither know the author nor do I have his email. Sadly he has not opened tickets on his fork repo. Try to comment on the pull request on the original repo. Maybe he sees that and responds.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.