How To Configure Linux Samba Server Step by Step Guide Example and Implementation
How To Configure Linux Samba Server Step by Step Guide Example and Implementation
How To Configure Linux Samba Server Step by Step Guide Example and Implementation
Most Linux systems are the part of networks that also run Windows systems. Using Linux Samba servers, your Linux and Windows systems can share directories and printers. This is most use full situation where your clients are window native and you want to use the linux security features. Exam question There are mixed lots of System running on Linux and Windows OS. Some users are working onWindows Operating System. There is a /data directory on linux server should make available on windows to only vinita should have right to connect with samba server . Configure to make available.
We have configured all these steps in our pervious article. necessary configuration for samba server We suggest you to review that article before start configuration of samba server. Once you have completed the necessary steps follow this guide.
samba rpm is required to configure samba server. check them if not found then install
Now
After
reboot
verify
their
status.
It
must
be
in
running
condition
Create
normal
user
named vinita
now
and
grant
it full
permission
By default name of workgroup is MYGROUP in smb.conf file. you can change it with desire name
our task is to share data folder for vinita user so go in the end of file and do editing as shown here in this image
user
to samba
user
we have made necessary change now on smb service and check it status
if you already have on this service then restart it with service smb restart commands. Go on windows system and ping samba server, change computer name to client2 andworkgroup name to MYGROUP
reboot system after changing workgroup name After reboot open my network place here you can see samba server [ if not see then click on view workgroup computer in right pane, if still not see then use search button from tool bar and search computer samba server form ip ]
First try to login from user nikita she will not successes as nikita have not permission to login
give
the
password
which
you
set
As you can see in image user vinita gets the /data folder which we share from samba server
Copy
some
window
files
in data folder
on samba server you can check runtime status of samba server to check it run smbstatuscommand
in output you see that one samba shared directory is used on window system