cancel
Showing results for 
Search instead for 
Did you mean: 

File Server authentication with domain credential

timmer
Champ on-the-rise
Champ on-the-rise
Hi, all!
I'm not very good in mastering Alfresco so i have a problem:
I had working Alfresco (on Ubuntu 12.04) integrated with Active Directory (Windows Server 2008 R2). Also users had mapped drive "Alfresco". I installed new domain controller (Windows Server 2012 R2) and retired the old one. Since I've done it mapped drive is not mapping anymore. I replaced 'ldap.authentication.java.naming.provider.url' option in alfresco-global.properties with new server's ip-address.
I can access Alfresco via web with domain credential, I can access file share via FTP with domain credential, but when i try to map it as a network share I get login/password request and it doesn't accept my domain credential.
Can't find any troubleshooting article neither in Wiki nor on forum nor in Google Smiley Happy
Please, help!

P.S. Sorry for my english, it's not my native language.
3 REPLIES 3

eswbitto
Confirmed Champ
Confirmed Champ
This potentially could be the problem. I'm not for sure.

https://msdn.microsoft.com/en-us/library/cc731178.aspx

timmer
Champ on-the-rise
Champ on-the-rise
There was no Identity Manager for NIS installed in old server.
Found logs in Alfresco:
12:23:31,058 ERROR [org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator] Error during kerberos authentication
java.lang.NullPointerException
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.doKerberosLogon(EnterpriseCifsAuthenticator.java:1536)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.doSpnegoSessionSetup(EnterpriseCifsAuthenticator.java:1420)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.access$200(EnterpriseCifsAuthenticator.java:87)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator$2.execute(EnterpriseCifsAuthenticator.java:897)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator$2.execute(EnterpriseCifsAuthenticator.java:881)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
   at org.alfresco.filesys.auth.cifs.CifsAuthenticatorBase.doInTransaction(CifsAuthenticatorBase.java:649)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.processAlfrescoSessionSetup(EnterpriseCifsAuthenticator.java:880)
   at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.processSessionSetup(EnterpriseCifsAuthenticator.java:682)
   at sun.reflect.GeneratedMethodAccessor460.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:112)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy253.processSessionSetup(Unknown Source)
   at org.alfresco.jlan.smb.server.NTProtocolHandler.procSessionSetup(NTProtocolHandler.java:417)
   at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:223)
   at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSession.java:1480)
   at org.alfresco.jlan.smb.server.nio.NIOCIFSThreadRequest.runRequest(NIOCIFSThreadRequest.java:150)
   at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(ThreadRequestPool.java:153)
   at java.lang.Thread.run(Thread.java:724)

So as i understand problems in kerberos, but can someone tell me how to resolve it? It worked fine with old server…
May be I must update Alfresco to the latest version to make it work with WinServer2012R2 or smth like this?
Still need help.

timmer
Champ on-the-rise
Champ on-the-rise
Replaced an old DC name in krbc5.conf with new one. All work properly.
Thanx for help Smiley Happy