Fórumok

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

kenneth rock, módosítva 12 év-val korábban

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

New Member Bejegyzés: 1 Csatlakozás dátuma: 2012.04.11. Legújabb bejegyzések
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, módosítva 12 év-val korábban

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

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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, módosítva 12 év-val korábban

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

Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2010.08.12. Legújabb bejegyzések
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.