Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: miguelb on June 15, 2007, 05:27:39 PM
-
Hi,
I need to access a windows shared folder from SME7...
I would like to have that shared folder maped in SME.
Can anyone help me out with this?
Thanks
Miguel
-
mount -t cifs -o user=<username>,password=<password> //<winbox>/<sharename> /mnt/<emptydir>
<username>, <password>: login credentials for the windows box
<winbox>: name or ip of the windows box
<sharename>: name of the network share hosted on the windows box
<emptydir>: you must "mount" things into empty directories in linux; be sure to use an empty one, or create an empty one to use.
I started using "-t cifs" after having trouble with "-t smbfs" transferring files over 2GB in size.
You can get a drive to re-mount by figuring out the command you need to run, then adding it to /etc/rc.d/rc.local.
Here's a post to the complete syntax for the cifs mounter: http://www.die.net/doc/linux/man/man8/mount.cifs.8.html
I urge you to learn how to use the "credentials=filename" option rather than "user=<username>,password=<password>" if you want anything like security on your network...
-
Many thanks for teh reply!
Miguel