0% found this document useful (0 votes)
68 views

Samba Support Microsoft Access Control Lists

This document provides information about configuring Samba on a Linux server to share files and printers with Windows clients. It discusses Samba configuration files and tools, required RPM packages, setting up user authentication with smbpasswd, creating shares, and configuring firewall rules and permissions to allow file sharing. The main steps are installing Samba RPMs, editing smb.conf to define shares, adding Linux users as Samba users, and restarting the Samba service.

Uploaded by

bbuunnttyy7011
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Samba Support Microsoft Access Control Lists

This document provides information about configuring Samba on a Linux server to share files and printers with Windows clients. It discusses Samba configuration files and tools, required RPM packages, setting up user authentication with smbpasswd, creating shares, and configuring firewall rules and permissions to allow file sharing. The main steps are installing Samba RPMs, editing smb.conf to define shares, adding Linux users as Samba users, and restarting the Samba service.

Uploaded by

bbuunnttyy7011
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Arvind Kalyan

ceh.arvind@gmail.com

Linux Basics

Samba support Microsoft Access Control Lists.


Main configuration file of Samba server is /etc/samba/smb.conf
Samba Web Administration tool (SWAT) is a GUI base configuration tool for Samba
Serveravailable from RHEL 6
In Linux SAMBA provides the following services:

User Authentication and authorization


File and printer sharing
Name resolution
Browsing

Provide network shares to specific clients.

RPM required for Samba Server


RPM
samba
samba-client
samba-swat
samba-winbind

Description
Base RPM for Samba Server
Base RPM for Samba Client
GUI interface for Samba configuration
Allow interoperability between Linux and Window

On samba server following RPM are required

samba
samba-common
samba-winbind

Check necessary rpm


Rpm qa samba
installing RPM form RHEL 6 disk. Mount RHEL 6 disk in media folder and change directory to Package
folder

Cd media/rhcl_6.1\x86_64\ Disc\ 1/Packages/


Rpm ivh nodeps samba-3.5*.*.rpm
#iptables -A INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
#iptables -A INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
#iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT

Arvind Kalyan

ceh.arvind@gmail.com

Linux Basics

#iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
Command smbpasswd -a can be used to add a user to the password database under /etc/samba/ for
SAMBA authentication. Set up Samba users with the smbpasswd command.
Smbpasswd

smbuser1

Create a smbgroup and add smbuser3 and smbuser4 users


Groupadd smbgroup
Usermod -G smbgroup smbuser3 smbuser4
Now open main configuration file of Samba
Vi /etc/samba/samba.conf

It would be same on network for seamless connectivity


Now navigate to Share Definitions section By default Samba automatically share the home
directory of the logged-in user which is define in the first four lines of this section.
browseable = no limit user to his own home directory. Samba reads home directory information
from /etc/passwd file so you need not to specify the home directories path.

On Server create a /sharedata folder. This folder is created from root user so our users will not be able
to write in this folder. Change its permission 777. Configure SELinux Boolean . Now open the smb.conf
file

Arvind Kalyan

ceh.arvind@gmail.com

Linux Basics

This share of /sharedata will share a common location where user can download / upload / read
the files. In this end of file add following stanza and save the file
# Common location for people to share files [sharedata]
comment = common location file sharing
path = /sharedata
read only = no public = yes

Restart the smb service


Chk on windows after creating workgroup\

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy