Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Melvin Williams
Can't authenticate against Windows Server 2008 R2
4 octobre 2013 05:05
Réponse

Melvin Williams

Rang: New Member

Publications: 20

Date d'inscription: 2 octobre 2013

Publications Récentes

Hello Everybody,

I've just installed liferay 6.1.2 CE on Jboss EAP 6.1. Now I'm trying to configure LDAP-authentication. Following this Wiki I managed to get the users imported from our domain controller. But I can't login using a domain users account. Any help would be appreciated.
Vilmos Papp
RE: Can't authenticate against Windows Server 2008 R2
4 octobre 2013 05:20
Réponse

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Publications: 521

Date d'inscription: 21 octobre 2010

Publications Récentes

Hey Melvin,

What error do you get? UI error, log from liferay or AD?
Melvin Williams
RE: Can't authenticate against Windows Server 2008 R2
4 octobre 2013 05:53
Réponse

Melvin Williams

Rang: New Member

Publications: 20

Date d'inscription: 2 octobre 2013

Publications Récentes

I can't see any errors. Neither in AD nor in liferay. Trying to login I get the error message: "Your request wasn't successful. Authentication failed" That may not be the correct translastion of what I am seeing. Does the AD need to be specialy configure for the use with liferay? In the Wiki I was using as source they used the userPassword attribute for mapping the passwords. But when I look at our users userPassword attributes their all empty
Vilmos Papp
RE: Can't authenticate against Windows Server 2008 R2
4 octobre 2013 06:33
Réponse

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Publications: 521

Date d'inscription: 21 octobre 2010

Publications Récentes

Hm. As far as I can remember unicodePWD is used in AD, perhaps you can map that attribute, but I had no chance to test it currently.
Vilmos Papp
RE: Can't authenticate against Windows Server 2008 R2
4 octobre 2013 06:37
Réponse

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Publications: 521

Date d'inscription: 21 octobre 2010

Publications Récentes

Further more, could you verify that your user is not inactive in AD when you try to login?

You could also check the LDAP and MS AD related section of portal.properties as well: http://docs.liferay.com/portal/6.1/propertiesdoc/portal.properties.html#LDAP
Melvin Williams
RE: Can't authenticate against Windows Server 2008 R2
7 octobre 2013 01:57
Réponse

Melvin Williams

Rang: New Member

Publications: 20

Date d'inscription: 2 octobre 2013

Publications Récentes

I solved the problem. The solution was hidden within the comments of the wiki. When I changed my search filter to "(&(objectCategory=person)(sAMAccountName=@screen_name@))" the import and the authentication worked fine. BTW the unicodePwd attribute is according to msdn never returned by a ldap search.
Vilmos Papp
RE: Can't authenticate against Windows Server 2008 R2
7 octobre 2013 02:13
Réponse

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Publications: 521

Date d'inscription: 21 octobre 2010

Publications Récentes

Hey Melvin,

These are good news!

Regards,
Vilmos
Gustavo Pimenta
RE: Can't authenticate against Windows Server 2008 R2
31 octobre 2013 15:33
Réponse

Gustavo Pimenta

Rang: New Member

Publications: 5

Date d'inscription: 28 octobre 2013

Publications Récentes

Melvin Williams:
I solved the problem. The solution was hidden within the comments of the wiki. When I changed my search filter to "(&(objectCategory=person)(sAMAccountName=@screen_name@))" the import and the authentication worked fine. BTW the unicodePwd attribute is according to msdn never returned by a ldap search.


Hey Vilmos!!! I have no words for your help.
I took 3 days on google to found this solution. We must replicate it!!!

So let me place some tags on this post to help other like us. Just to let you know, I'm using the version 6.2 RC (and looks great).

Let me move to the NTLM and SSO.

Many than man!!


Tags: liferay authentication LDAP active directory works working windows 2008 r2 right parameters FIX solution solve works for me

emoticon
Gustavo Pimenta
RE: Can't authenticate against Windows Server 2008 R2
31 octobre 2013 15:32
Réponse

Gustavo Pimenta

Rang: New Member

Publications: 5

Date d'inscription: 28 octobre 2013

Publications Récentes

FIXED!!!
It works!!!