Solved

samba configuration

Posted on 2014-02-25
3
1,034 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 28

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 28

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

786 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