AnsweredAssumed Answered

Alfresco 1.4, JBOSS, JAAS and Cifs Help required

Question asked by mattc on Jan 22, 2007
Latest reply on Feb 9, 2007 by prototribe
Hi

We are running alfresco on jboss on solaris and are having problems getting the CIFS server to run when we enable JAAS to authenticate users to the web interface.

Our configurations are similar to the posting http://forums.alfresco.com/viewtopic.php?p=15413&sid=59b9f09eadae37dcc5418f8c38cec46e

but we have run into two problems. The first we have worked around in that we had to modify the /<jboss>/server/default/conf/login-config.xml to enable  JAAS.

So now we can login to web pages via JAAS and webdav but when alfresco starts we get the following error

17:23:38,905 ERROR [protocol] CIFS server configuration error, Wrong authentication setup for alfresco authenticator
org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfresco authenticator
        at org.alfresco.filesys.server.config.ServerConfiguration.processSecurityConfig(ServerConfiguration.java:1777)
        at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerConfiguration.java:514)
        at org.alfresco.filesys.server.config.ServerConfiguration.onBootstrap(ServerConfiguration.java:3351)


It seems as if the file-servers-custom.xml file is not having any effect on the cifs server. Is this our problem in that we should be editing the default configuration files in the application WAR or is it another case of jboss setup being different.

The other issue I have is how to integrate cifs with AD when the server is a unix box. How do I add the box to the domain (samba?) so that I can run the setspn -a alfresco-cifs/<server-name> <server-name> command from http://wiki.alfresco.com/wiki/Configuring_the_CIFS_server_for_Kerberos/Active_Directory_integration


Cheers

Matt

Outcomes