ADM Blog No matter how you see things, reality changes when you reach understanding

28Jun/100

Alfresco CIFS shared drive authentication problem

images Alfresco CIFS shared drive authentication problem I'm a newbie in Alfresco and honestly cannot find my way in there. If you are trying to develop a WebScript or some other type of service for Alfresco, you can either upload files one by one using the web interface or you can map the CIFS shared drive (\\workstationA\Alfresco\) and use it as a file-system. It seems it worked just fine in Windows XP and friends but I have Windows 7 and I simply could not make it work. It requests a user name and a password but then returns a "Failed to authenticate. Invalid user or password" message The hack I found seems really dumb and I'm sure there is a better solution out there but this works for me.

What you have to do is go to your hosts file (Windows\System32\drivers\etc\hosts) and add a new line in there mapping the workstaionA (Where workstationA is your computer name + the letter a) to some unused IP address.

13.13.13.13 workstationA

That's it, now it works and you can map it as a network drive and do your development in peace.

net use X: \\workstationA\Alfresco /user:admin admin /persistent:yes

Note: admin/admin are the Alfresco default username and password, you should change that and use yours.

Happy codding !

Related posts:

  1. The simplest way to parse XML in Java
  2. How to run python code in Windows batch (bat) files
  3. Access all files on your hard disk from the system tray
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Uses wordpress plugins developed by www.wpdevelop.com