You can substitute the hostname for an IP address if your name service is running or the host is in your /etc/hosts file.
This command mounts ahudson's home directory on your host and gives all users full permissions to the mount. The permissions are equal to the permissions on the chmod command.
The second method produces the same results using the smbmount command, as follows:
# smbmount //10.10.10.20/homes /mount/point -o username=ahudson,dmask-777,\ fmask=777
To unmount the share, use the following standard command:
# umount /mount/point
You can also use these mount commands to mount true Windows client shares to your Ubuntu host. Using Samba, you can configure your server to provide any service Windows can serve, and no one but you will ever know.
Was this article helpful?