LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2005, 07:59 AM   #1
willigi
LQ Newbie
 
Registered: Jan 2005
Location: Bern (Switzerland)
Distribution: Debian (Sarge)
Posts: 23

Rep: Reputation: 15
Question i have no smb.conf


hi you all,

at the moment im installing the samba-server on my linux machine. It runs a Debian 3.00rc2 on it and the samba-version whitch im installing is 3.0.10.

so if i do compile an install the server as its described in the how-to, the installation process end and display no error.

I can also start smbd and nmbd, but if i want to edit the configfile i cant find it. as i installed samba i have no arguments set as i run ./configure.

ive looked also in the install how-tos of samba, and there is wrote that the config file can be located in /etc/samba or in /usr/local/samba/lib, but there is nothing.

so can anybody tell me where my config file is?

much thanks

willigi

Last edited by willigi; 01-12-2005 at 08:21 AM.
 
Old 01-12-2005, 08:29 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
do a
> updatedb
> locate smb.conf
or
> find / -name smb.conf
 
Old 01-12-2005, 08:35 AM   #3
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
You have to create the config file yourself, there should be example files to work from in the samba source tree. look in the examples directory. If you ran the configure script with no arguments then the default location for your conf file *should* be in /usr/local/samba/lib.

HTH

Mad.
 
Old 01-12-2005, 08:44 AM   #4
willigi
LQ Newbie
 
Registered: Jan 2005
Location: Bern (Switzerland)
Distribution: Debian (Sarge)
Posts: 23

Original Poster
Rep: Reputation: 15
THANKS!!!!

>>> If you ran the configure script with no arguments then the default location for your conf file *should* be in /usr/local/samba/lib.

Yeah *should* is very right, because it isnt really so. ;-)

but if i create a file at any place, i must smbd an nmbd start with the parameter -s.

And if i will not do this, where must i locate my config file, that i must only start nmbd and smbd (without parameters) and it takes the config file?

whitch is the directory where samba looks per default for the configfile?

THX

will

Last edited by willigi; 01-12-2005 at 09:31 AM.
 
Old 01-12-2005, 10:48 AM   #5
sludink
Member
 
Registered: Jan 2005
Location: Brabant, the Netherlands
Distribution: Gentoo 2004.x (2.6.10 hardened)
Posts: 91

Rep: Reputation: 15
A little trick:

Configuring the file yourself is VERY much work (especially the reading of man smb.conf) and a bit difficult.

I used SWAT instead, which is a web-interface (like the cups-one, if you know it) frontend that makes a smb.conf file at the right place according to you're wishes. To configure things, you just click on things like in windows.

SWAT is started from inetd or xinetd. In my distro (gentoo) SWAT was installed already with samba, and I easily could install xinetd and start the thing, and run in my browser:
localhost:901.

A website explaining how to use SWAT is at:

http://techrepublic.com.com/5100-6261-1035709.html

Just one of the first I found at google, you could find a better one yourself if this one isn't good enough, just search for "samba swat" and you find many pages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smb.conf example xox Linux - Networking 7 10-09-2010 02:04 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
smb.conf youssefe2k Linux - Networking 1 01-25-2004 02:56 AM
smb.conf help PlatinumRik Linux - Networking 6 05-29-2003 01:30 PM
where is my smb.conf pallocca Linux - General 14 03-04-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration