As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<property name="userIdAttributeName"> <value>samaccountname</value> </property> <property name="attributeMapping"> <map> <entry key="cm:userName"> <!– Must match the same attribute as userIdAttributeName –> <value>samaccountname</value> </entry> <entry key="cm:firstName"> <!– OpenLDAP: "givenName" –> <!– Active Directory: "givenName" –> <value>givenName</value> </entry> <entry key="cm:lastName"> <!– OpenLDAP: "sn" –> <!– Active Directory: "sn" –> <value>sn</value> </entry> <entry key="cm:email"> <!– OpenLDAP: "mail" –> <!– Active Directory: "???" –> <value>mail</value> </entry> <!– Always use the default –> <entry key="cm:homeFolderProvider"> <null/> </entry> </map> </property>
<config evaluator="string-compare" condition="Filesystem Security" replace="true"> <authenticator type="passthru"> <server>windows_domain_controler</server> <domain>CORTINA</domain> </authenticator> </config>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl"> <property name="LDAPInitialDirContextFactory"> <ref bean="ldapInitialDirContextFactory"/> </property> <property name="userNameFormat"> <value>cn=%s,cn=users,dc=cortina,dc=local</value> </property> </bean>