Solved

Can not find smb.conf

Posted on 2004-08-12
3
1,048 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

770 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