Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
Samba 2

Samba 2

Ratings: (0)|Views: 110|Likes:
Published by api-3736383

More info:

Published by: api-3736383 on Oct 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

08/16/2014

pdf

text

original

Home| Guides and Tutorials| What's New?| Co
Samba Configuration - Linux/Windows Con
by Tammy Fox
Last Modified: Wednesday, 19-May-2004 11:5
Introduction

Samba can be used to allow connectivity between Linux a Windows(95,98,NT,2000). Samba can be used to share printe connect to an NT domain, and many other useful features. H explains the steps involved in basic configuring Samba for fil more complex topics, visit the Samba website or type the co a Linux machine with Samba installed. Configuring Samba is configuration file /etc/smb.conf that is usually located under Everytime you modify this file, Samba must be restarted for t effect.

Basic Samba Information
Starting, Stopping, and Restarting Samba
Most Linux distributions come with scripts to start, stop, a
properly. If yours does not, use the commands under the Opt
Runlevel Script
Optional Command

Start Samba
/etc/rc.d/init.d/samba start
/usr/sbin/smbd -D and /usr/sbin/nmbd -D

Stop Samba
/etc/rc.d/init.d/samba stop
killall -TERM smbd and killall -TERM nmbd

Restart Samba
/etc/rc.d/init.d/samba restart
killall -HUP smbd and killall -HUP nmbd

Samba Log Files

All Samba actions such as login attempts and file transfer
/var/log/samba directory. Under this directory the actions are
name. For example, all actions from the machine named "Mo
file /var/log/samba/log.morpheus. User actions can also be lo
named /var/log/log.smb and /var/log/log.nmb. This is configu
using the option log file. For example, to log actions by mach
following line:
log file = /var/log/samba/log.%m

Windows Workgroup
You can specify which Windows Network Neighborhood W
machine is seen in and the description of the machine by edi

smb.conf:
workgroup = WORKGROUPNAME
server string = MACHINE DESCRIPTION

Access Control

smb.conf can be used to allow and deny access by IP addr
listing IP addresses or subnets on the lines beginning with h
deny. Examples:
Example
Explanation

hosts allow 192.168.10.0/255.255.255.0
Allow all hosts in the given network/netmask
hosts allow 160.210 EXCEPT 160.210.24.56
Allow all hosts beginning with 160.210 except 160.210.24.56
hosts allow 192.168.10 192.168.20
allow all hosts beginning with 192.168.10 or 192.168.20
hosts deny 130.74
deny all hosts beginning with 130.74
Using Samba with Windows NT 4.0 Service Pack 3 or higher

Samba can be configured to send plain-text passwords or The Microsoft SMB protocol originally used plain-text passw Service Pack 3 or higher for Windows NT 4.0, they changed t encrypted passwords. Samba must be configured for this to

Activity (6)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
dp354 liked this
scooby1009 liked this
shekar_bandi liked this
krpl81 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->