Kipjr / Ldap_Login

piwigo plugin ldap login
http://piwigo.org/ext/extension_view.php?eid=650
6 stars 15 forks source link

Error : Binding OK, but no valid DN found on server ldaps://subdomain.domain.net:636 for user #35

Open angelawong opened 4 years ago

angelawong commented 4 years ago

I keep getting this error: Error : Binding OK, but no valid DN found on server ldaps://subdomain.domain.net:636 for user

No issues when I run: ldapsearch -x -ZZ -h subdomain.domain.net: v -D "uid=username,cn=users,cn=accounts,dc=domain,dc=net" -W

OR

ldapsearch -x -H ldaps://subdomain.domain.net:636 -D "uid=username,cn=users,cn=accounts,dc=domain,dc=net" -W -d100

I don't understand why when I do the same in Piwigo, it is giving me a "no valid DN found". I am using this as my Base DN: cn=users,cn=accounts,dc=domain,dc=net

I have even tried just using dc=domain,dc=net but to no avail.

Please advise. Any help would be most appreciated. Thank you very much.

Kipjr commented 4 years ago

class, filter and attr are all filled in?

angelawong commented 4 years ago

Yes. I used to be able to use this plugin but not anymore.

Thanks, Angela

On Jun 12, 2020, at 6:30 AM, Martie notifications@github.com wrote:

class, filter and attr are all filled in?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Kipjr/ldap_login/issues/35#issuecomment-643200258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHV3NEMGMCWA5ZVZJ6NIFLRWH7U5ANCNFSM4NRI66TQ.

Kipjr commented 4 years ago

Need better return code when error is generated.

0utl4w commented 9 months ago

Hi, I am having the same problem. I can't get the ldap-plugin to work.

I use Piwigo on yunohost. I'll attach some pics of my configuration.

Info about ldap in yunohost [https://yunohost.org/en/packaging_sso_ldap_integration]

ldap Info on server: ldap_data

Setting in ldap_Plugin in Piwigo ldap_settings_piwigo

Error: ldap_error

Kipjr commented 9 months ago

can you share the logs

0utl4w commented 9 months ago

Can you help me to find the logs?

Kipjr commented 9 months ago

It should be in the folder of Ldap_Login

0utl4w commented 9 months ago

ldap_login.txt Sorry, it took a while to find the log, but I made it. In the attached file you find the entries of my todays test.

0utl4w commented 9 months ago

Update: when I leave 'User Object Filter:' empty and uncheck 'Use user groups' I get: 'Configuration LDAP OK :...'