swat's smb.conf file?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers swat's smb.conf file?
# 1  
Old 10-26-2003
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
# 2  
Old 10-26-2003
check for it in /etc/smb.conf or /etc/samba/smb.conf

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

Smilie
# 3  
Old 10-27-2003
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'

Smilie
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
ok thanx i didnt think smb was in the /etc
# 5  
Old 10-27-2003
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
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
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.

Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

2. UNIX for Dummies Questions & Answers

Smb.conf config help

So what i am trying to accomplish is the following: a share that is browse-able by every one on the network with a group of people that can write to it with out ownership problems. I am extremely new to samba/linux and any help would be greatly appreciated. It is a stand alone server running samba... (3 Replies)
Discussion started by: dcs
3 Replies

3. Red Hat

SWAT Installation problems

Hi, I have been trying to install SWAT on redhat 6 for samba4. The samba server was installed by another administrator but not swat. Please find output of yum install samba-swat in the attached file (2 Replies)
Discussion started by: p2bas
2 Replies

4. UNIX for Dummies Questions & Answers

How to configure smb.conf for read and copy access only

Hi there, I want to give access with samba to a folder but with read and copy rights but no write. I don't want somebody to be able to delete the files. I found the read only parameter but this doesn't allow the users to copy the files. Is there an option for this? The configuration looks... (2 Replies)
Discussion started by: sickboy
2 Replies

5. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

6. Shell Programming and Scripting

crontab; copy most recent *.mpg file from local machine to smb storage device

Hello, I've been searching your forum for an answer to the following question and whilst I've seen several which may help I'm afraid my inexperience with UNIX systems has got the better of me and I'm incapable of piecing your considerable expertise together. Problem: I have a linux box which... (5 Replies)
Discussion started by: julezsht
5 Replies

7. UNIX for Dummies Questions & Answers

smb.conf question

Folks; I know this might sounds stupid, but please help with this: I have share in my smb.conf on my SUSE 10 box. How can i make this share accessible to outside IP range or a specific IP address without need for user/pass? Here's the share as it's written in smb.conf: ; ;comment =... (0 Replies)
Discussion started by: Katkota
0 Replies

8. SuSE

starting SWAT

everytime I try to start SWAT using : www.localhost:901, it takes me to goggle the search engine. IM still new in the linux world and Im a bit confussed now. any help would be great. Im currently running redhat linux fedora. (5 Replies)
Discussion started by: keliy1
5 Replies

9. UNIX for Advanced & Expert Users

Samba 2.2.5 smb.conf for noobies

Is there a generic smb.conf file that should work on all systems? Right now I am running Red Hat 7.3 and also have 3XP machines and 1 2000 pro. (1 Reply)
Discussion started by: GJC
1 Replies
Login or Register to Ask a Question