Linux Troubleshooting Make Easy.

Linux Learning & Troubleshooting Make Easy.

Samba Server Configuration

Samba consists of two key programs, plus a bunch of other stuff that we'll get to later. The two key programs are smbd and nmbd. Their job is to implement the four basic modern-day CIFS services, which are:
  • File & print services
  • Authentication and Authorization
  • Name resolution
  • Service announcement (browsing) 



Create a Directory to share in samba:
#  mkdir /smb_share

Install and configure samba:
#  yum install samba
#  vi /etc/samba/smb.conf

    [Share]
    browsable = yes
    read only = yes
    path = /smb_share
    create mask = 0770
    force create mode = 0770
    locking = yes

#  chkconfig samba on
#  service smb start

Adding Samba Users:

If you do not add users to your Samba installation, those users will not be able to authenticate, which will keep them from browing/using the shares.

#  smbpasswd -L -a USERNAME
and
#  smbpasswd -L -e USERNAME


Smbclient Command:


#  smbclient -L //192.168.0.10/share                          ## List directories shared

#  smbclient //192.168.0.10/share -U jerry      

25 comments:

Anonymous said...

Heya i am for the first time here. I found this board and I find It truly useful & it helped me out a lot.
I'm hoping to give one thing back and aid others such as you aided me.


My web blog :: ,Riding Lawn Mower Repair Newberg Or,

Guo Guo said...

guowenhao20150313
oakley sunglasses
oakley sunglasses
hollister pas cher
true religion jeans
ray ban sunglasses
mont blanc
coach outlet
louis vuitton outlet
louis vuitton outlet
michael kors outlet online
cheap snapbacks
burberry handbags
kate spade handbags
burberry outlet
coach factory outlet
gucci outlet
herve leger dresses
ferragamo shoes
marc jacobs
coach outlet store online
oakley sunglasses
adidas shoes
kobe 9
timberland boots
herve leger
cheap nfl jerseys
cheap oakley sunglasses
converse shoes
mcm bags
tods outlet
pandora jewelry 
cheap nba jerseys
coach outlet store
louis vuitton handbags
coach outlet
instyler ionic styler
air jordan shoes
babyliss

Unknown said...

ugg uk
oakley sunglasses canada
juicy couture outlet
air jordan 13
evening dresses
indianapolis colts jerseys
ugg boots
new orleans saints jerseys
nike running shoes
chicago blackhawks jersey
nike air max uk
nike trainers
denver broncos jerseys
true religion jeans
mizuno running
tory burch outlet
ysl outlet
hermes birkin
prada shoes
hermes belt
hermes outlet
michael kors outlet
arizona cardinals jerseys
michael kors uk
oakley sunglasses
moncler coats
los angeles clippers jerseys
mulberry outlet
real madrid jersey
seattle seahawks jerseys
gucci shoes
michael kors uk
bottega veneta outlet
vans shoes
atlanta falcons jersey
zhuweiming0622

Lili Wang said...

20150708wanglili
longchamp handbags
jordan 4
replica watches
abercrombie
abercrombie store
mont blanc
michael kors outlet
juicy couture
christian louboutin
lebron james shoes
timberland boots
celine
jordan 11 low
louis vuitton
toms shoes
sac longchamp
dior handbags
michael kors handbags
abercrombie store
tods shoes
nike air max
oakley sunglasses wholesale
coach factorty outlet
chanel handbags
true religion
jordan concords
football shoes
michael kors outlet
coach factory outlet
ray ban sunglasses
oakley sunglasses outlet
longchamp bags
oakley sunglasses
burberry outlet online
ray ban outlet

小 Gg said...

