cancel
Showing results for 
Search instead for 
Did you mean: 

[CIFS] Configuration or network problem ?

piski
Champ on-the-rise
Champ on-the-rise
Hello,

I have a CIFS problem (like many of others according forum posts  :cry: ) and I can't understand why …

Here is my configuration :
- Alfresco 3.2r2 (soon 3.3  :wink: )
- W2003 Server SP2
- Windows Clients XP SP3
- passthru SSO, Active Directory, LDAP synchronization, Webdav, FTP, CIFS

My problem (everything is working properly except CIFS) :
- CIFS works only if I access directly on my Alfresco server ( \\MyAlfrescoServera\Alfresco ).
- CIFS does'nt work (with parameters below) if I try to access by my Windows XP client.
- If I disable "File and printer sharing for Microsoft Network" within my network card configuration, it works (strangely however, I explain it below). But I can't disable this feature because it's needed by others tools (scripting, systems backup …etc.)

For information, my passthru server (Active Directory) is in DOM1 and my alfresco server is in DOM2.

Here is my CIFS configuration in alfresco-global.properties :
#————————————–
# CIFS SERVER
#————————————–
cifs.enabled=true
cifs.serverName=${localname}a
cifs.domain=DOM2
cifs.hostAnnounce=true
cifs.broadcast=255.255.255.128 # My Alfresco server subnet mask
cifs.bindto=My Alfresco server IP

1) When I try, from my Alfresco server :
netstat -a MYALFRESCOSERVER
netstat -a MYALFRESCOSERVERA


I obtain the same result :
NetBIOS Remote Machine Name Table
Name               Type         Status
———————————————
MYALFRESCOSERVER    <00>  UNIQUE      Registered
DOM2            <00>  GROUP       Registered
DOM2            <1E>  GROUP       Registered
MYALFRESCOSERVERA   <20>  UNIQUE      Registered
MYALFRESCOSERVERA   <00>  UNIQUE      Registered
MYALFRESCOSERVER    <20>  UNIQUE      Registered


Also ping give a positive response, for both servers, with :
ping MYALFRESCOSERVER -> Pinging MYALFRESCOSERVER [ALFRESCOIPSERVER] with 32 bytes of data -> OK
ping MYALFRESCOSERVERA -> Pinging MYALFRESCOSERVERA [ALFRESCOIPSERVER] with 32 bytes of data -> OK

2) When I try, from my Windows XP Client :
netstat -a MYALFRESCOSERVER

I obtain the result :
NetBIOS Remote Machine Name Table
Name               Type         Status
———————————————
MYALFRESCOSERVER    <00>  UNIQUE      Registered
DOM2            <00>  GROUP       Registered
DOM2            <1E>  GROUP       Registered
MYALFRESCOSERVERA   <20>  UNIQUE      Registered
MYALFRESCOSERVERA   <00>  UNIQUE      Registered
MYALFRESCOSERVER    <20>  UNIQUE      Registered


but netstat -a MYALFRESCOSERVERA and ping MYALFRESCOSERVERA fail !!! The name seems to be not resolved …

STRANGE  :shock:  :
If I disable "File and sharing printer …", CIFS works but on \\MyAlfrescoServera\Alfresco -> OK AND \\MyAlfrescoServer\Alfresco ! Because of this configuration, I have no longer access to my shared directories (out of Alfresco) -> normal

For information, I've tried to make these changes : http://wiki.alfresco.com/wiki/File_Server_Configuration#Native_SMB_collisions

… and also try using NativeSMB (ipv6 enabled) instead of TCPIP NetBios but the result is the same !

I'm losing my last leads and I don't know if the problem is in network or in my configuration.
If you have any ideas ?

Thank you for your support !
2 REPLIES 2

piski
Champ on-the-rise
Champ on-the-rise
I've installed Alfresco 3.3 and I have the same issue … please somebody help :cry: !!!

piski
Champ on-the-rise
Champ on-the-rise
I finally resolved my problem, for those who are interested :

I've tried to access to my server from my pc client by \\MyServerA\Alfresco …

When I launch a cmd with nbtstat -a MyAlfrescoServer, it puts my Alfresco server into Netbios cache (on my pc client) and finally … it works but it's a bad solution.

So, I've declared (within my network card configuration on my Alfresco server) a WINS address (a wins server located on my 1st domain, authentification domain too) and it works without any cheats on my pc client.

To summarize, I made it works with :

1) In alfresco-global.properties :

#————————————–
# CIFS SERVER
#————————————–
cifs.enabled=true
cifs.serverName=${localname}a
cifs.localname=${localname}a
cifs.domain=FullDNSofMyAlfrescoServer (example alfresco.org)
cifs.hostannounce=true
cifs.broadcast=255.255.255.255
cifs.bindto=MyServerAlfrescoIP
cifs.urlfile.prefix=http://${localname}/alfresco/

2) Network card
Add my IP WINS server to resolve Netbios names when I use the alias server name for CIFS.

Finally, my alfresco configuration was correct !

3) If you change the name of Alfresco CIFS server like :
cifs.serverName=aMoreSignificantServerName
cifs.localname=aMoreSignificantServerName

You'll have probably to make these changes, within Windows regedit :
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters]
Add value : DisableStrictNameChecking
Data type : REG_DWORD
Base : Décimale
Value : 1


4) Don't forget to apply settings described here (to tell Windows to not use port 445 anymore) : http://wiki.alfresco.com/wiki/File_Server_Configuration#Troubleshooting