cancel
Showing results for 
Search instead for 
Did you mean: 

problems disabling CIFS

stk137
Champ in-the-making
Champ in-the-making
I want to fully disable CIFS
I added to file-servers-custom.xml
   <config evaluator="string-compare" condition="CIFS Server" replace="true">
      <serverEnable enabled="false"/>
   </config>

However, the CIFS network folder icon/link and the "view in CIFS" link still appear

am I missing something?
12 REPLIES 12

mark_smithson
Champ in-the-making
Champ in-the-making
It looks like you have disabled the CIFS server. However the web client does not know that it is disabled.

There may be a way to disable or change the CIFS links in the web client? Unfortunately I do not know how.

stk137
Champ in-the-making
Champ in-the-making
It looks like you have disabled the CIFS server. However the web client does not know that it is disabled.

There may be a way to disable or change the CIFS links in the web client? Unfortunately I do not know how.

well it looks like there's already a render condition
but why is it evaluating to true if I have disabled CIFS?

stk137
Champ in-the-making
Champ in-the-making
And now I notice it looks Alfresco is still spewing errors regarding my CIFS configuration as if it was never disabled.

stk137
Champ in-the-making
Champ in-the-making
ok, so now I went into file-servers.xml (instead of equivalent extension)
and
reduced CIFS to just disabled

<config evaluator="string-compare" condition="CIFS Server">
     <serverEnable enabled="false"/>
</config

but it still seems not fully disabled
The web client still shows CIFS links and I still get startup errors as if it's not disabled as well.

15:07:18,674 ERROR [smb.protocol.auth] No valid CIFS authentication combination available
15:07:18,674 ERROR [smb.protocol.auth] Either enable Kerberos support or use an authentication component that supports MD4 hashed passwords
15:07:18,676 ERROR [alfresco.smb.protocol] CIFS server configuration error, Invalid CIFS authenticator configuration
org.alfresco.error.AlfrescoRuntimeException: Invalid CIFS authenticator configuration
   at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.initialize(EnterpriseCifsAuthenticator.java:348)
   at org.alfresco.filesys.server.config.ServerConfiguration.setAuthenticator(ServerConfiguration.java:3425)

   

stk137
Champ in-the-making
Champ in-the-making

robertoroberto
Champ in-the-making
Champ in-the-making
in the end…there isn't a way to solve this error?

mikef
Champ in-the-making
Champ in-the-making
You can change the default 'edit link' action type from CIFS by adding or updating your web-client-config-custom.xml with the following:

<config>
   <client>
     <edit-link-type>http</edit-link-type>
  </client>
</config>

In this case the default edit link type will be changed from CIFS to HTTP, note webdav could also be used.

robertoroberto
Champ in-the-making
Champ in-the-making
…but the deploy error rimains!  :roll:

stk137
Champ in-the-making
Champ in-the-making
You can change the default 'edit link' action type from CIFS by adding or updating your web-client-config-custom.xml with the following:

<config>
   <client>
     <edit-link-type>http</edit-link-type>
  </client>
</config>

In this case the default edit link type will be changed from CIFS to HTTP, note webdav could also be used.

FYI To avoid possible confusion, this is unrelated to the original issue I raised.  I wasn't using the CIFS edit link type.

I was refering to the "Open Network Folder Icon" next to the space name and the "View in CIFS" on the details page which appears even though CIFS is disabled.  Edit link types  have no effect on these, and they shouldn't, but disabling CIFS should.