vim /etc/samba/smb.conf
[global] workgroup = home netbios name = fedora security = share hosts allow = 192.168.0.0/24 [share] comment = Home File Server path = /sharepoint force user = fileserver901 force group = fileserver901 guest ok = yes read only = no
testparm /etc/samba/smb.conf
[global] (signifies security parameters)workgroup = home (names a windows workgroup name)netbios name = fedora (our netbios name)security = share (takes on permissions from the share, which we set earlier)hosts allow = 192.168.0.0/24 (only allows this subnet to connect i.e. 192.168.0.1192.168.0.254)[share] (Signifies the name of our share when mounted. You can change to anything you like.)comment = Home File Server (creates share point comments)path = /sharepoint (The full path the volume you want to share. Note if you want to share more than one volume, copy the “share” section and alter accordingly.)force user = fileserver901 (forces all users of this mount to become this user and obtain access to whatever this user has access to)force group = fileserver901 (forces all users of this mount to become this group and obtain access to whatever this group has access to)guest ok = yes (allows anonymous accounts to access, which is how we can connect without a password)read only = no (allows us to write to the volume. If you set this to yes, you could make this an anonymous “read” only volume)Mac OS X Tiger
- Go to the Finder menu and select “Connect to Server” or press Apple key + “k”.
- In the server address bar, type in
smb://192.168.0.101(or whatever the address is of your home smb server). - Select connect. When the dialog box appears, click on “Ok” for the “share.”
- A dialog box will appear with a workgroup, name, and password. Just ignore it and press ok again.
- A volume named share will appear on your desktop.
Windows 2003 Server
(Note: this should be almost identical for most other Windows versions.)
- Open the Windows Explorer.
- Type in:
\\192.168.0.101\share(or whatever the address is of your home smb server). - You now have read/write access to the volume.
Red Hat® Enterprise Linux 5
(Note: this should be identical for any newer Gnome installation.)
- Go to Places and select “Connect to Server.”
- Under Service Type, select “Windows Share.”
- In the server address box, type in
192.168.0.101(or whatever the address is of your home smb server). - In the share box, type
share - A volume named share will appear on your desktop.
No comments:
Post a Comment