Foros de discusión

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

kenneth rock, modificado hace 11 años.

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

New Member Mensaje: 1 Fecha de incorporación: 11/04/12 Mensajes recientes
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, modificado hace 11 años.

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

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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, modificado hace 11 años.

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

Junior Member Mensajes: 99 Fecha de incorporación: 12/08/10 Mensajes recientes
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.