cancel
Showing results for 
Search instead for 
Did you mean: 

cifs with kerberos is not working

mario_schwab
Champ in-the-making
Champ in-the-making
Hello!
iam new on alfresco!
i have installed version 4.2.2
Kerberosauth with userlogin to the portal is working.
When i use CIFS- auth on alfresco administratorconsole, i become the follow errormessage:


09:05:33 - javax.management.RuntimeMBeanException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cifsAuthenticator' defined in file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/kerberos/kerberos-authentication-context.xml]: Invocation of init method failed; nested exception is org.alfresco.jlan.server.config.InvalidConfigurationException: Failed to login CIFS server service


global.properties


### CIFS ###

cifs.enabled=true
cifs.serverName=${localname}A
cifs.domain=name-group
cifs.hostannounce=true


java.login.config:


AlfrescoCIFS {
   com.sun.security.auth.module.Krb5LoginModule required
   storeKey=true
   useKeyTab=true
   doNotPrompt=true
   keyTab="/etc/keys/cifssvdms01.keytab"
   principal="cifs/jde01-svdms01.name-group.local";
};


can someone help?
why is the login working, but not the cifs login?

Thanks very much!
Mario
3 REPLIES 3

mario_schwab
Champ in-the-making
Champ in-the-making
from my logfile:
08:14:59,653 ERROR [org.alfresco.fileserver] [localhost-startStop-1] No enabled CIFS authenticator found in authentication chain. CIFS Server disabled

mrogers
Star Contributor
Star Contributor
I suspect "cifs/jde01-svdms01.name-group.local" is not a service principal.   Looks like it may be a group instead.

mario_schwab
Champ in-the-making
Champ in-the-making
now it worked!
The fault was the username and password in the configuration file für jaas.
thank you!