Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Can not find smb.conf

Posted on 2004-08-12
3
1,050 Views
Last Modified: 2013-12-15
I am running red hat 2.4.2

I need to update the samba server config file

I am fairly new to linux but i know a few commands

I can not find the location of the smb.conf file

its not in its default location

can someone tell me the exact command i can use, to find specific location of smb.conf

thank you

Kevin
0
Comment
Question by:krazieintent
3 Comments
 
LVL 11

Accepted Solution

by:
avizit earned 250 total points
ID: 11786444
I think it should be at /etc/smb.conf

or if everything fails try

locate smb.conf .or if even that fails or you dont have 'locate' try

find / -name smb.conf


0
 
LVL 2

Assisted Solution

by:rmharwood
rmharwood earned 250 total points
ID: 11786829
> I am running red hat 2.4.2

Erm, are you sure? "2.4.2" sounds more like a kernel version than a Red Hat version.

The default location for smb.conf on Red Hat is /etc/samba/smb.conf if you have the Samba server RPM installed.

But use "locate" as previously mentioned to make sure.
0
 
LVL 3

Author Comment

by:krazieintent
ID: 11788037
i splt the points in half because indeed the location was /etc/samba/smb.conf

but i used the locate command to find it

thank you both

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Install Predefined Certificate on Ubunto 4 48
is my large folder zipped corrupted 4 77
Samba Question 11 73
When trying to install php-fpm on CentOS 7 - GPG error 2 42
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.:
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.

808 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