留言板

How do i set up liferay 6.0 to use Exchange Login accounts

kenneth rock,修改在12 年前。

How do i set up liferay 6.0 to use Exchange Login accounts

New Member 发布: 1 加入日期: 12-4-11 最近的帖子
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
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: How do i set up liferay 6.0 to use Exchange Login accounts

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在12 年前。

RE: How do i set up liferay 6.0 to use Exchange Login accounts

Junior Member 帖子: 99 加入日期: 10-8-12 最近的帖子
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.