If you cannot map a drive to the Alfresco CIFS server then it's likely a name lookup problem. Check whether you are using WINS or broadcast lookups on your LAN. If you're using broadcasts, is your network split into more than one subnet? Did you change the broadcast mask setting in the file-servers.xml configuration file? Do you use NetBIOS name scopes on your LAN? (nbtstat -n should show if a scope id is set).
If a PC cannot access the Alfresco CIFS server you could try adding an entry to the lmhosts file (in windows\system32\drivers\etc), there's usually a sample file in that folder, you may need to create the file. Then try and access the CIFS server using Start->Run and enter \\.
You could also try doing some name lookups using nbtstat, again from any of the PCs that are having trouble accessing the server. If you try the following commands to see which are successful :-
nbtstat -a
nbtstat -A
nbtstat -a
Dr Paul Holmes-Higgin
Chief Product Officer
paulhh
- Posts
- 323
- Achievements
- 5
- Member for
- 7 years 11 months
Alfresco Employee
Stats
When running the Alfresco CIFS server under linux make sure that the firewall is open for CIFS access. In Suse linux using Yast, go to Security and Users, Firewall, then either disable the firewall or in the Allowed Services add Samba Server via the Service To Allow drop down menu.
In the file-servers.xml file change the setting to match the broadcast mask of your network. Use ifconfig and look for the BCast: setting for the main network adapter.
You could try changing the setting to use a fixed name, such as .
Dr Paul Holmes-Higgin
Chief Product Officer
RonnyT
- Posts
- 20
- Achievements
- 1
- Member for
- 7 years 3 weeks
- From
- Belgium
Alfresco Partner
Stats
If installing Alfresco on a stand-alone system, not connected to any network,
we try to map the CIFS server, (pure standard installation), and get
"The mapped network drive could not be created because the following error has occurred: The network location cannot be reached. ..."
Once you connect that PC to a network, any network basically,
the CIFS server can be mapped to a network drive.
The system is installed in a standard way.
Any settings we could change to solve this problem and Demo Alfresco completely stand-alone?
We could add an entry in the lmhosts file?
Partner at XeniT
rrb
- Posts
- 15
- Achievements
- 1
- Member for
- 5 years 11 months
Stats
In the config file : file-servers.xml is code setting alfresco's SMB port to 1139 and a comment about using firewall redirects to these alternate port numbers.
Does this mean that it is possible to run samba and have Alfresco CIFS up on the same network?
It is not clear to me how a user would be able to connect to the alfresco CIFS when samba is running elsewhere.
Is this just URL based? I see in the Packt book that one uses the URL http://theservername/alfresco/intranet/somefolder
as the XP "my network places" path. Does this imply some sort of tomcat conf change to map the "intranet" directory to the correct port?
or should I be doing:
http://theservername:1139/alfresco/intranet/somefolder
A related question:
We have a large directory structure that we have used for years to put documents on. While it seems quite possible to simply drag the root of that directory structure across to a webdav / cifs alfresco'ised space, this will create a large duplication of the documents on the native systems.
My question: is there a way of pointing alfresco at an existing directory tree and having it in a batch manner build it's indexes and not relocate the documents?
At this point my interest is simply in getting the indexed searching in place. Creating workflow etc would happen case by case after it was "known" by alfresco. Then at some point we could turn off samba on these folders and use only alfresco/CIFS.
Maybe I'm approaching this all wrong? opinions? suggestions? anyone?
..rrb
rrb
- Posts
- 15
- Achievements
- 1
- Member for
- 5 years 11 months
Stats
Answering my own second question:
Well after looking at the details of how things seem to persist under alf_data I'd say the answer is a loud "no". The rather long key info embedded in the pathnames to where the docs persist under alf_data is
a) not likely to be compatible with some arbitrary directory hierarchy that already exists.
b) probably vital to making alfresco work.
On the first question:
it turned out to be a case of making sure the Alfresco CIFS and our Samba appear as different IP addresses on the network, then they cohabit just fine.
Related: the "tomcat/alfresco runs as root" aspect of things does make people nervous about using webdav outside our firewall though...
simonfan
- Posts
- 7
- Achievements
- 1
- Member for
- 5 years 9 months
Stats
I have Windows 2003 with Alfresco 2.1 connected to Mysql5 in another server. After started, all work fine except CIFS, I got error message:
Error accessing Win32 NetBIOS, check DLL is on the path
Please advise me which DLL file and path do I need to check? Thank you very much!
Simon
simonfan
- Posts
- 7
- Achievements
- 1
- Member for
- 5 years 9 months
Stats
After I added domain to the file_server.xml, I got:
11:19:21,455 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64
11:19:27,568 ERROR [org.alfresco.smb.protocol.mailslot] HostAnnouncer error
java.lang.ArrayIndexOutOfBoundsException: 16
at org.alfresco.filesys.netbios.NetBIOSName.getNetBIOSName(NetBIOSName.java:374)
at org.alfresco.filesys.netbios.win32.NetBIOSSocket.sendDatagram(NetBIOSSocket.java:307)
at org.alfresco.filesys.smb.mailslot.WinsockNetBIOSHostAnnouncer.sendAnnouncement(WinsockNetBIOSHostAnnouncer.java:137)
at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:313)
11:19:33,540 ERROR [org.alfresco.smb.protocol.mailslot] HostAnnouncer error
java.lang.ArrayIndexOutOfBoundsException: 16
at org.alfresco.filesys.netbios.NetBIOSName.getNetBIOSName(NetBIOSName.java:374)
at org.alfresco.filesys.netbios.win32.NetBIOSSocket.sendDatagram(NetBIOSSocket.java:307)
at org.alfresco.filesys.smb.mailslot.WinsockNetBIOSHostAnnouncer.sendAnnouncement(WinsockNetBIOSHostAnnouncer.java:137)
at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:313)
11:19:39,543 ERROR [org.alfresco.smb.protocol.mailslot] HostAnnouncer error
java.lang.ArrayIndexOutOfBoundsException: 16
at org.alfresco.filesys.netbios.NetBIOSName.getNetBIOSName(NetBIOSName.java:374)
at org.alfresco.filesys.netbios.win32.NetBIOSSocket.sendDatagram(NetBIOSSocket.java:307)
at org.alfresco.filesys.smb.mailslot.WinsockNetBIOSHostAnnouncer.sendAnnouncement(WinsockNetBIOSHostAnnouncer.java:137)
at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:313)
But the mapping is working. Why?
thanks!
Simon
simonfan
- Posts
- 7
- Achievements
- 1
- Member for
- 5 years 9 months
Stats
Actually, only really needed was to add two DLL files to the path, and remove the domain that I mentioned before, It works fine now no errors.
thanks!
Simon
KentZhou
- Posts
- 15
- Achievements
- 1
- Member for
- 5 years 7 months
Stats
Hi, My case is:
on Windows 2003, install Alfresco 2.1 with all default setting.
Then create a Alfresco user kzhou by webclient and a space Kent Blogs.
On Windows 2003, I can access CIFS by \\myservera\Alfresco\Kent Blogs with user kzhou.
Then I try to map Y: to \\myservera\Alfresco\Kent Blogs on another XP machine. When connecting to the server, it ask for username/password,
after try 3 user: kzhou, admin, administraror, I can't connect to CIFS server. The message is:
The network folder specified is currenctly mapped using a different name and password. To connect using a different user name and password, first dissconnect any existing mappings to this network shares.
Even if I disconnect all existing mapping, still can not connect CIFS with same error message.
On XP when using nbtstat , get info as:
C:\Documents and Settings\kzhou>nbtstat -a myservera
....
NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
MYSERVER <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
MYSERVER <20> UNIQUE Registered
WORKGROUP <1E> GROUP Registered
WORKGROUP <1D> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
MYSERVERA <20> UNIQUE Registered
MYSERVERA <00> UNIQUE Registered
Marc TSG
- Posts
- 16
- Achievements
- 1
- Member for
- 5 years 4 months
Stats
I have Alfresco 2.1 running in Ubuntu 7.1. I am able to connect to Alfresco locally, but when I try to do so on a Windows machine on the LAN it will not authenticate me. I know that a standalone samba server typically requires you to shadow a Windows NT-friendly version of a password in order to authenticate from a Windows client. Is it possible that I need to do something similar for Alfresco?
Edit: I should add I am using the Enterprise edition of Alfresco.
Marc TSG
- Posts
- 16
- Achievements
- 1
- Member for
- 5 years 4 months
Stats
After further testing, it seems I can connect to the CIFS server if I use the server's IP address. The CIFS server is reporting its IP address to the CIFS server as 127.0.1.1 which caused a machine attempting to connect by hostname to try to conenct to itself.
This workstation is not part of a domain and acquires its IP address through DHCP. Not being an expert in Linux, I don't know if any other way exists for the OS to map the hostname other than using the hosts file, which is what I have done.
I'm guessing that the CIFS server is reporting the address that I've mapped to the hostname in the hosts file, but I don't understand why that would be. The stand-alone samba daemon did not do this. Is there a configuration option that I am missing?
joao.pereira
- Posts
- 43
- Achievements
- 2
- Member for
- 7 years 6 months
- From
- Portugal
Stats
What about this: http://forums.alfresco.com/viewtopic.php?f=9&t=11437
No way to troubleshoot this one?
Thanks,
Norgan
- Posts
- 422
- Achievements
- 5
- Member for
- 5 years 2 months
- From
- Hamburg, Germany
Stats
@MarcTSG -
I have a similar setup (VM without DNS Server) and I took you comment to the /etc/hosts file with the entries below and it worked at once :)
Thanks for the research.
Regards, Norgan
"Reading alone is not enough, sometimes, understanding is helpful as well"(roughly after Kurt Tucholsky ;-) )
Did I shorten your search, gimme a point, I want one too :-D ... oh ... and update the Wiki PLEASE.
---
Developer Tutorials: http://www.ecmarchitect.com
Share Login vs Alfresco Login: Forum Thread
ohaeuser
- Posts
- 1
- Achievements
- 0
- Member for
- 5 years 1 month
Stats
Hi all,
this probably goes without saying, but if you use iptables to redirect the ports make sure,
that the iptables also accept incoming connections. In my case I had to specifically open up
the ports. Turns out that in some distros lower ports are blocked. Meaning you can access
the machine with the webclient on Port 8080 and you can also ping the machine but you
cannot connect to it via smb.
It is even funnier since you can connect locally with an smbclient using 127.0.0.1 but
but not with the external IP address. Like 192.168.129.179 does not work ...
Enjoy -
Oli
prgiorgio
- Posts
- 2
- Achievements
- 0
- Member for
- 5 years 1 month
Stats
After my first fresh installation,
i create with web interface an alfresco user 'test'with password test.
After that i tried the cif samba login, and i can't login with user test/test to see only test home directory.
How to do this?
Is it possible to log in only with the admin/admin user ?
Thank you in advance (i'm a newbie)
Giorgio
vycitalr
- Posts
- 40
- Achievements
- 2
- Member for
- 5 years 8 months
- From
- Prague, Czech Republic
Stats
Hello,
I am getting winsock error 10055 "No buffer space available" when trying to access CIFS. I know this is rather a windows problem than alfresco's one, but anyway, has someone experienced with this? My system is running on BeaWeblogic on Windows 2003 server with 4GB of physical RAM. The system is quite loaded with other apps and near all of its memory is constantly allocated, also in netstat there seems to be a lot of connections. I understand what the problem is - but is there any workaround - eg. how to set/tweak the winsock buffers?
To be precise, the exception log:
My Alfresco is kind of 2.2 dev version.
Thanks for any suggestions.
Regards Robert
Norgan
- Posts
- 422
- Achievements
- 5
- Member for
- 5 years 2 months
- From
- Hamburg, Germany
Stats
Hi Giorgo
When you look around, you will notice some strange phenomenon mentioned - sometimes, persistence pays of (trying again and again, min 3 times), sometimes you have to wait a few minutes. The important thing is - can you reach the mashine with its names "servername" and "servername_a" or "servernamea" (depending on your config) on their ports. Everything else is Alfresco user management.
Oh - the user has to have access rights to the folder in question. :-)
Regards, Norgan
"Reading alone is not enough, sometimes, understanding is helpful as well"(roughly after Kurt Tucholsky ;-) )
Did I shorten your search, gimme a point, I want one too :-D ... oh ... and update the Wiki PLEASE.
---
Developer Tutorials: http://www.ecmarchitect.com
Share Login vs Alfresco Login: Forum Thread
prgiorgio
- Posts
- 2
- Achievements
- 0
- Member for
- 5 years 1 month
Stats
Thank you, Norgan, I succeded in loggin in with the right user,
creating the versioning system.
I have to answer to other to question to cosider this product great,
first: i added versioning; when i delete a file via cif, can i still find it via alfresco web interface? (standard settings)
second:
And how to activate indexing? every content of the files i put in alfresco (ods, doc and aslo text files) are not
matched by the advanced indexing.
Thank you in advance
Norgan
- Posts
- 422
- Achievements
- 5
- Member for
- 5 years 2 months
- From
- Hamburg, Germany
Stats
Hi Giogio,
regarding 1) Dont know - try it out :) I would guess though, that deleting will remove the complete object (including versions) from the space. That would be the action, I would expect, by the way.
regarding 2) - Check out the documentation regaring "Search Customization". Since the engine is lucene, every format, that is not supported as of yet, can probably added by developing a proper "parser" plugin.I assume, though, that ODF is supported already, I guess you have a bug in your configuration there.
"Reading alone is not enough, sometimes, understanding is helpful as well"(roughly after Kurt Tucholsky ;-) )
Did I shorten your search, gimme a point, I want one too :-D ... oh ... and update the Wiki PLEASE.
---
Developer Tutorials: http://www.ecmarchitect.com
Share Login vs Alfresco Login: Forum Thread
rscheele
- Posts
- 46
- Achievements
- 2
- Member for
- 5 years 7 months
- From
- Tilburg, Netherlands
Stats
Hello, i am running Alfresco locally using Vista, Mysql and default Tomcat/JDK (ships with) Alfresco.
The Alfresco version is a nightly build v2.9.0 (C_dev 816)
Mapping a drive using \\VoyagerA\admin using default password admin/admin doesn't work( Voyager=computer name, loggin in with a regular user doesnt' work also. Vista finds the drive but when i enter username/passwords the system responds with a popup 'Logon insuccesful. Make sure you type user/pass blabla'.
Output of nbtstat -n:
Wireless Network Connection:
Node IpAdress: [145.48.115.210] Scope ID: []
VOYAGER <00> UNIQUE REGISTRED
WORKGROUP <00> GROUP REGISTERED
VOYAGER <20> UNIQUE REGISTRED
VOYAGERA <20> UNIQUE REGISTERED
VOYAGER <00> UNIQUE REGISTERED
file.server.xml:
ccappelletti
- Posts
- 3
- Achievements
- 0
- Member for
- 5 years 3 weeks
Stats
Hi all,
I'm trying to make CIFS server work on Linux Ubuntu 7.1 but have some troubles.
I'm making it work on reserved ports and using iptables to open them to make it live together with SAMBA.
If I connect with smbclient locally I have what espected:
The strange thing here is that it is taking the Alfresco server name as a domain!
Other stange staff:
If I connect with DNS name, I see the Alfresco stuff but not my samba stuff. If I connect by IP I see the Alfresco stuff.
My Alfresco version is community 2.1.
my file-servers-custom.xml:
I think it is a problem with Linux configuration (obviously I'm not an expert) but I can't solve this (tried during a week). The problem is the same with or without DHCP.
In the net win machines only see the name srv-alea not (srv-alea_a). And only can connect to the samba stuff (not CIFS).
Any help ideas will be welcome!
Thanyou, Carlo.
opapo
- Posts
- 2
- Achievements
- 0
- Member for
- 5 years 3 weeks
Stats
I couldn't connect on the Alfresco server to the CIFS server once it was installed and running.
alfresco.log:
Solution:
I added export JAVA_HOME='/usr/lib/jvm/java-6-sun-1.6.06' to /opt/alfresco/alfresco.sh and ran it. This worked. Maybe I missed something in the README.txt file. Thanks for the help.
-Daniel
opapo
- Posts
- 2
- Achievements
- 0
- Member for
- 5 years 3 weeks
Stats
ccappelletti,
This link may help. It discusses having samba and alfresco on the same box:
http://wiki.alfresco.com/wiki/Changing_Bind_Addresses_and_Ports_for_Samba_and_FTP
-Daniel
ccappelletti
- Posts
- 3
- Achievements
- 0
- Member for
- 5 years 3 weeks
Stats
Daniel,
thankyou very much, both your posts were a solution to me.
I was using the script at this http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10 (without redirecting ports because I created a new IP address to have samba and CIFS on the same box) to start alfresco.
There you can see lines like this:
sudo -H -u alfresco
starting processes as alfresco user. That is... no access to priviledges ports.
So I modified it like this:
And everithing is working.
Bye
Carlo.
maggot84
- Posts
- 4
- Achievements
- 0
- Member for
- 5 years 1 month
Stats
I keep getting the same error over and over: Error accessing Win32 NetBIOS, check DLL is on the path, even though I copied the neccessary dll files on the path, 'C:\windos\system32' directory to be exact. I'm using the SVN version of Alfresco, cuz I wanted to make some slight modifications. Anybody got an idea for a solution?
skorde
- Posts
- 65
- Achievements
- 3
- Member for
- 4 years 11 months
- From
- India
Stats
any one pls help me,
my CIFS server is not working on LAN with win 2003 server
Sudhir Korde
skorde
- Posts
- 65
- Achievements
- 3
- Member for
- 4 years 11 months
- From
- India
Stats
Hi
I have tried it on my environment and now CIFS work fine (some times) on windows 2003 VPN
I did DNS entry and now I am facing a problem like some time remote machine can access the CIFS server and some time not, it giving the error like "no network path found" or "permission denied"
Would you please help me to get out of this problem?
System info:
Alfresco Community 2.1/Tomcat/Oracle/Windows Server 2003
Thanks in advance,
Sudhir korde
Sudhir Korde
peterh_NL
- Posts
- 41
- Achievements
- 2
- Member for
- 6 years 4 months
Stats
Addition (and possible answer) to the last posts in here: somewhere between 2.1 and 3.0.0-dev the dll's used/needed for cifs on windows machines changed.
If you download latest nightly build or download from svn you find the proper dll's in there. (in bin-dir of nightly-build and in /head/root/projects/alfresco-jlan/jni pf svn-download)
Hope this helps someone (took me quite some time to figure this out..:0)
Regards,
Peter
PTStudent
- Posts
- 12
- Achievements
- 1
- Member for
- 4 years 10 months
Stats
Hi...
I'm having a problem with mapping CIFS in Windows XP
\\servernameA\alfresco gives me network address not found
\\servernameA gives me duplicate name exists
the server(test server) is running on windows Vista, I've already ran all nbtstats from the first post, and all of them display:
Nome Tipo Estado --------------------------------------------- UTILIZADOR-PC <00> Único Registado WORKGROUP <00> Grupo Registado WORKGROUP <1E> Grupo Registado UTILIZADOR-PC <20> Único Registado WORKGROUP <1D> Único Registado ..__MSBROWSE__.<01> Grupo Registado UTILIZADOR-PCA <20> Único Registado UTILIZADOR-PCA <00> Único Registado...-PCA is the alfresco server
file-servers.xml:
my network has no domain
I successfuly connected from other Vista machines...
while writing this post, i've checked that i'm still not using SP1 for Vista
didn't try lmhosts, because i that that wouldn't be a viable solution
hope any-one can help...
thanks in advance for any reply
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi,
I have the same problem. I have Alfresco installed in a Windows Server 2003 and I am able to map the Alfresco Network drive in teh server local machine, but when I try to map the network drive from a PC of the LAN I am asked to provide user /password but then I enter a valid user/password of Alfresco I get an error of "The Network path was not found".
This is my file-servers.xml
Anyone has any solution???
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi everybody,
I found the solution. The problem is tha I have a Windows domain configured and that is why I can't map the Alfresco Network drive. I have edit my code adding domain="THEINIT" to the parameter host:
file-servers.xml
Thanks!!!, Bye.
rogier.oudshoorn
- Posts
- 101
- Achievements
- 4
- Member for
- 6 years 5 months
- From
- The Netherlands
Stats
Hello,
This is a great thread! I have another interesting issue for you guys.
I am running Alfresco 3Stable on a SuSe 11 server with Windows XP clients. It's configured to use Kerberos for everything, and has a custom AD integration where users are synchronized as they login (rather then importing the entire AD every night). It's setup as per the Wiki, including the firewall spec.
Basically, CIFS is functioning at 95%. There are 2 aspects that are broken:
1. The Server load on any action on CIFS is huge. It spikes for several seconds, even for small files ... and it is a big server.
2. Even though the SMB Share is always available (I.E., \\myShare\), the Alfresco folder in there (I.E., \\myShare\Alfresco) fails roughly 5% of the time. This 5% comes in chunks of about 5 minutes, seemingly randomly distributed over the day. When it fails, it produces a windows login box. However, it gets better. The server logs tell me that there was a succesfull Kerberos login ....
Has anyone ever seen anything like this?
Regards,
Rogier
Senior ECM Consultant, Capgemini NL
vipo
- Posts
- 4
- Achievements
- 0
- Member for
- 4 years 4 months
Stats
I'm too having serious CIFS stability and performance problems (Ubuntu 8.04, 8GB RAM, tomcat and versions 3b and 3c Community Ed.).
We can't reliably create directories and copy files (a lot of attempts fail, yielding various error-messages: permission denied, directory does not exist).
Sometimes deletion of the just created directories fails with:
>>net.sf.acegisecurity.AccessDeniedException: Access is denied
>> org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied. You do not have the appropriate permissions to perform this operation
>> at $Proxy3.deleteNode(Unknown Source)
>> at org.alfresco.filesys.repo.ContentDiskDriver.deleteDirectory(ContentDiskDriver.java:1738)
>> at org.alfresco.filesys.repo.ContentDiskDriver.deleteDirectory(ContentDiskDriver.java:1738)
>> at org.alfresco.jlan.smb.server.NTProtocolHandler.procDeleteDirectory(NTProtocolHandler.java:3001)
>> at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:281)
>> at org.alfresco.jlan.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1340)
But also deleting fails, but without an errorlog entry.
If the exact same command is retried, it may work (randomly). They user doing the access has Contributor rights.
We have created a simple testscript (after we have seen, that not all files are copied over and directories are missing from a recursive local copy):
Create a directory, then 10 subdirectories below that. Count directories which aren't created. Delete the whole directory tree (rm -rf) and start over again. If we run the script 100x, it may work the first 10 runs, then fail completely afterwards (90%) or consistently can't create the same one directory.
We acces the alfresco share using a mounted smbfs (or type cifs). Even logons from smbclient don't work (error: cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe \srvsvc failed with error NT_STATUS_BUFFER_TOO_SMALL; but showing results of Listing '-L option') as expected or simple directory listings using the mounted directory (repeated 'ls- l' commands work as expected, then take forever or yield errormessages).
We use alfresco authorization scheme and have tried various configuration settings.
The performance is worse: creating 10 directories takes 25+ seconds, deleting it over a minute!
We have checked using ftp (lftp client), getting roughly the same "write-performance" (though thanks to lftp using retry-attempts get better success-rates).
As SMB/CIFS is vital (and WebDAV doesn't allow file uploads - only showing readonly content?) we probably have to using Samba and Apache WebDAV to get the desired performance and stability (without a dms).
Using the webclient, using the same operations as the same user, we don't have any problems.
UPDATE: the reliability problems stem from using 'mount -t smbfs' on the Ubuntu client system, if we use 'mount -t cifs' there seems to be no more errors regarding creating and removing directories.
But the performance issues still exist (there is no difference).
Gerrit
- Posts
- 7
- Achievements
- 1
- Member for
- 4 years 3 months
Stats
Hi all
I have recently updated from alfresco 2.9 to 3.0 labs. While running 2.9 i had no problem with cifs, however after upgrading, i cannot map to the server at all, when i try then all that happens is a pop up screen with the error 'the network path was not found' appears. No other error message is generated at any point and all other functionality works perfectly. I worked through all the above posts and still no luck. This is however a vital point in my system so need it working desperately.
Any advice would be greatly appreciated
Regards
Gerrit
Alexey
- Posts
- 49
- Achievements
- 2
- Member for
- 4 years 6 months
- From
- Russia
Stats
Hello.
I need help for setup CIFS server.
OS: Open Suse Linux 11, Alfresco Labs 3C.
file-server-custom.xml
Suse Firewall Config
FW_FORWARD_MASQ="0/0,10.16.13.51,udp,138,1138 0/0,10.16.13.51,udp,137,1137 0/0,10.16.13.51,tcp,139,1139 0/0,10.16.13.15,tcp,445,1445"When i'm trying to connect to Alfresco server i see error.
But if i change port on 1139, i'll connect to server.
What am i doing wrong?
Thank you.
Sorry for my probable grammar and lexical errors, English isn't my native language.
fbehfar
- Posts
- 69
- Achievements
- 3
- Member for
- 5 years 5 months
Stats
Hi,
I have the same problem as witho. and I have done what he said!
but doesn't work, plz help me in this matter!
FSB
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi,
Could you post your configuration file? Myabe I can help you.
fbehfar
- Posts
- 69
- Achievements
- 3
- Member for
- 5 years 5 months
Stats
Hi witho,
here is my configuration files,
file-servers.xml
file-servers-custom.xml
I have done all the steps in forums, I have uncommented in file-server.xml, I have added domain="THEINIT" properties for in file-server.xml. I have changes the .dll file as mentioned in http://forums.alfresco.com/en/viewtopic.php?f=8&t=10523&p=61710#p61710. I have tried with both and . I have also created
my system info is:
AlfrescoCommunity-2.9.0B/jdk-1_5_0_01-windows-i586/mysql-essential-5.0.16-win32/windows server2003/ and the clients are all xp!
please help me out :(
thanks
FSB
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi fbehfar,
In the parameter domain of your file-servers.xml you have to add your domain name. In my project I added domain="THEINIT" because this is my domain name. If you have a domain or workgroup configured in your LAN you'll have to put it in the configuration file.
I hope this helps you.
fbehfar
- Posts
- 69
- Achievements
- 3
- Member for
- 5 years 5 months
Stats
Hi witho,
thanks for your quick reply!
I have change it to my domain name, but it doesn't still work :(
that's making me crazy!
I guess there should be something wrong with windows xp, and I have to config something in XP! because I have none of the above problem with a client, which has a windows server 2003 on it! what is it?
FSB
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi fbehfar,
¿Does your Tomcat display some error? Look the catalñina.log and the alfresco.log. Maybe there ir some error trace that would help us to solve your problem.
I only configured my file-servers.xml as follows and put the Win32NetBIOS.dll library into server WINDOWS folder.
file-servers.xml
I only performed this configuration and everithing works well. I go to the Windows explorer and map a network drive with this folder \\AHERNANDEZ_A\Alfresco because my PC name is AHERNANDEZ. Then I enter a valid Alfreso user and password and I get CIFS access.
Look through the logs and post your error if you get some. I'll try to help you with your problem. Good luck!
fbehfar
- Posts
- 69
- Achievements
- 3
- Member for
- 5 years 5 months
Stats
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
Hi,
I would stop the Tomcat and then save a copy of your configuration file file-srvers.xml. You can make some proofs with my configuration file changing only the domain name with yours. Then clean your logs and start the Tomcat again. Look if there is some error during the startup of the server. If there is plese post it here. After this try to log in your Alfresco with the browser (IE, Firefox or whatever). Look again for errors and when you are sure that Alfresco is running correctly then try to map your CIFS network drive. Look then again for new errors and post them here.
Bye.
fbehfar
- Posts
- 69
- Achievements
- 3
- Member for
- 5 years 5 months
Stats
Hi,
this is my alfresco.log after I used your configuration
it didn't have error but it didn't work either! after that I changed name="${localname}_A" to:
then I could map it but only in one PC and I got error, and it didn't work out in other client PCs.
after some try i can not map either and these lines added in my alfresco.log file
so what's wrong with me???
Thank you again
FSB
witho
- Posts
- 55
- Achievements
- 3
- Member for
- 4 years 8 months
Stats
I am thinking about some problem with your OpenOffice. However the CIFS problem may be caused because of a wrong .dll as you can map CIFS network drive from a Windows 2003 client. I had to use a Win32NetBIOS.dll of a Windows 2003 server in order to solve my problems with CIFS. Be sure you dll is compatible for Windows 2003 and review your OpenOffice-Alfresco configuration.
alfrescoLove
- Posts
- 16
- Achievements
- 1
- Member for
- 4 years 1 week
Stats
Should you be able to see ServerNameA when you list all the machines in your network?
josw
- Posts
- 5
- Achievements
- 1
- Member for
- 4 years 1 month
Stats
http://wiki.alfresco.com/wiki/Troubleshooting:
BindException: Address already in use
This indicates that an existing SMB/CIFS or FTP server is already running on the system.
If you are running Alfresco on Windows then it is recommended to use the Win32 NetBIOS interface so that the Alfresco file server can run alongside the existing Windows file server.
How should this work alongside when i'm disabling the SMBDevice?
gbreen
- Posts
- 6
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
I to was having many CIFS problems and crawled through the forums to find solutions. What I have finally figured out are 2 things.
1. if you edit the windows hosts file and add alfrescoa 13.13.13.13 to it where alfresco is the name of your alfresco server remember to add the "a" and 13.13.13.13 is not the ip address of your server. (i found this somewhere not my original idea)
2. I was then getting all kinds of trash collector and java errors. Everything was still working but got lots of errors. Today i discovered it was windows explorer that was causing this issue on vista. I replaced explorer with xplorer2 http://www.zabkat.com/ and no more errors. Plus xplorer2 is really much nicer than the standard explorer. (I have nothing to do with this product.)
Any way just wanted to post to maybe save someone some grief. If you have a better suggestion for me please post.
Thanks to all community members!
jhuie
- Posts
- 12
- Achievements
- 1
- Member for
- 3 years 9 months
Stats
Ok I am stumped. I can connect to CIFS locally on my server (window server 2003) using \\servernameA\alfresco and it works fine. But when I try remotely from another (Vista) machine I get this error:
"Windows cannot access \\servernameA\alfresco - Check the spelling of the name. Otherwise, there might be a problem with your nework."
Then if I hit the "Diagnose" button the Microsoft offers, I get this message:
"Windows cannot find "servernameA" - Windows sent the request to the DNS server and the server responded that the name was unknown."
If I use the ip address to connect such as \\xxx.xxx.xxx.xxx\alfresco then the diagnostic message says this:
"Windows confirmed that the server "xxx.xxx.xxx.xxx" exists but cannot find "Alfresco" "
I am using Alfresco Community version 3.2. I copied the Win32Netbios.dll file into the WINDOWS folder.
Here is my file-servers.xml file:
And here is my file-servers.properties file:
dward
- Posts
- 558
- Achievements
- 6
- Member for
- 4 years 1 month
Alfresco Employee
Stats
Have you enabled NetBIOS on the Vista client machines? Don't ask me how that's done.
jhuie
- Posts
- 12
- Achievements
- 1
- Member for
- 3 years 9 months
Stats
Yes, I just enabled that....and it does the same thing. Just for interest sake...here's how to enable NetBIOS under Vista:
1.Click Start, and then click Network. (Or you can click Start, type ncpa.cpl into the search box, and press ENTER).
2.Click on the Network and Sharing Center, and then click Manage Network Connections.
3.Right click on the Local Area Connection or the connection you are using.
4.Select the Internet Protocol version 4 (TCP/IPv4)
5.Click the Advanced button under the General tab.
6.Click the WINS tab.
7.Click the Enable NetBIOS Over TCP/IP button.
8.Click Ok.
jhuie
- Posts
- 12
- Achievements
- 1
- Member for
- 3 years 9 months
Stats
This is maddening. Has anyone out there successfully installed CIFS and gotten it working on Windows with version 3.2? The only thing I can think of is that I changed the port number from 8080 to 80. So I hope that I have located all the places in configuration files where those are hard coded and fixed them. Maybe I missed something out there though. This has been 8 hours straight of tinkering trying to get this to work.
Norgan
- Posts
- 422
- Achievements
- 5
- Member for
- 5 years 2 months
- From
- Hamburg, Germany
Stats
Hi there,
my system runs perfectly fine both under linux and under windows. Regarding the standard ports - did you change the port from 8080 to 80, then you have to make sure you caught every configline, using ports. Or did you just make a redirect from 80 to 8080 ? would leave the "rest" intact. One test is a standard test for me, though, trying to resolve the name on the commandline - otherwise extending the /etc/hosts file.
Norgan
"Reading alone is not enough, sometimes, understanding is helpful as well"(roughly after Kurt Tucholsky ;-) )
Did I shorten your search, gimme a point, I want one too :-D ... oh ... and update the Wiki PLEASE.
---
Developer Tutorials: http://www.ecmarchitect.com
Share Login vs Alfresco Login: Forum Thread
johnl2009
- Posts
- 1
- Achievements
- 0
- Member for
- 3 years 8 months
Stats
I have to volunteer my lacking success with CIFS/SMB as well. CIFS is not working at all for me. I'm getting network path not found. I've checked the Windows Shares, there aren't any. I've checked nbtstat, nothing alfresco related is listed. I've tried browsing to \\cmsserver_a\alfresco , \\cmsserver\alfresco, and \\127.0.0.1\alfresco, and nothing is recognized (all say network provider not found, or no network provider accepted the given path)
Initially I tried following along with this YouTube guide http://www.youtube.com/watch?v=XXR4YqzoC7A only to find that the files he was referring to weren't where they were supposed to be. When that didn't work, I started scouring the forums. I've looked over everything that appears to be possibly relevant, and tried most of it, but with no luck.
I'm running 3.2 Community under Server 2003 Enterprise x64. Here's what I've done so far:
I've copied the two DLLs from c:\alfresco\bin to c:\windows\syswow64 and rebooted.
In catalina(timestamp).log I have no errors.
Under C:\Alfresco\tomcat\shared\classes\alfresco\extension I have file-servers-custom.xml which contains the following:
Under C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco I have file-servers.xml which contains the following:
Under C:\Alfresco\tomcat\shared\classes\alfresco\extension I have custom-vti.properties which contains the following:
( Can someone confirm that line 2 is supposed to be vti.alfresco.alfresoHostWithPort withOUT the c in alfresco? This is stock - was not modified. )
Even though I've edited the variables to not use cmsserver_a for the share, I've added the IP entries into the hosts file.
Where have I gone wrong? What am I missing here? Any help or suggestions would be appreciated.
dward
- Posts
- 558
- Achievements
- 6
- Member for
- 4 years 1 month
Alfresco Employee
Stats
file-servers-custom.xml and custom-vti.properties are not used by Alfresco v3.2.
You put all your settings in $TOMCAT_HOME/shared/classes/alfresco-global.properties.
The settings for the file server subsystem are documented here.
http://wiki.alfresco.com/wiki/File_Server_Subsystem
However, you shouldn't have to do much fiddling - it should 'just work' out of the box, provided you have nothing already listening on the ports that the Alfresco SMB server is trying to listen on.
Now that's the tricky part on newer Windows versions. Follow all the advice on the troubleshooting section to disable the native SMB services running on the Windows server. And a recent tip given here suggests that you disable file and print sharing.
http://forums.alfresco.com/en/viewtopic.php?f=9&t=21184&p=70033#p70033
ashokkari
- Posts
- 1
- Achievements
- 0
- Member for
- 3 years 8 months
Stats
Hi ,
I deployed the website from the alfresco community version 3.2,,
it deployed successfully, but no where tells that how i can access the published web site,
please help me .
Thanks
jabraham
- Posts
- 2
- Achievements
- 0
- Member for
- 3 years 7 months
Stats
Hi all. On Mac OS X with Alfresco 3.2 I was able to get CIFS working by disabling windows file sharing and printer sharing in System Preferences (so that OS X doesn't grab the SMB ports) and running Alfresco as root (sudo ./alf_start.sh)
I can access the server either by IP smb://admin@192.168.90.125/alfresco on OS X \\admin@192.168.90.125\alfresco on windows or by servername \\alfrescoA\alfresco or smb://alfrescoA/alfresco .
However I can't get the machine to show up in the network browser. So obviously I'm doing the broadcast thing wrong. We have no WINS server or anything like that, all the (other) machines just show up because they're broadcasting their presence.
Also I'm obviously not doing the url.prefix correctly, because the __Alfresco.url pseudo-files don't link to anywhere useful, just to a login page that doesn't seem to work.
I didn't mess with any .xml files, apparently in 3.2 you only need to change the alfresco-global.properties file. Here it is
I figured out what cifs.serverName=alfrescoA does, it's what allows me to use \\alfrescoA\alfresco instead of \\192.168.90.125\alfresco
I can't figure out what cifs.localname does.
I can see that cifs.urlfile.prefix changes the start part of the __Alfresco.url links, but the remaining part (/navigate/browse/workspace/SpacesStore...) doesn't link to anything useful.
Can anyone help? Please and TIA.
Dinobe
- Posts
- 5
- Achievements
- 1
- Member for
- 3 years 7 months
Stats
I'm completely with johnl2009. I have installed also the 3.1 enterprise edition and I'm slowly going insane. All the mentioned files in the youtube video are not there.
Anyway to keep it short:
there is no alfresco-global.properties in $TOMCAT_HOME/shared/classes/alfresco-global.properties
there is no custom-vti-context.xml in c:\Alfresco\tomcat\webapps\alfrescp\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\
there is no custom-vti.properties in c:\Alfresco\tomcat\webapps\alfrescp\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\
there is a file called: c:\Alfresco\tomcat\shared\classes\alfresco\extension\file-servers-custom.xml.sample
I have installed Alfresco enterprise edition 3.1 on my local machine (windows XP) using MySQL 5.0. What is next to get to the share using CIFS?
neozone
- Posts
- 34
- Achievements
- 2
- Member for
- 3 years 7 months
Stats
I installed CIFS finished yet still have a problem. I installed Alfreesco 3.2 Community on Ubuntu 9.04 and when I try to use Map Network Drive on Windows XP by using machine name. It couldn't found. for example : my server machine name is Alfresco-new. so CIFS is \\ALFRESCO-NEWA\Alfresco
What should I do?
I also configure Alfresco-global.properties same as jabraham said.
harishns
- Posts
- 32
- Achievements
- 2
- Member for
- 3 years 9 months
Stats
Hi,
I built the alfresco from 3.2 source, as far as I know, the CIFS should be enabled by default, I am not finding any server logs and when I click view in CIFS, it says check your network address.
Please help me to setup CIFS
I am using Tomcat as server in Windows XP OS
Thanks
Xlapatsas
- Posts
- 3
- Achievements
- 0
- Member for
- 3 years 5 months
Stats
Norgan ,
are these changes applied to the hosts file of the pc where alfresco is installed or to the client pc?
is "alfresco" the name of the pc?
chum
- Posts
- 4
- Achievements
- 0
- Member for
- 3 years 6 months
Stats
Can anyone help me to set up alfresco authentication.
in my file-servers.xml i heve:
<authenticator type="alfresco"/>but i can't login with my account record.
hydro
- Posts
- 13
- Achievements
- 1
- Member for
- 3 years 1 month
Stats
Can somebody do something about CIFS configuration?
Issues:
1) No step by step comprehensive guide on installation / configuration
2) No idea where documents uploaded are being stored on windows
3) CIFS folder does not seem to exist (even using v3.3) on windows
4) Have no idea where //workspace:SpaceStore is
Its getting me frustrated simply looking at the CIFS link that points to some un-existing place.
JG Visual
- Posts
- 1
- Achievements
- 0
- Member for
- 2 years 12 months
Stats
Hi,
I have two issues with my CIFS installation. I am running Alfresco 3.3 on a CentOS Linux server.
1.) When I click on the _Alfresco shortcut from my client computer it takes me to the address http://www.localhost.localdomain:8080/alfresco/navigate/browse/workspace/SpacesStore/e3e55a87-d07c-4da8-83c0-7fa835c512c1. This is a dead link because http://www.localhost.localdomain should actually be the ip address of the server. This is also the problem when I use the _ShowDetails.exe. It takes me again to the wrong web address. I know the variable ${localname} is used to populate the information. How do I change that variable so it is the ip address of my server?
2.) How do I change it so the _Alfresco shortcut and the _ShowDetails.exe use Share instead of the older Alfresco interface?
Thank you for your help in advance.
Jonathan
ivan.hajdinjak
- Posts
- 11
- Achievements
- 1
- Member for
- 2 years 1 month
Stats
Greetings,
i have a major problem with CIFS. I can't disable port 445 what ever I do, and CIFS isn't working. I have virtual Windows server 2008, i tried with regedit - TransportBindName, tried with firewall advanced settings, I turned off all file sharing on local network. When I run netstat -an i see port 0.0.0.0:445 always open. Please help, I've a deadline and I'm stuck here for 4 days :(
True regards, Ivan Hajdinjak
BenSwitzer
- Posts
- 81
- Achievements
- 3
- Member for
- 5 years 7 months
Stats
Hi Ivan,
See my post here: http://forums.alfresco.com/en/viewtopic.php?f=9&t=38706
Hope this helps.
Ben
ivan.hajdinjak
- Posts
- 11
- Achievements
- 1
- Member for
- 2 years 1 month
Stats
Thank you Ben for the reply.
I'm able to map the network drive on Alfresco server - Windows server 2008, but unable to access it from other computer (Win 7) in domain. It crushes at login credentials. Any suggesstion ?
Thanks
BenSwitzer
- Posts
- 81
- Achievements
- 3
- Member for
- 5 years 7 months
Stats
Assuming it has to do with how Windows 7 is attempting to authenticate with Alfresco. Alfresco can only authenticate pass-thru CIFS connections via NTLM v.1. By default, Windows 7 only uses NTLM v.2.
You'll have to make a change to the LAN Manager authentication level. Here's how: http://forums.alfresco.com/en/viewtopic.php?f=9&t=24610#p80352.
ivan.hajdinjak
- Posts
- 11
- Achievements
- 1
- Member for
- 2 years 1 month
Stats
I did that but no difference. Still the user/pass box appears and message Access is denied. :(
BenSwitzer
- Posts
- 81
- Achievements
- 3
- Member for
- 5 years 7 months
Stats
My last suggestion would be to crank up the logging for CIFS and authentication and have a look at whats being reported.
Wish I could be of more assistance.
ivan.hajdinjak
- Posts
- 11
- Achievements
- 1
- Member for
- 2 years 1 month
Stats
Greetings,
is it possible to map a cifs folder using IP address, so so the NetBIOS isn't mapping with host name (alias) with capital A ? I want in Alfresco explorer, on document details - View in CIFS -> to watch the CIFS mapped drive with ip address in left bottom, not the host name.
Thanks !
ivan.hajdinjak
- Posts
- 11
- Achievements
- 1
- Member for
- 2 years 1 month
Stats
It helped me. Thanks Ben !
jsevilla27
- Posts
- 7
- Achievements
- 1
- Member for
- 1 year 7 months
Stats
Problems with Cifs.
Hi everybody i have a problem with some libraries.
I copy this files Win32Utils.dll, Win32NetBIOS.dll in to C:\WINDOWS\system32 and i have this problem.
ERROR [org.alfresco.fileserver] Error accessing Win32 NetBIOS, check DLL is on the path
I need active CIFS but i can`t do this.
Any body can help please sorry mi English.
somaye
- Posts
- 31
- Achievements
- 2
- Member for
- 1 year 1 week
Stats
Hello

I've installed alfresco4.0.d and LDAP,Passthru work but CIFS doesn't work.show this error
please HELP
THANKS
sorry my English.