cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS server configuration error, Wrong authentication setup

jonas
Champ in-the-making
Champ in-the-making
Hi,

I have integrated Alfresco v1.4 and v2.0 with LDAP. It worked well almost, except following error. 

19031 [main] ERROR org.alfresco.smb.protocol  - CIFS server configuration error, Wrong authentication setup for alfresco authenticator
org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfresco authenticator.

Is there any comments?

Thanks

Jonas Yuan

CIGNEX
http://www.cignex.com
Alfresco SI Partner
2 REPLIES 2

jonas
Champ in-the-making
Champ in-the-making
As I known, there are two options.

1) change ./alfresco/extension/file-servers-custom.xml to have the following:

<config evaluator="string-compare" condition="Filesystem Security" replace="true">

  <authenticator type="passthru">

   <Server>your.ldap.server</Server>

  </authenticator>

2) when authenticating with LDAP, it would be better to disable CIFS and FTP services. After that, error message should be disappeared. In general, there is only one step to disable them. Comment CIFS server and FTP server in alfresco/Bootstrap-context.xml as follows.
<!– CIFS Server –>

<!–  bean id="fileServerConfiguration" class="org.alfresco.filesys.server.config.ServerConfiguration" parent="fileServerConfigurationBase">
       <property name="configService">
           <ref bean="fileServersConfigService"/>
       </property>
    </bean –>

    <!–  bean id="cifsServer" class="org.alfresco.filesys.CIFSServer" destroy-method="stopServer">
        <constructor-arg>
           <ref local="fileServerConfiguration"/>
        </constructor-arg>
    </bean –>
  
<!– FTP Server –>
   
    <!– bean id="ftpServer" class="org.alfresco.filesys.FTPServer" destroy-method="stopServer">
        <constructor-arg>
           <ref local="fileServerConfiguration"/>
        </constructor-arg>
    </bean –>

thunder06500
Champ in-the-making
Champ in-the-making
As I known, there are two options.

1) change./alfresco/extension/file-servers-custom.xml to have the following:

………………………
2) when authenticating with LDAP, it would be better to disable CIFS and FTP services. After that, error message should be disappeared. In general, there is only one step to disable them. Comment CIFS server and FTP server in alfresco/Bootstrap-context.xml as follows.
……………………..


for the 1st solution ( don't work with a samba 3.0 server )
for the 2nd solution i need to have web,webdav,ftp and all the filesystems  on alfresco  :?

so what to do ?

vincent

ps: i try all the alfresco version ( entreprise and GPL )