• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1060
  • Last Modified:

Can not find smb.conf

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
krazieintent
Asked:
krazieintent
2 Solutions
 
avizitCommented:
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
 
rmharwoodCommented:
> 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
 
krazieintentAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now