cancel
Showing results for 
Search instead for 
Did you mean: 

How To Change CIFS Name

raysefo
Champ in-the-making
Champ in-the-making
Hi,

I m new to Alfresco and i wonder how can i change CIFS name? (We have installed Alfresco 3.2r)
4 REPLIES 4

fpp
Champ in-the-making
Champ in-the-making
Have a look into the following 2 file:
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers-context.xml
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-servers.xml

In file-servers.xml:
search for "<property name="serverComment and edit the value

In file-servers-context.xml
search for "<host name=" and edit the "comment" value

Update:
Sorry forgot the file-servers.properties file in the same directory
If you change the filesystem.name property from "Alfresco" to "yourName" access / mapping will after restart of the server be \\servernameA\yourName\

For further customization / configuration see http://wiki.alfresco.com/wiki/File_Server_Subsystem

fpp

dward
Champ on-the-rise
Champ on-the-rise
The above would not work on 3.2.

Just use the following properties in alfresco-global.properties to control the CIFS server name and/or the mount name.

cifs.serverName=YourNetBIOSName
filesystem.name=YourMountName

See http://wiki.alfresco.com/wiki/File_Server_Subsystem

fpp
Champ in-the-making
Champ in-the-making
Well - we're currently working on 3.2r2 and it does work.

We nevertheless had also put the 2 lines into the alfresco-global.properties file at the same time.

fpp

mrogers
Star Contributor
Star Contributor
Well the next time you upgrade any changes in WEB-INF will be overwritten.     Which is why the advice is never to touch the contents of WEB-INF.