Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Can't get mount_smbfs to work under Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Can't get mount_smbfs to work under Leopard
Authored by: jimgagne on Feb 05, '08 12:39:42PM
I hope this is the right forum for this question; I'd love if someone could direct me elsewhere if you know where. One of my projects involves importing data from files located on a Windows 2000 server on our intranet and then creating management reports. Because the data I'm importing changes several times a week, I wrote a Ruby script to mount the SMB share and import the data, using mount_smbfs. It's not my server and I can't change any of its names. The server is called just "SERVER," and the directory I want to mount has the format "ABC (D)" (yes, that's an imbedded space). So the command line command is
 mount_smbfs "//user:password@SERVER/ABC (D)" /Volumes/server 
This worked FINE under Tiger. Then I converted to Leopard. It took time, but I got my project working fine under Leopard. I can do the import so long as I manually copy the files from the server to the program directory on my iMac: the iMac has no problems seeing the server. But when I try the above command line (either in the script or directly in Terminal), I get an error:
 mount_smbfs: failed to intitialize the smb library: Invalid argument 
It gets worse. I tried using some of the other Mac tools to mount the server at /Volumes/server. Now I have another directory under /Volumes/server, also called "server". Any time I try to access or remove the directory (even as root), I get the following error message:
 ls: server: Disc quota exceeded 
What in the world does that mean? It's even there after shutting down and restarting the iMac. I tried calling Apple about these apparent new Leopard bugs and got the runaround. Any thoughts/suggestions?

[ Reply to This | # ]