tiffany jewellery, http://www.tiffanyjewelleryoutlets.co.uk/
coach outlet online, http://www.coachoutletonline.in.net/
michael kors outlet, http://michaelkors.outletonlinestores.us.com/
chanel handbags, http://www.chanelhandbags-outlet.us.com/
fitflop, http://www.fitflop.in.net/
nike huarache, http://www.nike-airhuarache.co.uk/
mbt shoes, http://www.mbtshoesoutlet.us.com/
oakley sunglasses, http://www.oakley.in.net/
ralph lauren uk, http://www.ralphlaurenoutletuk.org.uk/
michael kors outlet, http://www.michaelkorsoutletusa.net/
thomas sabo uk, http://www.thomassabos.co.uk/
nike air force 1, http://www.airforce1.us.com/
christian louboutin, http://www.scarpelouboutin.it/
michael kors outlet, http://www.michaelkorsoutlets.uk/
basketball shoes, http://www.basketballshoes.us.com/
ghd hair straighteners, http://www.ghdhairstraightenerssale.co.uk/
coach outlet store, http://www.coach-outlet-store.us.com/
calvin klein underwear, http://www.calvinklein.in.net/
louis vuitton handbags, http://www.louisvuittonhandbags.org.uk/
air jordan 11, http://www.airjordan11.net/
louis vuitton handbags, http://www.louisvuittonhandbag.us/
nba jerseys, http://www.nbajerseys.us.com/
kkkkkk0925

dong dong said...

2015928dongdong
canada goose sale
canada goose
michael kors handbags
canada goose jackets
ugg boots sale
Oakley Polarized Sunglasses Cheap Outlet Store
Christian Louboutin Outlet Sale Cheap Online
coach outlet online
louis vuitton outlet stores
Cheap Christian Louboutin Shoes Sale
nike air max 90
ugg boots sale
louis vuitton
mihchael kors bag
jordan shoes
michael kors bags
Abercrombie and Fitch Store
Abercrombie and Fitch USA Outlet Store
coach outlet
michael kors outlet online
Coach Luggage Bags Outlet Sale Online
coach outlet online
toms outlet
true religion outlet
Designer Louis Vuitton Bags Discount
Coach Factory Handbags Outlet Store
Michael Kors Outlet Online Deals Huge
fitflops sale clearance
Louis Vuitton Online Shop Stores
Jordan 4 Shoes For Sale

ninest123 Ninest said...

ninest123 11.26
michael kors handbags, burberry factory outlet, longchamp bags, replica watches, louboutin uk, michael kors outlet, uggs outlet, prada handbags, louis vuitton outlet online, cheap oakley sunglasses, ralph lauren outlet, louis vuitton outlet, cheap jordans, louboutin shoes, louis vuitton, gucci handbags, ralph lauren polo, oakley sunglasses, oakley sunglasses, oakley sunglasses, longchamp outlet, ray ban sunglasses, longchamp outlet, nike outlet, ray ban sunglasses, christian louboutin, uggs outlet, prada outlet, nike free, michael kors outlet online, nike air max, ray ban sunglasses, uggs on sale, christian louboutin, nike air max, replica watches, michael kors outlet online, burberry outlet, uggs on sale, tiffany jewelry, louis vuitton handbags, oakley sunglasses, tiffany jewelry, uggs on sale, tory burch outlet, michael kors, louis vuitton outlet, michael kors outlet online

ninest123 Ninest said...

longchamp pas cher, timberland pas cher, polo ralph lauren uk, nike trainers uk, true religion outlet, hermes pas cher, nike roshe run pas cher, nike tn pas cher, michael kors, nike air max pas cher, michael kors uk, abercrombie and fitch UK, north face uk, north face pas cher, mulberry uk, vanessa bruno pas cher, michael kors, lunette ray ban pas cher, sac guess pas cher, longchamp soldes, nike air max uk, coach purses, louboutin pas cher, coach outlet store online, abercrombie and fitch, ralph lauren pas cher, true religion outlet, vans pas cher, hollister uk, nike free pas cher, true religion outlet, nike free, nike air max uk, ray ban uk, jordan pas cher, polo lacoste pas cher, nike blazer pas cher, hogan sito ufficiale, true religion jeans, lunette oakley pas cher, lululemon outlet, nike roshe uk, nike air max, new balance, converse, burberry pas cher, coach outlet, michael kors outlet online, nike air force

ninest123 Ninest said...

