Install SAMBA On Fedora17 and Centos 6
Install SAMBA On Fedora17 and Centos 6
2 | Unixmen
Home
About Us
Advertising
Sitemap
Privacy
Contact Us
Page Navigation
search
Unixmen
Home
News
Today
Linux
Distributions
Tutorials
Knowledge Base
Opensource
News
Android
News
Frequently
Asked Question
Ask
Unixmen
Category Navigation
337 views 0 likes 0 comments
Posted September 12, 2012
by M.el Khamlichi
Answer:
- Fedora 17
1 <strong>SELINUX=disabled</strong>
1 <strong>iptables -I INPUT 4 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT</strong>
2 <strong> iptables -I INPUT 5 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT</strong>
3 <strong> iptables -I INPUT 6 -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT</strong>
4 <strong> service iptables save</strong>
Add these lines, in your smb.conf file (or change it according to your requirement):
1 #======================= Global Settings =====================================
2 [global]
3 workgroup = WORKGROUP
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 2/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
4 security = share
5 map to guest = bad user
6 #============================ Share Definitions ==============================
7 [MyShare]
8 path = /samba/share
9 browsable =yes
10 writable = yes
11 guest ok = yes
12 read only = no
Change it, in such a way that everyone can read and write it(Check if it is allowed in
your environment or not):
1 groupadd smbgrp
1 <strong>cd /samba/</strong>
2 <strong>mkdir secure</strong>
3 <strong>chown -R unixmentest:smbgrp secure/</strong>
4 <strong>ls -l</strong>
5 <strong>chmod -R 0770 secure/</strong>
6 <strong> ls -l</strong>
Add the user to the samba group and create samba password:
1 <strong>nano /etc/samba/smb.conf</strong>
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 3/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
For Fedora
Enjoy
Centosfedora17samba
M.el Khamlichi
Founder of Unixmen , Living in Amsterdam. Netherlands i Have started this project
with non-profit objective. my only target is helping people and guide them to
understand that Bill Gates is not the only one making good things for IT world. Email:
[email protected]
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 4/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
RHEL/CentOS 6.4 LDAP MD5 Certificate Error Caused by NSS 3.14 Update
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 5/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
Donate to Unixmen
We need your assistance to stay live and contribute more articles on Unix.
Like us on Facebook
Unixmen
Like
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 6/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 7/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
Tweets Follow
Unixmen 6h
@unixmen
Setup Backup Server Using Bacula And Webmin On
Ubuntu 14.04: Bacula is an open source network
backup solution ... bit.ly/1hqlAnM
Expand
Unixmen 8h
@unixmen
Install Webmin On Ubuntu 14.04: Webmin is an
open source, web based system administration tool
for Unix/Linux.... bit.ly/1w7jsuI
Unixmen 24 May
@unixmen
Dictionaries vs List data structures In Python:
Suppose you have a following list: [crayon-
5380b04a12558466430... bit.ly/1vXJIaJ
Expand
Unixmen 23 May
@unixmen
Use Special Characters In Python: Sometimes, we
want to add some extra space between two words,
like pressing ... bit.ly/1hfQoYi
Expand
Unixmen 22 May
@unixmen
How to print in the same line using end=’ ‘
argument: The print statement prints by default a
Tweet to @unixmen
Unixmen
Follow +1
+ 7,591
Nicky
Worked for me 14.04, 64 bit, LTS
bob
This is a very late reply, but I have been busy. I can't seem to...
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 8/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
Bill Randle
Great summary - thanks!
setevoй червь™
Thanks, I know what it is... But I mean exactly "redable", like "more simple
to...
Panos Georgiadis
for the time being I am covering some basics you all need to know in...
Panos Georgiadis
Google for Escape Sequences or follow this link:
https://docs.python.org/2/reference/lexical_analysis.html#string-literals...
setevoй червь™
As for me - second example more readable... But - need more characters,
yes :-)
Maravento
thanks
Panos Georgiadis
1+1=2 is also a solution in a math course. The Coursera course has been
ended...
Favorite Links
Unixmen Archives
Select Month
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 9/10
5/26/2014 Install SAMBA on Fedora17 and Centos 6.2 | Unixmen
8288
0
7591
31
http://www.unixmen.com/install-samba-fedora17-centos-6-2/ 10/10