11-18-2008 07:02 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
<property name="allowDeleteUser">
<value>false</value>
</property>
</bean>
<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=MI_DOMINIO,DC=com</value>
</property>
</bean>
<bean id="ldapInitialDirContextFactory" class="org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl">
<property name="initialDirContextEnvironment">
<map>
<entry key="java.naming.factory.initial">
<value>com.sun.jndi.ldap.LdapCtxFactory</value>
</entry>
<entry key="java.naming.provider.url">
<value>ldap://MI_IP:389</value>
</entry>
<entry key="java.naming.security.authentication">
<value>simple</value>
</entry>
</map>
</property>
</bean>
</beans> <property name="userNameFormat">
<value>CN=%s,CN=Users,DC=MI_DOMINIO,DC=com</value>
</property>(&(objectclass=*)(sAMAccountName=MI_LOGIN))11-18-2008 11:16 AM
<property name="userNameFormat">
<value>CN=%s,CN=Users,DC=MI_DOMINIO,DC=com</value>
</property>por
<property name="userNameFormat">
<value>samaccountname=%s</value>
</property>
Puedes verlo en http://wiki.alfresco.com/wiki/Enterprise_Security_and_Authentication_Configuration#Active_Directory_...11-18-2008 02:52 PM
<property name="userNameFormat">
<value>samaccountname=%s</value>
</property> <property name="userNameFormat">
<value>sAMAccountName=%s</value>
</property> <property name="userNameFormat">
<value>sAMAccountName=%s,CN=Users,DC=MI_DOMINIO,DC=com</value>
</property>11-19-2008 03:44 AM
11-19-2008 07:28 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
<property name="allowDeleteUser">
<value>false</value>
</property>
</bean>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl">
<property name="LDAPInitialDirContextFactory">
<ref bean="ldapInitialDirContextFactory"/>
</property>
<property name="userNameFormat">
<value>%s@MI_DOMINIO</value>
</property>
</bean>
<bean id="ldapInitialDirContextFactory" class="org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl">
<property name="initialDirContextEnvironment">
<map>
<entry key="java.naming.factory.initial">
<value>com.sun.jndi.ldap.LdapCtxFactory</value>
</entry>
<entry key="java.naming.provider.url">
<value>ldap://IP_MI_SERVIDOR_ACTIVE_DIRECTORY:389</value>
</entry>
<entry key="java.naming.security.authentication">
<value>simple</value>
</entry>
</map>
</property>
</bean>
</beans>11-19-2008 08:00 AM
12-04-2008 10:05 AM
12-04-2008 03:33 PM
12-17-2008 07:11 AM
12-17-2008 07:46 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.