iphone 6s cases, mac cosmetics, north face outlet, oakley, vans scarpe, nike air max, hermes handbags, softball bats, ipad cases, s6 cases, louboutin, nike roshe run, gucci, vans outlet, abercrombie and fitch, celine handbags, mont blanc, valentino shoes, iphone 5s cases, ray ban, giuseppe zanotti, lululemon outlet, beats by dre, nfl jerseys, mcm handbags, bottega veneta, nike air max, iphone 6 cases, chi flat iron, insanity workout, iphone cases, converse, asics running shoes, instyler ionic styler, reebok outlet, babyliss pro, hollister clothing, north face outlet, polo ralph lauren, soccer shoes, wedding dresses, salvatore ferragamo, iphone 6 plus cases, new balance shoes, herve leger, iphone 6s plus cases, p90x workout, ghd hair, hollister, timberland boots, jimmy choo outlet, soccer jerseys

ninest123 Ninest said...

louis vuitton, pandora jewelry, moncler, pandora uk, canada goose, canada goose pas cher, barbour jackets uk, moncler, canada goose outlet, hollister, louis vuitton, moncler jackets, replica watches, toms shoes, uggs outlet, moncler, canada goose outlet, ugg pas cher, canada goose uk, lancel, ugg uk, juicy couture outlet, bottes ugg pas cher, converse shoes outlet, thomas sabo uk, karen millen uk, wedding dresses uk, sac louis vuitton, pandora charms, supra shoes, pandora jewelry, barbour, moncler pas cher, coach outlet, moncler outlet, marc jacobs, louis vuitton uk, ugg,uggs,uggs canada, swarovski jewelry, canada goose jackets, canada goose, sac louis vuitton, doke & gabbana, moncler, ugg,ugg australia,ugg italia, montre pas cher, canada goose jackets, swarovski uk, juicy couture outlet, links of london uk, moncler uk
ninest123 11.26

chenlina said...

chenlina20151219
canada goose outlet
mont blanc pens
ray ban outlet store
michael kors outlet
cheap uggs
michael kors outlet
beats by dre
ray ban sunglasses
louis vuitton outlet
fitflops
cheap oakley sunglasses
tory burch sale
michaek kors outlet
michael kors handbags
the north face uk
coach factory outlet
michael kors outlet
coach outlet store online
celine outlet
oakley sunglasses
coach outlet
michael kors handbags
louis vuitton
ugg outlet
fitflops sale clearance
longchamp outlet
marc jacobs handbags
ray ban sunglasses
canada goose coats
supra shoes
louis vuitton
louis vuitton
coach factory outlet
michael kors outlet
christian louboutin
nike huarache
nike huarache shoes
ugg outlet
jordan concords
kobe 9
as

艾丰 said...

jianbin0324
nike air max
swarovski outlet
ray-ban sunglasses
michael kors outlet online
jordan shoes
michael kors canada
michael kors handbags
lebron shoes
mbt shoes
air jordan 4
mlb jerseys
links of london
mcm backpack
pandora outlet
louis vuitton handbags
prada handbags
cheap nfl jersey
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
abercrombie and fitch
hermes birkin bag
cheap nike shoes
louis vuitton outlet store
michael kors outlet
michael kors handbags
louis vuitton outlet
michael kors factory outlet
hermes belt for sale
true religion jeans
mulberry outlet store
adidas outlet store
michael kors handbags
coach outlet store
air jordan shoes for sale
mac cosmetics
hermes outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
nike foamposite
nfl jerseys wholesale
lebron shoes

Xiaozhengm 520 said...

2016-4-7 xiaozhengm
nike basketball shoes
oakley sunglasses
michael kors outlet clearance
louis vuitton bags
replica watches
michael kors outlet
pandora jewelry
kate spade outlet
louis vuitton outlet
louis vuitton outlet
ray ban sunglasses
ray ban sunglasses
ray ban uk
coach factory outlet
oakley sunglasses
tiffany outlet
oakley sunglasses wholesale
replica watches
fitflops
nike uk
christian louboutin sale
nike sb
michael kors outlet clearance
michael kors outlet
michael kors outlet
ralph lauren
replica watches for sale
ray ban sunglasses
gucci outlet
coach outlet
michael kors outlet
tiffany and co
polo ralph shirts
cheap oakley sunglasses
michael kors handbags
nike air max 90
nike running shoes
coach outlet store online
mont blanc pens
insanity workout

