Hello I have users stored to LDAP and they are using email address as binddn in PLA login page.
My enviroment had PLA 1.1.0.6, cookie auth_type and attr set to mail and it worked okay. But now I upgraded to 1.2.0.5 and cookie was not supported anymore. So I changed cookie to session, but logins fail: Unable to connect to LDAP server LDAP-server-test Error: No such object (32) for user error Failed to Authenticate to server Invalid Username or Password. My config: $servers->setValue('login','auth_type','session'); $servers->setValue('login','bind_id','cn=enough-power,dc=fi'); $servers->setValue('login','bind_pass','secret'); $servers->setValue('login','attr','mail'); $servers->setValue('login','base',array('dc=fi')); $servers->setValue('login','fallback_dn',true); If I have understood this correctly, when user logs in with myem...@example.com, PLA searches the user with filter mail=myem...@example.com using the bind_id and bind_pass. Then, if user is found, it binds with user DN and user provided password. I enabled PLA debug log and followed CentosDS access and error logs, but I was not enable to see anything. No bind with bind_id or search for the user or bind with user DN. Is this session+attr style authentication "supported" anymore? Where this code should be, in ds.php or ds_ldap.php, I could take a look if someone could point me to the right direction? Regards, Kimmo ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ phpldapadmin-users mailing list phpldapadmin-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users