Alfresco 3.4a con directorio activo

cancel
Showing results for 
Search instead for 
Did you mean: 
jsanchezue
Member II

Alfresco 3.4a con directorio activo

Hola a todos

Soy nuevo en este mundo de Alfresco, un amigo me recomendó implementarlo en mi empresa y estoy en las pruebas

lo he instalado y he subido el servicio hasta ahí vamos bien pero cuando estoy intentando conectarlo contra el directorio activo no logro conseguirlo, alguien podría indicarme los pasos para lograr esto

Estoy utilizando la versión 3.4a de alfresco en un ubuntu 10.04 x64 y mi directorio activo esta en un windows server 2008 r2

Cualquier ayuda que me deis sera bien recibida

Saludos.
9 Replies
mikel_asla1
Active Member

Re: Alfresco 3.4a con directorio activo

Buenas Jes.ue

Tienes que montar al menos dos subsistemas, uno del tipo passthru y otro ldap-ad. El primero de ellos, configura la conexión con tu AD, delegando en él la autenticación de todos los componentes. Si además quieres tener los usuarios de tu AD sincronizados con sus atributos, has de levantar otro que tan solo lo usaremos para la importación de registros desde el AD hacia Alfresco. (ldap-ad)

En alfresco-global.properties deberás de configurar el chain de autenticación, que puede quedar así

authentication.chain=passthru1Smiley Tongueassthru,ldap-ad1:ldap-ad

Para empezar puedes mirar en <tomcat-home>/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication, para ver que posibilidades nos da Alfresco, después copiamos los que vayamos a usar dentro de <tomcat-home>/shared/classes/alfresco/extension/subsytems/Authentication, dejando solo los properties para sobrescribir la configuración con la que se levantan por defecto. Sin embargo, antes de nada lee esta documentación de Alfresco. Recuerda que si no forman parte del chain no se levantaran!

http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems

Y conseguir un manual de instalación/administración para las versiones community

http://www.alfresco.com/community/resources/documentation/

Saludos!
jsanchezue
Member II

Re: Alfresco 3.4a con directorio activo

Hola mike.asla gracias por tu respuesta, me ha servido para realizar el logueo, pero ahora estoy teniendo un problema y es uqe cuando realizo el logueo y le doy click en cualquier parte de alfresco el no hace nada, es decir siempre me muestra la ventana principal y no entra a company home ni a ningun otro lado….

podrian darme un apista de que sera

de antemano gracias
cristinamr
Advanced

Re: Alfresco 3.4a con directorio activo

¿Podrías pegarnos aquí el alfresco.log? Ese archivo es un registro de alfresco, si está ocurriendo algo ahí te lo mostrará.
Abre el archivo y busca la palabra ERROR y lo que te salga, peganoslo aquí para ver qué ocurre.

Un saludo.
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
jsanchezue
Member II

Re: Alfresco 3.4a con directorio activo

Hola, Gracias por responder, mira este es mi log

INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
22/10/2010 02:40:28 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2334 ms
22/10/2010 02:40:28 AM org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
22/10/2010 02:40:28 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
22/10/2010 02:40:28 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración alfresco.xml
22/10/2010 02:40:37 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: El escuchador "org.apache.myfaces.webapp.StartupServletContextListener" ya está configurado para este contexto. La definición duplicada ha sido ignorada.
02:40:57,906  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
02:40:57,935  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
02:40:57,946  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org_alfresco_module_wcmquickstart/alfresco-global.properties]
02:40:57,953  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
02:40:57,969  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org_alfresco_module_dod5015/alfresco-global.properties]
02:40:57,980  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
02:40:57,991  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/opt/alfresco/tomcat/shared/classes/alfresco-global.properties]
02:40:58,162  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:41:43,495  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'serviceBeans' being accessed! Ambiguous write methods found next to actually used [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.util.List)]: [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.lang.Object[])]
02:41:46,467  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
02:41:46,474  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
02:42:00,937  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
02:42:02,112  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
02:42:02,207  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
02:42:02,245  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:02,479  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
02:42:07,581  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
02:42:07,634  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:08,217  ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 09220000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/opt/alfresco/common/bin/convert, /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_3172053897904042620.gif[0], /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_7698352668872630145.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        .convert.bin: no decode delegate for this image format `/opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_3172053897904042620.gif' @ constitute.c/ReadImage/526.
.convert.bin: missing an image filename `/opt/alfresco/t
02:42:08,379  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
02:42:08,380  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
02:42:08,429  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:10,530  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
02:42:15,191  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
02:42:15,673  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
02:42:18,609  INFO  [admin.patch.PatchExecuter] No patches were required.
02:42:18,707 User:System INFO  [repo.module.ModuleServiceImpl] Found 4 module(s).
02:42:18,939 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_wcmquickstart' version 1.0.
02:42:20,648 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_dod5015' version 1.0.
02:42:20,902 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
02:42:21,121 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.quickr' version 1.0.
02:42:21,224  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
02:42:21,316  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:22,269  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
02:42:22,288  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:22,338  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
02:42:22,338  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ntlm]
02:42:22,358  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:22,385  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ntlm] complete
02:42:22,386  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad]
02:42:22,401  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:22,430  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad] complete
02:42:22,430  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, passthru1]
02:42:22,482  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:23,739  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, passthru1] complete
02:42:24,155  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
02:42:24,155  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
02:42:24,223  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:24,655  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
02:42:24,656  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
02:42:24,738  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:25,024  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
02:42:25,025  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
02:42:25,047  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:25,153  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
02:42:25,154  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
02:42:25,199  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
02:42:25,199  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
02:42:25,304  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:26,292  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
02:42:26,293  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
02:42:26,421  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
02:42:26,421  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
02:42:26,422  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
02:42:26,505  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:27,139  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
02:42:27,351  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b07; maximum heap size 455,125MB
02:42:27,352  WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455,125MB is less than recommended 512MB
02:42:27,353  INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.4.0 (a 3169) schema 4111 - Originally installed version 3.4.0 (a 3169) schema 4111
02:42:27,356  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
02:42:27,438  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:42:27,505  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
02:43:00,829  INFO  [module.vti.VtiServer] Vti server started successfully on port: 7070
02:43:45,114 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 443 Web Scripts (+0 failed), 694 URLs
02:43:45,115 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
02:43:45,115 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
02:43:45,127 User:System INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 29215.455ms)
02:43:45,129  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:43:45,134  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:43:45,283  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default]
02:43:45,387  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:43:45,755  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default] complete
22/10/2010 02:43:47 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración host-manager.xml
22/10/2010 02:43:47 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración manager.xml
22/10/2010 02:43:48 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo share.war de la aplicación web
02:44:06,737  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 301 Web Scripts (+0 failed), 309 URLs
02:44:06,741  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
02:44:06,741  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
02:44:07,861  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 7785.1733ms)
02:44:08,233  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:44:08,479  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:44:08,719  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:44:08,732  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:44:08,964  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:44:08,998  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
22/10/2010 02:44:12 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo wcmqs.war de la aplicación web
WARN : org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) throws java.net.URISyntaxException]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]
WARN : net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/opt/alfresco/tomcat/webapps/wcmqs/WEB-INF/lib/ehcache-core-2.0.0.jar!/ehcache-failsafe.xml
22/10/2010 02:44:23 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo awe.war de la aplicación web
22/10/2010 02:44:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio examples de la aplicación web
22/10/2010 02:44:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio docs de la aplicación web
22/10/2010 02:44:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio ROOT de la aplicación web
22/10/2010 02:44:34 AM org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
22/10/2010 02:44:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
22/10/2010 02:44:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/181  config=null
22/10/2010 02:44:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 245799 ms
Exception in thread "Thread-71" org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: No Autorizado
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:411)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:483)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:635)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:68)
   at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
   at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:108)
   at org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl.getRepository(GuestSessionFactoryImpl.java:105)
   at org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl.run(GuestSessionFactoryImpl.java:115)
   at java.lang.Thread.run(Thread.java:619)

Alfresco inicia y loguea contra el dominio normalmente, pero no me deja ingresar a ninguna parte solo me muestra el pantallazo inicial y ya no me deja hacer nada mas de ahi

De antemano Gracias
mikel_asla1
Active Member

Re: Alfresco 3.4a con directorio activo

Buenas,
Sería bueno que nos detallaras los pasos que seguiste para instalar los módulos
02:42:18,707 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 4 module(s).
02:42:18,939 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_wcmquickstart' version 1.0.
02:42:20,648 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_dod5015' version 1.0.
02:42:20,902 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
02:42:21,121 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.quickr' version 1.0.

Ya que parece que puede tener problemas con uno de ellos, al respecto Después de instalar alguno de los módulos, ¿Es posible que hayas olvidado borrar el directorio work/Calaina/localhost/alfreco?

Saludos
jsanchezue
Member II

Re: Alfresco 3.4a con directorio activo

Buenas tardes

He borrado todo el directorio y lo he configurado desde el principio y ahora si me funcionan todas las opciones, el único problemita es que no me esta importando el directorio activo para la creación de los espacios de los usuarios, cuando subo el serviocio no em sale nada de sincronizacion.

alguna sugerencia de en donde podria revisar

De antemano gracias
mikel_asla1
Active Member

Re: Alfresco 3.4a con directorio activo

Buenas tardes
¿Podrías pegarnos el contenido del ldap-authentication.properties? En este fichero tienes todas las propiedades de sincronización para ese subsystem

Un saludo
jsanchezue
Member II

Re: Alfresco 3.4a con directorio activo

Hola

este es el archivo ldap-authentication.properties

# This flag enables use of this LDAP subsystem for authentication. It may be
# that this subsytem should only be used for synchronization, in which case
# this flag should be set to false.
ldap.authentication.active=true

#
# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions
#
ldap.authentication.allowGuestLogin=true

# How to map the user id entered by the user to taht passed through to LDAP
# In Active Directory, this can either be the user principal name (UPN) or DN.
# UPNs are in the form <sAMAccountName>@domain and are held in the userPrincipalName attribute of a user
ldap.authentication.userNameFormat=%s@domain

# The LDAP context factory to use
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory

# The URL to connect to the LDAP server
ldap.authentication.java.naming.provider.url=ldap://svrad.XXX.com.co:389

# The authentication mechanism to use for password validation
ldap.authentication.java.naming.security.authentication=simple

# Escape commas entered by the user at bind time
# Useful when using simple authentication and the CN is part of the DN and contains commas
ldap.authentication.escapeCommasInBind=false

# Escape commas entered by the user when setting the authenticated user
# Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is
# pulled in as part of an LDAP sync
# If this option is set to true it will break the default home folder provider as space names can not contain \
ldap.authentication.escapeCommasInUid=false

# Comma separated list of user names who should be considered administrators by default
ldap.authentication.defaultAdministratorUserNames=CN=Administrador,CN=Users,DC=XXXX,DC=com,DC=co

# This flag enables use of this LDAP subsystem for user and group
# synchronization. It may be that this subsytem should only be used for
# authentication, in which case this flag should be set to false.
ldap.synchronization.active=true

# The authentication mechanism to use for synchronization
ldap.synchronization.java.naming.security.authentication=simple

# The default principal to bind with (only used for LDAP sync). This should be a UPN or DN
ldap.synchronization.java.naming.security.principal=CN=Administrador,CN=Users,DC=XXX,DC=com,DC=co

# The password for the default principal (only used for LDAP sync)
ldap.synchronization.java.naming.security.credentials=******

# If positive, this property indicates that RFC 2696 paged results should be
# used to split query results into batches of the specified size. This
# overcomes any size limits imposed by the LDAP server.
ldap.synchronization.queryBatchSize=1000

# If positive, this property indicates that range retrieval should be used to fetch
# multi-valued attributes (such as member) in batches of the specified size.
# Overcomes any size limits imposed by Active Directory.       
ldap.synchronization.attributeBatchSize=1000

# The query to select all objects that represent the groups to import.
ldap.synchronization.groupQuery=(objectclass\=group)

# The query to select objects that represent the groups to import that have changed since a certain time.
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(modifyTimestamp<\={0})))

# The query to select all objects that represent the users to import.
ldap.synchronization.personQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))

# The query to select objects that represent the users to import that have changed since a certain time.
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(modifyTimestamp<\={0})))

# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.
ldap.synchronization.groupSearchBase=OU=UE,DC=XXX,DC=com,DC=co

# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.
ldap.synchronization.userSearchBase=OU=UE,DC=XXX,DC=com,DC=co

# The name of the operational attribute recording the last update time for a group or user.
ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp

# The timestamp format. Unfortunately, this varies between directory servers.
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'

# The attribute name on people objects found in LDAP to use as the uid in Alfresco
ldap.synchronization.userIdAttributeName=sAMAccountName

# The attribute on person objects in LDAP to map to the first name property in Alfresco
ldap.synchronization.userFirstNameAttributeName=givenName

# The attribute on person objects in LDAP to map to the last name property in Alfresco
ldap.synchronization.userLastNameAttributeName=sn

# The attribute on person objects in LDAP to map to the email property in Alfresco
ldap.synchronization.userEmailAttributeName=mail

# The attribute on person objects in LDAP to map to the organizational id  property in Alfresco
ldap.synchronization.userOrganizationalIdAttributeName=company

# The default home folder provider to use for people created via LDAP import
ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider

# The attribute on LDAP group objects to map to the authority name property in Alfresco
ldap.synchronization.groupIdAttributeName=cn

# The attribute on LDAP group objects to map to the authority display name property in Alfresco
ldap.synchronization.groupDisplayNameAttributeName=displayName

# The group type in LDAP
ldap.synchronization.groupType=group

# The person type in LDAP
ldap.synchronization.personType=user

# The attribute in LDAP on group objects that defines the DN for its members
ldap.synchronization.groupMemberAttributeName=member

# If true progress estimation is enabled. When enabled, the user query has to be run twice in order to count entries.
ldap.synchronization.enableProgressEstimation=true

De antemano Gracias
mikel_asla1
Active Member

Re: Alfresco 3.4a con directorio activo

Se llama tu dominio "domain"?
Por lo demás,
esta propiedad
ldap.authentication.defaultAdministratorUserNames=CN=Administrador,CN=Users,DC=XXXX,DC=com,DC=co
dejala así
ldap.authentication.defaultAdministratorUserNames=Administrador

Comprueba las credenciales del principal, a través de un LDAP Browser, para asegurarte de que tiene los permisos adecuados para leer la "Rama"

Y básicamente, comprueba cada una de las propiedades, puedes poner alguna clase a debug para ver más información del error.
log4j.logger.org.alfresco.repo.security.sync=debug

En un nivel más simple de las cosas. Comprueba que la linea que haga referencia al subsystema aparezca en el arranque, sino aparece, comprueba al chain !!
bueno ya nos vas contando!