chenlina said...

chenlina20160616
nike basketball shoes
nike factory outlet
toms shoes
adidas shoes
oakley vault
replica watches
timberland boots
ray ban sunglasses
cheap ray ban sunglasses
air jordans
tiffany and co
christian louboutin outlet
michael kors outlet
michael kors outlet clearance
ray ban sunglasses
nike sb shoes
christian louboutin sale
toms wedges
burberry outlet
michael kors outlet
toms outlet
polo ralph lauren
louis vuitton
asics outlet
coach factory outlet
nike air max
coach outlet store online clearances
ralph lauren outlet
louis vuitton purses
louis vuitton handbags
louis vuitton outlet
oakley sunglasses
toms outlet
coach factory outlet
giuseppe zanotti
coach outlet
kate spade handbags
cheap toms
running shoes
oakley vault
as

chenzhen said...

zhuo20160603
ray ban sunglasses
cheap oakley sunglasses
longchamp bag
cheap nike shoes
oakley vault
nike free flyknit 4.0
rolex replica watches
coach outlet store online
coach outlet online coach factory outlet
coach outlet
pandora jewelry
nike huarache
michael kors outlet store
skechers outlet
michael kors outlet clearance
hollister co
nike free run black
instyler max
ralph lauren outlet
cheap nba jerseys
north face jackets
louboutin uk
coach outlet store
cheap jordans
babyliss flat iron
cheap jordans
hugo boss outlet
oakley sunglasses
michael kors outlet clearance
ray ban sunglasses
fitflops outlet
christian louboutin outlet
michael kors outlet
ralph lauren outlet
buy red bottoms
ghd hair straighteners
bottega veneta handbags
nike air max 90

Unknown said...

michael kors outlet
jordan pas cher
ray-ban sunglasses
ghd hair straighteners
rolex watches
oakley sunglasses wholesale
tods outlet
rolex watches
hermes bags
michael kors outlet
chanyuan10.05

Hua Cai said...

juicy couture outlet
cheap ray ban sunglasses
fitflops clearance
michael kors
michael kors outlet clearance
coach factory outlet
kate spade uk
mulberry handbags
true religion jeans
louis vuitton
20161227caihuali

Unknown said...

michael kors outlet
coach outlet store
michael kors outlet store
michael kors uk
eagles jerseys
replica watches
michael kors handbags
valentino shoes
dolce and gabbana outlet
ralph lauren outlet online

caiyan said...

mlb jerseys
birkenstock
cheap jerseys
coach handbags outlet
adidas nmd runner
michael kors outlet online
yeezy boost 350
air max
christian louboutin
chaussure louboutin pas cher
0407shizhong

dong dong23 said...

coach factory outlet
birkenstock shoes
pandora rings clearance
michael kors outlet online
coach outlet store online clearances
ysl bags
adidas outlet
oakley outlet
polo ralph lauren
adidas nmd xr1
2017.5.2chenlixiang

raybanoutlet001 said...

ugg boots
true religion jeans
nike huarache
coach outlet online
michael kors handbags
hugo boss sale
new england patriots jerseys
oakley sunglasses
michael kors handbags
gucci sale

xjd7410@gmail.com said...

adidas shoes
coach outlet
coach factory outlet
louis vuitton outlet
louis vuitton
nike roshe run
coach outlet
true religion canada
chrome hearts outlet
adidas nmd
chanyuan2017.06.02

chenlina said...

puma shoes
coach factory outlet
coach outlet online
canada goose outlet store
nike outlet
adidas outlet online
valentino shoes
adidas yeezy shoes
oakley sunglasses
michael kors outlet
wanglili20170623

da xu said...

mont blanc pen
polo ralph lauren
pandora charms
louboutin outlet
discount nike shoes
michael kors outlet
adidas yeezy boost
longchamp
michael kors
jordan uk
xushengda0630

ASO Services said...

Thanks on your marvelous posting! It is very useful and good.Come on. I want to introduce an get app installs, I try it and I feel it is so good to rank app to top in app store search results, have you ever heard it?