cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS Configuration

fritsch
Champ in-the-making
Champ in-the-making
Hi,

I've got a number of issues with the CIFS server (Alfresco Community, 4.2.c) and I'd be really grateful if someone could enlighten me.

1. Where and how do you set the name of the CIFS server. No matter which file I try it is stuck at ${localname}A

2. I can't access \\<server>\ from Windows (it works from Linux but takes , just \\<server>\alfresco, this would make the system impossible to browse if it wasn't for the next issue anyway:

3. The server doesn't announce itself. I have to access it directly.

All of those seem like simple configuration issues but the configuration options from http://wiki.alfresco.com/wiki/File_Server_Subsystem_4.0 put into alfresco-global.properties just don't work.


Thanks in advance
Stefan
5 REPLIES 5

bisana
Champ on-the-rise
Champ on-the-rise
Hi
I am assuming that u are using Alfresco on LINUX
possibility is that you have to redirect the cifs port using IPTABLES
Did u do it

fritsch
Champ in-the-making
Champ in-the-making
Hi,

no I didn't. Currently the CIFS server runs on the default ports and I'm happy that it works as half-baked as it does.

What do I have to change and why does the server itself work on the default ports but doesn't accept those configuration changes?

Thx
Stefan

bisana
Champ on-the-rise
Champ on-the-rise
Hi
If it is running on LINUX, you need to redirect the port,
Because The SMB/CIFS server uses ports 137, 138 and 139. All of these ports are in the privileged socket range, so if you use these directly you will be required to run Tomcat or JBoss from a privileged account.

You can run SMB/CIFS on non privileged ports on LINUX provided you redirect privileged ports to the unprivileged ones.

As said in my earlier post, I am assuming that you are using DM on Linux instance

fritsch
Champ in-the-making
Champ in-the-making
Hi,

yeah, I'm running it on Linux. And my Linux-knowledge is a bit rusty ('94-'06 but not much since then =), so I'm sorry if I say something stupid.

As far as I can tell the default installer does run Alfresco as root.

At least if I use netstat to find what responds to requests it's a java run by root:

this is the connection:

tcp6       0      0 192.168.3.24:445        192.168.3.21:50953      ESTABLISHED 16687/java

and pid 16687 belongs to root.

EDIT: My point being, of course, that root should have no issues binding to the required ports. 😃

Ciao
Stefan

agb80
Champ in-the-making
Champ in-the-making
Exactly same problem here.

Please vote on this jira report so we can get devs to look at this: https://issues.alfresco.com/jira/browse/ALF-19164