View previous topic :: View next topic |
Author |
Message |
Magnetron n00b
Joined: 22 May 2004 Posts: 12 Location: USSR
|
Posted: Sat May 22, 2004 6:32 pm Post subject: Samba can't find include file /etc/samba/smb.conf |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat May 22, 2004 6:33 pm Post subject: |
|
|
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 |
|
|
Magnetron n00b
Joined: 22 May 2004 Posts: 12 Location: USSR
|
Posted: Sat May 22, 2004 6:57 pm Post subject: |
|
|
# 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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat May 22, 2004 7:05 pm Post subject: |
|
|
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 |
|
|
Magnetron n00b
Joined: 22 May 2004 Posts: 12 Location: USSR
|
Posted: Sat May 22, 2004 7:11 pm Post subject: |
|
|
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 |
|
|
|