Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
kenneth rock
How do i set up liferay 6.0 to use Exchange Login accounts
April 11, 2012 1:49 PM
Answer

kenneth rock

Rank: New Member

Posts: 1

Join Date: April 11, 2012

Recent Posts

Could someone give me the explain step by step how they set up Liferay to use Exchange email and Login to liferay using these accounts. I tried using the Server settings > Mail in the control panel but having trouble figuring out the exchange settings needed here.

Thanks
Hitoshi Ozawa
RE: How do i set up liferay 6.0 to use Exchange Login accounts
April 11, 2012 4:39 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Liferay does not integrate with Exchange, but you can setup Liferay to use Active Directory.

http://www.liferay.com/community/wiki/-/wiki/Main/LDAP+with+AD+in+Liferay+6.0.5
Linus Sphinx
RE: How do i set up liferay 6.0 to use Exchange Login accounts
April 12, 2012 9:13 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 89

Join Date: August 12, 2010

Recent Posts

Add the below sections to your portal-ext.properties and edit it to fit your domain, auth and directory tree. Note in this I've switched sAMAccountname and CN as there is no formatting for CN in Active Directory, can put anything in there and people do but it does format and validate sAMAccountName.
Note the NTLM section, AD does not do true LDAP.

###############
ldap.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.password.policy.enabled=false
ldap.base.provider.url=ldap://activedirectory.wizz.org:389
ldap.base.dn=OU=UserAccounts,DC=wizz,DC=org
ldap.security.principal=AUTH-USER-NAME
ldap.security.credentials=AUTH-USER-PASSWORD
ldap.auth.method=bind
ldap.auth.enabled=true
ldap.auth.required=false
ldap.auth.password.encryption.algorithm.types=MD5,SHA
ldap.auth.search.filter=(SAMAccountName=@screen_name@)
ldap.user.default.object.classes=top,Person,inetOrgPerson,organizationalPerson
ldap.user.mappings=screenName=SAMAccountName\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\ngroup=memberOf
ldap.group.mappings=groupName=cn\ndescription=description\nuser=member
ldap.import.enabled=true
ldap.import.on.startup=true
ldap.import.interval=60
ldap.import.method=user
ldap.import.user.search.filter=(&(objectCategory=Person)(SAMAccountName=*))
ldap.import.group.search.filter=(objectCategory=Group)
ldap.export.enabled=false

ntlm.auth.enabled=true
ntlm.auth.domain.controller=13.20.17.14
ntlm.auth.domain=WIZZ
auto.login.hooks=com.liferay.portal.security.auth.CASAutoLogin,com.liferay.portal.security.auth.NtlmAutoLogin,
com.liferay.portal.security.auth.OpenIdAutoLogin,com.liferay.portal.security.auth.OpenSSOAutoLogin,
com.liferay.portal.security.auth.ParameterAutoLogin
######################

Note auto.login.hooks and ldap.user.mappings should be all one line.