Solved

samba configuration

Posted on 2014-02-25
3
956 Views
Last Modified: 2014-03-15
[root@idm ~]# rpm -qa | grep samba
samba-common-3.6.9-167.el6_5.x86_64
samba-winbind-3.6.9-167.el6_5.x86_64
samba-winbind-clients-3.6.9-167.el6_5.x86_64
samba-client-3.6.9-167.el6_5.x86_64


[root@idm ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)

[root@idm ~]# ls -l /etc/samba/smb.conf
-rw-r--r--. 1 root root 10450 Feb 25 17:19 /etc/samba/smb.conf

why i am unable to see samba service?

[root@idm ~]# service smbd restart
smbd: unrecognized service


[root@idm ~]# /etc/rc.d/init.d/smb restart
-bash: /etc/rc.d/init.d/smb: No such file or directory
0
Comment
Question by:ittechlab
  • 2
3 Comments
 
LVL 27

Expert Comment

by:serialband
ID: 39887661
Try service smb restart instead?
0
 

Author Comment

by:ittechlab
ID: 39889503
[root@idm ~]# service smb restart
smb: unrecognized service
0
 
LVL 27

Accepted Solution

by:
serialband earned 400 total points
ID: 39890309
I looked at your question more closely and you don't have Samba server installed.  /etc/samba/smb.conf is the client configuration file.  The server file would be smbd.conf

Which linux is this?

apt-get install samba-server
yum install samba-server

You you have samba server installed, you should be able to configure it and start it.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now