AnsweredAssumed Answered

Error al intentar usar el passthru

Question asked by manu2097 on Jul 29, 2010
Latest reply on Sep 1, 2010 by manu2097
Hola, tengo un error con el passtrhu que me está matando  :twisted: .
Quiero activar el SSO así que en el

alfresco-global.properties :
authentication.chain=passthru1:passthru,ldap-ad-AIC:ldap-ad

passthru-authentication-context.properties:
passthru.authentication.useLocalServer=false
passthru.authentication.domain=DOMINIO
passthru.authentication.servers=DOMINIO\\75.0.0.1,75.0.0.1
passthru.authentication.guestAccess=false
passthru.authentication.defaultAdministratorUserNames=admin
#Timeout value when opening a session to an authentication server, in milliseconds
passthru.authentication.connectTimeout=50000
#Offline server check interval in seconds
passthru.authentication.offlineCheckInterval=300
passthru.authentication.protocolOrder=NetBIOS,TCPIP
passthru.authentication.authenticateCIFS=true
passthru.authentication.authenticateFTP=true

ntlm-filter.properties:
ntlm.authentication.sso.enabled=true
ntlm.authentication.mapUnknownUserToGuest=false

file-servers.properties:
filesystem.name=Alfresco
filesystem.acl.global.defaultAccessLevel=

cifs.enabled=true
cifs.serverName=${localname}A
cifs.domain=DOMINIO
cifs.broadcast=194.178.70.255
# An empty value indicates bind to all available network adapters
cifs.bindto=194.178.70.7
cifs.ipv6.enabled=false
cifs.hostannounce=true
# Enable the use of asynchronous sockets/NIO code
cifs.disableNIO=false
# Disable the use of JNI code. Only currently affects Windows
cifs.disableNativeCode=false
# Session timeout, in seconds. Defaults to 15 minutes, to match the default Windows client setting.
# If no I/O is received within that time the session is closed by the server
cifs.sessionTimeout=9000

# Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138

# Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=true
cifs.WINS.autoDetectEnabled=true
cifs.WINS.primary=1.2.3.4
cifs.WINS.secondary=5.6.7.8

cifs.urlfile.prefix=http://${localname}:8080/alfresco/


Arquitectura:
Alfresco 3.2r en CentOS
Ldap –> Active Directory

server.log:
ERROR [org.alfresco.fileserver] CIFS server configuration error, Error creating bean with name 'passthruServers' defined in file [/usr/alfresco/alfresco.war/WEB-INF/classes/alfresco/subsystems/Authentication/passthru/passthru-authentication-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 06290000 Error setting passthru domain, Failed to find domain controller or browse master for DOMAIN
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'passthruServers' defined in file [/usr/alfresco/alfresco.war/WEB-INF/classes/alfresco/subsystems/Authentication/passthru/passthru-authentication-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 06290000 Error setting passthru domain, Failed to find domain controller or browse master for DOMAIN
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06290000 Error setting passthru domain, Failed to find domain controller or browse master for DOMAIN
        at org.alfresco.filesys.auth.PassthruServerFactory.afterPropertiesSet(PassthruServerFactory.java:347)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)


En el log del firewall el servidor con alfresco no intenta usar el protocolo netbios ni nada solo hace las peticines ldap para la sincronizacion de usuarios. El erro que tengo creo que es configuracion no se.
Si quito del alfresco-global.properties el passthru1:passthu ya no tendría el error pero claro no tendria activado el servidor cif y no tendría sso.

Un saludo, a todos. :oops:

Outcomes