Forums de discussion

Having problems integrating with LDAP

Carleen Dickerson, modifié il y a 11 années.

Having problems integrating with LDAP

New Member Publications: 9 Date d'inscription: 12/03/13 Publications récentes
Hello all,
I've having problems integrating with LDAP overall. I've tried many configurations and can't seem to get this right. I'm using version 6.1.20 EE on Windows 7.

My problem is that I can't get my users to authenticate. I can successfully import them, but authentication always fails. ONCE I got it working correctly, but then the Test user wouldn't authenticate, *only* the LDAP users. What could I be doing wrong? I've tried combinations of all the settings (setting Password policy, requiring/not requiring LDAP, import on startup, import on login...).

Thanks for any input,
Carleen
thumbnail
Thomas Berg, modifié il y a 11 années.

RE: Having problems integrating with LDAP

Regular Member Publications: 131 Date d'inscription: 07/09/09 Publications récentes
Hi Carleen,

Have you tried changing the log level to see if theres any useful information there?
Go to Control Panel -> Server Administration -> Log Levels. Search for "ldap" and set the level for any classes you find to DEBUG.

HTH

Thomas
Carleen Dickerson, modifié il y a 11 années.

RE: Having problems integrating with LDAP

New Member Publications: 9 Date d'inscription: 12/03/13 Publications récentes
I just changed the debug levels. Unfortunately it only echoes what the ldap settings are, not what was actually passed in or why it didn't authenticate.

Any other ideas??
thumbnail
Rahul Trehan, modifié il y a 11 années.

RE: Having problems integrating with LDAP

New Member Publications: 9 Date d'inscription: 17/11/09 Publications récentes
Carleen,

What configuration settings are you using. Follow these steps I made it work after struggling it for days.

1. User mapping should be exactly the same that Liferay is expecting.
e.g. ldap.user.mappings.0=screenName=uid\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\njobTitle=title
2. ldap auth search settings should be exactly what is set in the Liferay authentication setting.
e.g. if in the control panel the answer to How do users authenticate? is By Screen Name then your ldap.auth.search.filter should be @screen_name
Hope that helps.

Thanks,
Rahul
Carleen Dickerson, modifié il y a 11 années.

RE: Having problems integrating with LDAP

New Member Publications: 9 Date d'inscription: 12/03/13 Publications récentes
Thank you Rahul - my settings weren't correct. I was searching by uid when I wanted to search by screen name. All is well now.

Carleen