cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS not working in alfresco 2.0 ?

aznk
Champ in-the-making
Champ in-the-making
Hi,
I've enable CIFS by installing loopback adaptor and configuring the server like this :
<config evaluator="string-compare" condition="CIFS Server">
      <host name="${localname}_A" domain="GVA"/>
      </config>
It worked well in Alfresco 1.4, but now I've just been upgrading to 2.0 and it doesn't work anymore. Neither via the LAN where I have the "An extended error occured" nor the web interface.
Anyone encountered the same problem, or are there any changes to do in 2.0 ?
6 REPLIES 6

ruman
Champ in-the-making
Champ in-the-making
Hello,

I'm also looking for a solution in order to make CIFS work with the 2.0 version.

The host XXXX_A is known in the workgroup but isn't mapable.

If I try to force the recognition by entering \\XXXX_A\alfresco and specifying admin/admin as the user (or another existing) it doesn't succeed.

Has someone any idea about what is missing?

Thank's

ruman
Champ in-the-making
Champ in-the-making
Hum, It was very helpfull for me to post last message as the next try succeded.

The thing I changed was only to write \\XXXX_A\Alfresco with a upper case 'A' in Alfresco.

Another thing : It doesn't connect with the admin user but it connects with a created user.

Hope it will help.

aznk
Champ in-the-making
Champ in-the-making
The thing is that the CIFS path isn't even found.
Have you been trying to configure LDAP or NTLM ? I've been messing around some files to make LDAP work but since, CIFS didn't work anymore in 1.4 even if I put back the original files.
The problem might be linked to the fact that Alfresco is logging you with your windows login name and not with admin.

peterh_nl
Champ in-the-making
Champ in-the-making
Try refreshing your network-adapter, this gives you a 'clean' login-prompt to the mapped drive ie shared resource and thus removes evt. false earlier entries blocking you. Found this out whilst experiencing errors when moving pc in stand-by from home to office and back. Data is somehow cached and cleaned after disable/enable network-adapter.
Don't know if it helps but it worked for me.

aznk
Champ in-the-making
Champ in-the-making
I tried refreshing but it still doesn't work.
Here's my log :

11:57:15,298 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
11:57:22,940 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
11:57:22,940 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
11:57:23,128 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:57:23,174 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:57:23,174 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
11:57:23,253 DEBUG [org.alfresco.smb.protocol] Added desktop action CheckInOut
11:57:23,253 DEBUG [org.alfresco.smb.protocol] Added desktop action JavaScriptURL
11:57:23,331 INFO  [org.alfresco.smb.protocol] CIFS server started
11:57:23,331 INFO  [org.alfresco.smb.protocol] FTP server started
11:57:23,331 INFO  [org.alfresco.smb.protocol] NFS server NOT started
11:57:23,659 INFO  [org.alfresco.smb.protocol] SMB Server DEV04_A starting
11:57:23,659 INFO  [org.alfresco.smb.protocol] GUID f79d48c8-7402-3971-9e62-b89cf48c8b44
11:57:23,675 INFO  [org.alfresco.smb.protocol] Using authenticator org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator
11:57:23,675 INFO  [org.alfresco.smb.protocol] Server timezone Europe/Berlin, offset from UTC = -1hrs
11:57:23,675 INFO  [org.alfresco.smb.protocol] Shares:
11:57:23,675 INFO  [org.alfresco.smb.protocol]  [Alfresco,DISK,,[Alfresco,workspace://SpacesStore/61db245f-c5ac-11db-9820-b73d086c88a2]] [Alfresco,workspace://SpacesStore/61db245f-c5ac-11db-9820-b73d086c88a2]
11:57:23,675 INFO  [org.alfresco.smb.protocol]  [AVM,DISK,,[AVM,VirtualView]] [AVM,VirtualView]
11:57:23,675 INFO  [org.alfresco.smb.protocol] Add Share [IPC$,IPC$,,Admin,Hidden] : true
11:57:23,675 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506.313MB
11:57:23,690 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
11:57:23,721 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Available LANAs: 0 3
11:57:23,721 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS server DEV04_A (using Winsock)
11:57:29,738 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS created session handler on LANA 0
11:57:29,738 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
11:57:29,738 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS host announcer enabled on LANA 0
11:57:29,738 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS server DEV04_A (using Winsock)
11:57:29,769 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:34,770 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:35,754 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS created session handler on LANA 3
11:57:35,754 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
11:57:35,754 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS host announcer enabled on LANA 3
11:57:35,754 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:35,770 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS register listener for LANA 0
11:57:35,770 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS register listener for LANA 3
11:57:40,755 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:44,771 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:50,756 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:57:55,663 DEBUG [org.alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[DEV04:WorkStation,Unique,]
11:57:55,679 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
11:57:55,679 DEBUG [org.alfresco.smb.protocol] Server session started
11:57:55,679 DEBUG [org.alfresco.smb.protocol] Negotiated SMB dialect - NT LM 0.12
11:57:55,726 DEBUG [org.alfresco.smb.protocol] Assigned protocol handler - org.alfresco.filesys.smb.server.NTProtocolHandler
11:57:55,741 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=65279
11:57:55,757 DEBUG [org.alfresco.smb.protocol.auth] User  logged on  (type Normal)
11:57:55,757 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0, PID=65279
11:57:55,866 DEBUG [org.alfresco.smb.protocol.auth] Null logon
11:57:56,022 DEBUG [org.alfresco.smb.protocol.auth] Logged on using NTLMSSP/NTLMv2SessKey
11:57:56,022 DEBUG [org.alfresco.smb.protocol.auth] User  logged on  (type Null)
11:57:56,022 DEBUG [org.alfresco.smb.protocol.auth] Allocated UID=0 for VC=[0:0,[:null,Windows 2002 Service Pack 2 2600,Windows 2002 5.1],Tree=0,Searches=0]
11:58:04,774 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:58:10,759 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:58:44,779 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A
11:58:50,764 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host DEV04_A

if I try to click on the icon on the web interface, a warning pops "the path does not exist or is not a directory", if I run it via windows, I get a "An extended error has occurred" and if I type the path in windows explorer I get a "Windows cannot find…Check the spelling and try again, or try searching for the item by clicking the Start button and then clicking Search"

in the command prompt, when I type nbtstat -n I can see that the domain and workgroup are well registered.
I've assigned an IP adress to the loopback adapter manually (not via DHCP).
Well I can't understand why this worked under 1.4 and not under 2.0.

bsawler
Champ in-the-making
Champ in-the-making
I am constantly battling the mapping of the alfresco drive. 

The only way I can get it working using Windows is by clicking on the Connect using a different user name.  When this doesn't work (sometimes) I log off and log-on which is resetting the login info explained above. 

This works even though I am on a different "Workgroup" and "domain" as the server for which I am connecting to Alfresco.  A bit cumbersome, but I think it is a Windows thing. 

Regards,
Bradley