Samba: Difference between revisions
Jump to navigation
Jump to search
(New page: == References == * http://en.opensuse.org/SDB:Access_to_Windows_Shares * See local documentation at <tt>/usr/share/doc/packages/samba/htmldocs</tt> (requires package ''samba documentation'...) |
No edit summary |
||
Line 2: | Line 2: | ||
* http://en.opensuse.org/SDB:Access_to_Windows_Shares |
* http://en.opensuse.org/SDB:Access_to_Windows_Shares |
||
* See local documentation at <tt>/usr/share/doc/packages/samba/htmldocs</tt> (requires package ''samba documentation'') |
* See local documentation at <tt>/usr/share/doc/packages/samba/htmldocs</tt> (requires package ''samba documentation'') |
||
== Packages == |
|||
In Ubuntu, install the packages '''samba''' and '''smbfs'''. |
|||
== Samba Client == |
== Samba Client == |
||
Line 10: | Line 13: | ||
$ mount -t cifs -o username=user,password=secret //winmachine/testshare /windows/winshare |
$ mount -t cifs -o username=user,password=secret //winmachine/testshare /windows/winshare |
||
</source></div> |
</source></div> |
||
* Or make it an entry in <tt>/etc/fstab</tt>. Note that '''gid=124''' refers to group '''sambashare'''. |
|||
<pre> |
|||
//mnemosyne/backup /net/mnemosyne/backuprw cifs username=backup,allow_utime=22,umask=002,uid=999,gid=124 |
|||
</pre> |
Revision as of 23:12, 8 September 2009
References
- http://en.opensuse.org/SDB:Access_to_Windows_Shares
- See local documentation at /usr/share/doc/packages/samba/htmldocs (requires package samba documentation)
Packages
In Ubuntu, install the packages samba and smbfs.
Samba Client
- To mount a samba share in Linux (see [1]):
$ mkdir -p /windows/winshare
$ mount -t cifs //winmachine/testshare /windows/winshare
$ mount -t cifs -o username=user,password=secret //winmachine/testshare /windows/winshare
- Or make it an entry in /etc/fstab. Note that gid=124 refers to group sambashare.
//mnemosyne/backup /net/mnemosyne/backuprw cifs username=backup,allow_utime=22,umask=002,uid=999,gid=124