The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring snmpd.conf and snmptrapd.conf jagdish.machhi@ UNIX for Advanced & Expert Users 2 04-17-2008 12:01 PM
snmptrap.conf file swapna_me IP Networking 0 04-16-2008 11:41 PM
Accessing Variables from .conf file wayne1411 Shell Programming and Scripting 7 01-30-2008 01:30 PM
Linux file corresponding to HP-UX inetd.conf jyotipg UNIX for Advanced & Expert Users 2 08-14-2003 06:31 AM
inetd.conf file = gone on my home linux box nemex UNIX for Dummies Questions & Answers 2 12-26-2001 09:51 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-26-2003
Registered User
 

Join Date: Feb 2003
Posts: 22
Question swat's smb.conf file?

i am running samba 3 on solaris 9
i have a question where is the smb.conf located
is it in /usr/local/samba/lib or private
Forum Sponsor
  #2  
Old 10-26-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
check for it in /etc/smb.conf or /etc/samba/smb.conf

or better yet... search for it !!
'find / | grep smb.conf'

  #3  
Old 10-27-2003
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
Quote:
Originally posted by norsk hedensk
check for it in /etc/smb.conf or /etc/samba/smb.conf

or better yet... search for it !!
'find / | grep smb.conf'

i have never had samba installed in etc.
you should never install software in etc.

the smb.conf file is always going to be located in the <samba root>/lib/smb.conf

if samba is running do a ps -Af|grep smb and it will show you where and which smb.conf is being used.
  #4  
Old 10-27-2003
Registered User
 

Join Date: Feb 2003
Posts: 22
ok thanx i didnt think smb was in the /etc
  #5  
Old 10-27-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
i dont have samba installed in /etc either... but the config files for samba are in /etc on my system.

/etc/samba contains:
lmosts
secrets.tdb
smb.conf
smbfstab
smbpasswd
smbusers

besides, dosnt this make more sense anyway? config files generally are always in /etc , or at least should be.
  #6  
Old 10-27-2003
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
Quote:
Originally posted by norsk hedensk
i dont have samba installed in /etc either... but the config files for samba are in /etc on my system.

/etc/samba contains:
lmosts
secrets.tdb
smb.conf
smbfstab
smbpasswd
smbusers

besides, dosnt this make more sense anyway? config files generally are always in /etc , or at least should be.
i dunno. i come from teh school of thought that software packages should reside in 1 directory, not spread out in 100 differant locations.

i like to goto a specific software directory to look at the logs for that software.

it makes sence in my head.
  #7  
Old 10-27-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
i understand what you mean, i used to think the same way when i first switched from windows.
however after using unix for a while i got used to it and having a directory for configs and such makes sense. theres a bunch of different arguments on which way is better, because spreading everything out across the filesystem does seem, well less than intuitive.

but isnt that one of the reasons we use unices anyway? you can configure and customize your system as much as you want, (almost) whatever way you want.

Google The UNIX and Linux Forums
Closed Thread

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0