cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu and Alfresco CIFS Problem

pverma
Champ in-the-making
Champ in-the-making
Hi,

I'm facing a problem when trying to access the \\host-name_a\ folder from a windows box, when the Alfresco server is running on a Ubuntu Dapper machine. The problem I get is that a windows dialog pops up with the username set to localhost\guest. the username field is grayed out and cannot be changed. On entering any password and pressing 'OK', the dialog pops up once again..and so on.

Here is how I set up Alfresco on Ubuntu Dapper after disabling the SAMBA server on the machine:
a)Install Alfresco
b)Run Alfresco once as root
c)Change file-servers.xml and add 'domain="WORKGROUP"' in the host name element
d)restart Alfresco as root.

Any pointers are appreciated!
-pverma
8 REPLIES 8

pverma
Champ in-the-making
Champ in-the-making
Bumping it up, just in case someone knows the answer.

heartcore
Champ in-the-making
Champ in-the-making
Hey,

I looked at the same problem and found out that you have to change a security policy in XP. Control panel-> Administrative tools ->  Local security policy. From there go to security opions and select "Network access:sharing and security model for local accounts" . Its probably on guest, change to classic and you should get the user/password dialog next time.

However, this didnt solve my problem, I can fill in whatever alfresco user/password I know off, everyone will come back with an error 1326….

Peace
Henk

pverma
Champ in-the-making
Champ in-the-making
Hello Heartcore, thanks for the response.

Folks, has anyone ever been able to get CIFS working perfectly on any linux? I'm downloading centos 5 to see if that works better than the ubuntu. But it'll be great if someone has already tried and can let us know whether it will work.

andries
Champ in-the-making
Champ in-the-making
CIFS on linux is working fine (great!) with openSUSE 10.x, both 10.1 and 10.2 are working here. However, there is a problem with some special characters in filenames. This is not only a CIFS problem, since these filenames are not allowed using the webclient aswell. Filenames may not have these (see bug report AR-1321):
+ - , & % [ ]

Our Alfresco 2.0 Community runs on linux-servers. Our users are on Windows. Windows users tend to use these special characters in filenames, so sometimes this really is an anoying Alfresco-bug.

kevinr
Star Contributor
Star Contributor
You can edit the model constraint in contentModel.xml if you wish to allow different characters including the '&' ampersand. The problem with '[' and ']' being disallowed as well was a bug in 2.0 (there was a further check being performed in the CIFS code itself) which has been fixed in HEAD, 2.1 (nightly build), and 2.0.1Enterprise.

Thanks,

Kevin

pverma
Champ in-the-making
Champ in-the-making
Just to let people know that I moved to Centos and reinstalled Alfresco. The original CIFS problem I reported is gone!

pverma
Champ in-the-making
Champ in-the-making
Hi Kevin,
Why should the '&' and ',' characters be disallowed from a filename. Is alfresco following some standard that required this?
Thank you,
pverma

kevinr
Star Contributor
Star Contributor
Hi Kevin,
Why should the '&' and ',' characters be disallowed from a filename. Is alfresco following some standard that required this?
Thank you,
pverma

It was the "lowest common denominator" approach to allow filenames that could be supported by all Alfresco interfaces, including CIFS, WebDav, FTP etc.