Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

NFS and Samba Server Setup: Sharing Files between UNIX and Windows Systems, Slides of Computer Security

Instructions on setting up network file service (nfs) and samba servers to share directories and printers between unix and windows systems. It covers the configuration of daemons, exports, fstab, smb.conf, and authentication methods. Troubleshooting tips are also included.

Typology: Slides

2012/2013

Uploaded on 04/22/2013

sathaye
sathaye 🇮🇳

4.8

(8)

106 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NFS Server Setup
NFS SERVER SETUP
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download NFS and Samba Server Setup: Sharing Files between UNIX and Windows Systems and more Slides Computer Security in PDF only on Docsity!

NFS Server Setup

NFS SERVER SETUP

Network File Service

NFS Server Setup

Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock (also uses portmap and rpc service)

NFS Client Configuration

NFS Server Setup

Configuration File : /etc/fstab server1:/data /users/data nfs defaults 0 0

mount server1:/data /users/data (Note: The mount point must exist before /etc/fstab is read or the filesystem is manually mounted)

NFS Troubleshooting

NIS Server Setup

Use exportfs command to find and verify which areas are exported by the server Use mount command to find and verify which areas are mounted by the client

Samba Service

Samba Server Setup

File and Printer Sharing from UNIX to Windows Uses smb Daemon service smb start/stop/restart

Samba Server Configuration

Samba Server Setup

Use GUI Applications  Server Settings  Services  SMB Configuration File: /etc/samba/smb.conf

Configuring File and Directory Sharing [share_name] comment = Fred's Home Directory path = /home/fred valid users = fred public = no writable = yes printable = no Docsity.com

Authentication Methods

Samba Server Setup

Use local username/password (stored in /etc/samba/smbpasswd) To add a local user: smbpasswd –a fred (fred should be a user in /etc/passwd)

Samba Client Configuration

Samba Server Setup

Share the Samba Directory on Windows

machine

Share the Samba Filesystem on Unix machine

by specifying in /etc/fstab

server1:/smbdata /users/smbdata smbfs defaults 0 0 or use smbmount //server1/smbdata /users/smbdata –o username=fred