CIFS. Unable to login; login popup reappears endlessly.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2011 12:06 PM
Hi, everyone.
Nothing really new, but Cifs doesn't work for me. The sad thing is that unlike most of people who are describing CIFS related problems here, I have the simpliest possible case: small office, no domain, no complex external authorization schemas and so on. So, basically CIFS should work straight from the box. But…
The minor issue is that alfresco repository netbios name broadcast seems to be broken, so it is not visible in my network places, etc. That's no big deal, I can live with that since <servername>A is still pingable and routable.
Now to the major issue. Everything seems to work fine. I type "\\<servername>A\" in windows explorer, login popup appears, I type un/pw and when it just pops up again shortly after. And just keeps on popping up endlessly. However If I "mistype" the username, access denied message appears just as expected.
The interesting part is that I can easily access the CIFS share from the same machine alfresco installed on. But not any other machine. Additionally attempting to map a network drive leads to "destination is unreachable" error instantly.
So i have:
Alfresco comunity 3.4d (installation wizard, "advanced" installation mode, pretty sure everything was typed in properly during the installation)
Clients and server are xp sp3 32bit.
Firewall /anti-malware software is either absent or disabled for testing purposes on all of them (absolutely none on server).
I tried:
a) straight from the box configuration
b) following this guide http://zensarteam.wordpress.com/2010/07/13/alfresco-enable-cifs-server-on-windows-xp/
c) following suggestions for this type of problem from documentation, wiki, forums, and so on. (spent the whole night)
The result was the same regardless of my actions.
Logs:
logging settings are "log4j.logger.org.alfresco.smb.protocol=debug" and "log4j.logger.org.alfresco.smb.protocol.auth=debug".
1. browsing cifs from the server. Eveything works, tonnes of theese are spammed to log.
2. Typing "\\<servername>A\" in windows explorer from client machine and trying to login. Logs are telling me nothing interpretable. During the time span shown here I pressed login button about 5 times, and then "mistyped" my username purposely, getting an error message. However, none of these actions are visible in logs.
3. Nothing happens at all then attempting to map a network drive.
That' s it I guess.
Any help would be REALLY appreciated!
Btw. Is it possible that problem is caused from elsewhere (network misconfiguration, for example)?
What should I check then?
Eveything else, however works perfectly. Considering both alfresco and other network infrastructure.
P.s. Greetings from Russia. Pardon me Englishes. That also means that windows messages, captions and titles has been translated by me from Russian as well, and they may sound really different in English version of windows. Sorry for possible confusion.
Nothing really new, but Cifs doesn't work for me. The sad thing is that unlike most of people who are describing CIFS related problems here, I have the simpliest possible case: small office, no domain, no complex external authorization schemas and so on. So, basically CIFS should work straight from the box. But…
The minor issue is that alfresco repository netbios name broadcast seems to be broken, so it is not visible in my network places, etc. That's no big deal, I can live with that since <servername>A is still pingable and routable.
Now to the major issue. Everything seems to work fine. I type "\\<servername>A\" in windows explorer, login popup appears, I type un/pw and when it just pops up again shortly after. And just keeps on popping up endlessly. However If I "mistype" the username, access denied message appears just as expected.
The interesting part is that I can easily access the CIFS share from the same machine alfresco installed on. But not any other machine. Additionally attempting to map a network drive leads to "destination is unreachable" error instantly.
So i have:
Alfresco comunity 3.4d (installation wizard, "advanced" installation mode, pretty sure everything was typed in properly during the installation)
Clients and server are xp sp3 32bit.
Firewall /anti-malware software is either absent or disabled for testing purposes on all of them (absolutely none on server).
I tried:
a) straight from the box configuration
b) following this guide http://zensarteam.wordpress.com/2010/07/13/alfresco-enable-cifs-server-on-windows-xp/
c) following suggestions for this type of problem from documentation, wiki, forums, and so on. (spent the whole night)
The result was the same regardless of my actions.
Logs:
logging settings are "log4j.logger.org.alfresco.smb.protocol=debug" and "log4j.logger.org.alfresco.smb.protocol.auth=debug".
1. browsing cifs from the server. Eveything works, tonnes of theese are spammed to log.
19:23:39,219 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,219 DEBUG [smb.protocol.auth] Using Write transaction19:23:39,219 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,219 DEBUG [smb.protocol.auth] Using Write transaction19:23:39,219 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,219 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 User:admin DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 DEBUG [smb.protocol.auth] Using Write transaction19:23:39,234 User:admin DEBUG [smb.protocol.auth] Using Write transaction
2. Typing "\\<servername>A\" in windows explorer from client machine and trying to login. Logs are telling me nothing interpretable. During the time span shown here I pressed login button about 5 times, and then "mistyped" my username purposely, getting an error message. However, none of these actions are visible in logs.
19:33:03,141 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=6527919:33:03,141 DEBUG [smb.protocol.auth] Using Write transaction19:33:03,141 DEBUG [smb.protocol.auth] Using Write transaction19:33:03,141 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0, PID=6527919:33:03,141 DEBUG [smb.protocol.auth] Using Write transaction19:33:45,750 DEBUG [smb.protocol.auth] Using Write transaction19:34:16,141 DEBUG [smb.protocol.auth] Using Write transaction
3. Nothing happens at all then attempting to map a network drive.
That' s it I guess.
Any help would be REALLY appreciated!
Btw. Is it possible that problem is caused from elsewhere (network misconfiguration, for example)?
What should I check then?
Eveything else, however works perfectly. Considering both alfresco and other network infrastructure.
P.s. Greetings from Russia. Pardon me Englishes. That also means that windows messages, captions and titles has been translated by me from Russian as well, and they may sound really different in English version of windows. Sorry for possible confusion.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2011 12:16 PM
That document is seriously out of date and in particular you should never edit files below WEB-INF. It should indeed "just work out of the box". Just set cifs.enabled in your alfresco-global.properties file.
Anyway since its working on a local machine and you don't have a firewall there's only really two problems to look at.
The first is whether you have bound your CIFS service to localhost or 127.0.0.0. Windows tends not to be a problem there.
The second thing is for your remote servers to be able to resolve to the correct addresses. It sounds like that's where your problems are.
Anyway since its working on a local machine and you don't have a firewall there's only really two problems to look at.
The first is whether you have bound your CIFS service to localhost or 127.0.0.0. Windows tends not to be a problem there.
The second thing is for your remote servers to be able to resolve to the correct addresses. It sounds like that's where your problems are.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2011 06:32 PM
I have a similar problem. Set up also using the wizard, running Alfresco-3.4.d, easy setup, small company, no LDAP or special log-in
In alfresco-global.properties I have;
# CIFS
cifs.enabled=true
cifs.ServerName=alfresco
cifs.domain=<my workgroup name>
cifs.hostannounce=true
cifs.broadcast=255.255.255.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
But on starting Alfresco, I get NO MENTION in the alfresco.log about CIFS being started. I have turned on the 4J debug, but no output. It is as if CIFS does not start, at all.
Going slowly desperate…
In alfresco-global.properties I have;
# CIFS
cifs.enabled=true
cifs.ServerName=alfresco
cifs.domain=<my workgroup name>
cifs.hostannounce=true
cifs.broadcast=255.255.255.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
But on starting Alfresco, I get NO MENTION in the alfresco.log about CIFS being started. I have turned on the 4J debug, but no output. It is as if CIFS does not start, at all.
Going slowly desperate…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2011 03:43 AM
Look at the log messages for the "filesystems" siubsystem.
And there's a lot of configuratuion there in addition to cifs.enabled. Do you know what you are doing?
And there's a lot of configuratuion there in addition to cifs.enabled. Do you know what you are doing?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2011 11:27 PM
I have a similar problem. Set up also using the wizard, running Alfresco-3.4.d, easy setup, small company, no LDAP or special log-in
In alfresco-global.properties I have;
# CIFS
cifs.enabled=true
cifs.ServerName=alfresco
cifs.domain=<my workgroup name>
cifs.hostannounce=true
cifs.broadcast=255.255.255.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
But on starting Alfresco, I get NO MENTION in the alfresco.log about CIFS being started. I have turned on the 4J debug, but no output. It is as if CIFS does not start, at all.
Going slowly desperate…
I'm not sure and not test about case-sensitive on alfresco configuration.
I can run with configuration like this
cifs.enabled=true
cifs.serverName=dms
cifs.ipv6.enabled=false
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
and I've update my firewall with following command:
#sudo iptables -t nat -A PREROUTING -p tcp -m tcp –dport 445 -j REDIRECT –to-port 1445
#sudo iptables -t nat -A PREROUTING -p tcp -m tcp –dport 139 -j REDIRECT –to-port 1139
#sudo iptables -t nat -A PREROUTING -p tcp -m tcp –dport 137 -j REDIRECT –to-port 1137
#sudo iptables -t nat -A PREROUTING -p tcp -m tcp –dport 138 -j REDIRECT –to-port 1138
ps. I'm configure CIFS from some source on internet (I can't remenber).
It's work with my environment if It does'nt work with your environment, wait for another help.
Sorry for my english, hope you can understand.
Regards,
Nisumcee M.
