Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba can't find include file /etc/samba/smb.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Magnetron
n00b
n00b


Joined: 22 May 2004
Posts: 12
Location: USSR

PostPosted: Sat May 22, 2004 6:32 pm    Post subject: Samba can't find include file /etc/samba/smb.conf Reply with quote

Hi!

I'm trying to get my Samba running together with ClamAV
as described in the Gentoo Docs and in Gentoo Forums (I had read all discussions in Networking & Security Forum).

But I can't start my PrintServer

testparm spits out the following:

# testparm
Load smb config files from /etc/samba/smb.conf
Can't find include file /etc/samba/smb.conf.
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[XeroxPhaser3110]"
Processing section "[public]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions


mount -t smbfs //PrintServer/public /mnt/ spits out the following:

# mount -t smbfs //PrintServer/public /mnt/
7716: Connection to PrintServer failed
SMB connection failed

Way?!? What's problem?
Any ideas?
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat May 22, 2004 6:33 pm    Post subject: Reply with quote

What's the output of
Code:
grep -i include /etc/samba/smb.conf
?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Magnetron
n00b
n00b


Joined: 22 May 2004
Posts: 12
Location: USSR

PostPosted: Sat May 22, 2004 6:57 pm    Post subject: Reply with quote

# grep -i include /etc/samba/smb.conf
# yours is non-standard. Currently supported print systems include:
include = /etc/samba/smb.conf.%m
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat May 22, 2004 7:05 pm    Post subject: Reply with quote

Comment out the include line if you don't use per-machine includes (and my bet is you don't). If you really, really need to use those, put the value inside double quotes. But the best bet is a # in front.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Magnetron
n00b
n00b


Joined: 22 May 2004
Posts: 12
Location: USSR

PostPosted: Sat May 22, 2004 7:11 pm    Post subject: Reply with quote

Yes, U right. Thanks!

But I still can't start my PrintServer

# mount -t smbfs //PrintServer/public /mnt/
8214: Connection to PrintServer failed
SMB connection failed

Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum