cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco enterprise 3.1.1 Exception Passthru

jserrano
Champ in-the-making
Champ in-the-making
Hi,

I have configured Alfresco Enterprise 3.1.1 with passthru autentication but I get the exception when users access to CIFS way \\serverA

11:01:44,023  ERROR [smb.protocol.auth] Passthru error getting challenge
java.lang.NullPointerException
        at org.alfresco.jlan.util.IPAddress.asInteger(IPAddress.java:137)
        at org.alfresco.jlan.server.auth.CifsAuthenticator.mapClientAddressToDom
ain(CifsAuthenticator.java:1020)
        at org.alfresco.filesys.auth.cifs.PassthruCifsAuthenticator.getAuthConte
xt(PassthruCifsAuthenticator.java:425)
        at org.alfresco.jlan.server.auth.CifsAuthenticator.generateNegotiateResp
onse(CifsAuthenticator.java:424)
        at org.alfresco.filesys.auth.cifs.PassthruCifsAuthenticator.generateNego
tiateResponse(PassthruCifsAuthenticator.java:484)
        at org.alfresco.jlan.smb.server.SMBSrvSession.procSMBNegotiate(SMBSrvSes
sion.java:1177)
        at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSessio
n.java:1431)
        at org.alfresco.jlan.smb.server.CIFSThreadRequest.runRequest(CIFSThreadR
equest.java:57)
        at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(Th
readRequestPool.java:141)
        at java.lang.Thread.run(Thread.java:595)

There is a bug?

I have proved the community version 3.2, alfresco labs 3 and enterprise 3.1.1 and obtain the same issue. I think that not have a stable solution.

Thanks in advanced.
4 REPLIES 4

paulweb
Champ in-the-making
Champ in-the-making
I have proved the community version 3.2, alfresco labs 3 and enterprise 3.1.1 and obtain the same issue. I think that not have a stable solution.
It is necessary means to look a code and to search for the reason

i have some problems with cifs and kerberos, but i fix it and all work normall. tomorrow i will config my alfresco  with passthru autentication  and  check up working capacity cifs.

jserrano
Champ in-the-making
Champ in-the-making
Thanks for the reply.
   
I hope to news from you

paulweb
Champ in-the-making
Champ in-the-making
i test cifs with passthru autentication and all work normal without errors and warns.

my test configuration:
OS: winXP sp2
Alfresco: alfresco 3.2 community latest version
Database: Oracle10g

alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru
alfrescoNtlm\alfresco-authentication.properties

alfresco.authentication.allowGuestLogin=false
alfresco.authentication.authenticateCIFS=false
alfrescoNtlm\ntlm-filter.properties

ntlm.authentication.sso.enabled=false
ntlm.authentication.mapUnknownUserToGuest=false
passthru\passthru-authentication-context.properties

passthru.authentication.useLocalServer=false
passthru.authentication.domain=
passthru.authentication.servers=MY-DOMAIN\\10.1.1.33,MY-DOMAIN\\10.1.0.33
passthru.authentication.guestAccess=false
passthru.authentication.defaultAdministratorUserNames=
#Timeout value when opening a session to an authentication server, in milliseconds
passthru.authentication.connectTimeout=5000
#Offline server check interval in seconds
passthru.authentication.offlineCheckInterval=300
passthru.authentication.protocolOrder=TCPIP
passthru.authentication.authenticateCIFS=true
passthru.authentication.authenticateFTP=true
passthru\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=paulweb
#${localname}A
cifs.domain=
cifs.broadcast=255.255.255.255
# An empty value indicates bind to all available network adapters
cifs.bindto=
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=900

# 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

ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

nfs.enabled=false

cifs.urlfile.prefix=http://paulweb:8080/alfresco/

passthru autentication not work with NTLMv2

jserrano
Champ in-the-making
Champ in-the-making
The same configuration than PaulWeb.
My test configuration:
OS: winXP sp2
Alfresco: alfresco 3.2 community latest version
Database: MySQL

Passthru not work when access to CIF server, \\serverA

Output debug:

08:59:16,167  DEBUG [smb.protocol.auth] Using Write transaction
08:59:16,167  WARN  [smb.protocol.auth] User does not exist, icasanovas
08:59:17,166  DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0,
PID=65279
08:59:17,166  DEBUG [smb.protocol.auth] Using Write transaction
08:59:17,166  DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0,
PID=65279
08:59:17,166  DEBUG [smb.protocol.auth] Using Write transaction
08:59:17,166  WARN  [smb.protocol.auth] User does not exist, icasanovas
08:59:17,822  DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0,
PID=65279