@BhanuKakarla opened this issue on September 29th 2014

Hi Team,

I am unable to install the Login Ldap plugin manually in piwiki, I downloaded the zip file and extracted it in plugins folder, still I am not able to install, I have uninstalled it previously an old version, Can you please help me on the same.

Regards, Bhanu.

@diosmosis commented on September 29th 2014

What version of the plugin are you trying to use?

EDIT: Also, what version of Piwik are you trying to install it with?

@BhanuKakarla commented on September 29th 2014

LoginLdap-2.2.7.zip

@BhanuKakarla commented on September 29th 2014

Piwik 2.2.0

@diosmosis commented on September 29th 2014

When you say you are unable to install, do you mean there's no option to activate it in the plugins page? Or is there some error?

BTW, we are currently rewriting LoginLdap, the next version will be 3.0. It will only be compatible w/ Piwik 2.8 and above, but we recommend using it instead of 2.2.7.

@BhanuKakarla commented on September 29th 2014

I am not able to see the LoginLdapin plugins page, Even if I have LoginLdap in the plugins directory

[root@xxxxxxx plugins]# pwd /var/www/html/piwik/plugins [root@xxxxxxx plugins]#

[root@xxxxxxxxxxx plugins]# ls -l | grep LoginLdap drwxrwsrwx 6 apache apache 4096 May 29 17:08 LoginLdap -rw-r--r-- 1 root root 72568 Sep 29 19:23 LoginLdap-2.2.7.zip -rw-r--r-- 1 root root 2968 Jun 15 2013 LoginLdap.README.txt [root@xxxxxxxxx plugins]#

I have one more query, I was planning to implement SSO using kerebroes, For this I need to disable login in piwiki and my page should redirect to this page with out login

https://XXXXXXXX.com/piwik/index.php?module=MultiSites&action=index&idSite=7&period=day&date=today

can you help me on this, so that I can enable SSO in http level

Regards, Bhanu.

@BhanuKakarla commented on September 29th 2014

Hi Diomosis,

Hope you understood , I don't want to prompt for credentials at php level through piwiki, It should login directly with out prompitng any login page, If this can be done, I can use kerberos based authentication in apache level.

Regards, Bhanu.

@diosmosis commented on September 29th 2014

According to the LoginLdap plugin manifest at version 2.2.7, it requires Piwik version 2.2.1-rc1 or greater. This is why it isn't displaying on the plugins page.

Re SSO: I don't think it's possible to skip the login page entirely, but I'm not too familiar w/ the old code. The session needs to be initialized for the user and that's normally done after the user submits on the login form. I don't know if you have this much control over the system or Piwik, but if you can manage to make an HTTP request that will initialize the session (a request to index.php?module=Login&action=logme&login=userLogin&password=dummy32bytepassword [password must be 32 bytes long, but it shouldn't matter what's there]) it might work.

I'll keep that use case in mind while I rewrite LoginLdap.

@BhanuKakarla commented on October 1st 2014

Hi Diosmosis,

Now I have installed Ldap Login on latest piwiki version, but I was getting a error while logging using that ldap user

Error: could not bind as admin

can you please guide me, On which step I was going wrong

Here are my settings

LDAP Settings

ServerURL : ldaps:///test-example.com/ Server Port : 636 Base DN : DC=example,DC=com USER ID FIELD : userPrincipalName Mail Field : mail Alias Field : cn Username Suffix / Domain : @example.com LDAP Bind Username : Ldap admin LDAP Password : XXXXXXXXXXXXXXXXXX ActiveDirectory Group: blank LDAP search filter : (objectClass=person)

Bhanu

@diosmosis commented on October 2nd 2014

Is "Ldap admin" the cn of your admin user? If so, can you try "cn=Ldap admin,dc=example,dc=com"?

@mattab commented on October 2nd 2014

@BhanuKakarla for your next question with Ldap plugin please create an issue in this issue tracker instead of the main piwik tracker: https://github.com/Piwik/plugin-LoginLdap/issues/

This issue was closed on October 2nd 2014
Powered by GitHub Issue Mirror