Fórumok
Active Directory Setup - can't log in.
Ben Brown, módosítva 12 év-val korábban
Active Directory Setup - can't log in.
Junior Member Bejegyzések: 79 Csatlakozás dátuma: 2010.07.07. Legújabb bejegyzések
Hi,
I'm using Liferay EE 6.0 sp2/Tomcat on Ubuntu Server 11.04/64bit.
I have Active Directory users importing correctly into Liferay, but I am unable to log in using the AD user details...
I also use the Liberal Screen Name Validator because our usernames (mailNickname) have underscores in - e.g. mine is ben_b
In the database, the user_ table is showing the correct fields being populated too.
I have the set up as below:
When I try and log in as a user I can see in the database I get the following:
Thanks for any help or advice, I assume I must have a filter set wrongly or something similar.
Ben
I'm using Liferay EE 6.0 sp2/Tomcat on Ubuntu Server 11.04/64bit.
I have Active Directory users importing correctly into Liferay, but I am unable to log in using the AD user details...
I also use the Liberal Screen Name Validator because our usernames (mailNickname) have underscores in - e.g. mine is ben_b
In the database, the user_ table is showing the correct fields being populated too.
I have the set up as below:
When I try and log in as a user I can see in the database I get the following:
09:48:08,829 DEBUG [LDAPAuth:362] Authenticator is enabled
09:48:08,830 DEBUG [PortalLDAPUtil:44] -- listing properties --
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.provider.url=ldap://mhdc-dcser1:389
com.sun.jndi.ldap.connect.pool.timeout=10000
java.naming.security.principal=xxxxxxxx
com.sun.jndi.ldap.connect.pool=true
com.sun.jndi.ldap.connect.pool.maxsize=50
java.naming.security.credentials=xxxxxxxxx
java.naming.referral=follow
09:48:08,831 DEBUG [LDAPSettingsUtil:51] Search filter before transformation (&(objectCategory=person)(mailNickname=@user_id@))
09:48:08,831 DEBUG [LDAPSettingsUtil:65] Search filter after transformation (&(objectCategory=person)(mailNickname=0))
09:48:08,832 DEBUG [LDAPSettingsUtil:44] -- listing properties --
password=userPassword
lastName=sn
screenName=sAMAccountName
firstName=givenName
jobTitle=title
emailAddress=mail
group=memberOf
fullName=cn
09:48:08,833 DEBUG [LDAPAuth:320] Search filter did not return any results
Thanks for any help or advice, I assume I must have a filter set wrongly or something similar.
Ben
Sreeraj AV, módosítva 12 év-val korábban
RE: Active Directory Setup - can't log in.
Regular Member Bejegyzések: 239 Csatlakozás dátuma: 2010.04.27. Legújabb bejegyzések
just try sAMAccountName=@screen_name@ instead of mailNickname=@user_id@
Ben Brown, módosítva 12 év-val korábban
RE: Active Directory Setup - can't log in.
Junior Member Bejegyzések: 79 Csatlakozás dátuma: 2010.07.07. Legújabb bejegyzések
That worked!
Thanks very much for your help!
Ben
Thanks very much for your help!
Ben
Hannes C., módosítva 11 év-val korábban
RE: Active Directory Setup - can't log in.
New Member Bejegyzés: 1 Csatlakozás dátuma: 2012.09.04. Legújabb bejegyzésekSreeraj AV:
just try sAMAccountName=@screen_name@ instead of mailNickname=@user_id@
Do you know how to handle the problem with ,, Liferay 6.1 [tomcat bundle]" ? i ve got the same problem just with liferay 6.1 and cant find the ext.properties file but already read that this file doesn't exist for liferay 6.1 hmmmm... really thx for help cuz first time working with liferay and i cant find a solution for this problem
Mellékletek:
Linus Sphinx, módosítva 11 év-val korábban
RE: Active Directory Setup - can't log in.
Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2010.08.12. Legújabb bejegyzések
Won't find it in any version unless you create it and fill it with the variables and values you want to over-ride.