Solved

Can not find smb.conf

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
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…
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.

759 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

20 Experts available now in Live!

Get 1:1 Help Now