Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba & cups [Solved]
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
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Wed Feb 15, 2006 7:49 pm    Post subject: Samba & cups [Solved] Reply with quote

I am trying to setup samba on my server and i keep getting the following error.

I dont need cups support so is there a way to disable it so samba can start?

Code:
[2006/02/15 12:43:40, 0] smbd/server.c:main(798)
  smbd version 3.0.14a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2006/02/15 12:43:41, 0] printing/pcap.c:pcap_cache_reload(149)
  Unable to open printcap file /etc/printcap for read!
[2006/02/15 12:43:41, 0] printing/pcap.c:pcap_cache_reload(149)
  Unable to open printcap file /etc/printcap for read!
[2006/02/15 12:43:41, 1] auth/auth_util.c:make_server_info_sam(840)
  User local_user in passdb, but getpwnam() fails!


Last edited by KWhat on Wed Feb 15, 2006 8:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
DrWilken
Apprentice
Apprentice


Joined: 12 Dec 2003
Posts: 219
Location: Oelsted ("BeerPlace"), Denmark

PostPosted: Wed Feb 15, 2006 7:58 pm    Post subject: Reply with quote

What does emerge -vp samba give You? Sure You haven't got it as a USE flag?

It's on by default unless You specifically disable it.

Code:

# emerge -vp samba

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-fs/samba-3.0.14a-r2  -acl +cups -doc -examples -kerberos -ldap -libclamav +mysql +oav* +pam -postgres +python -quotas +readline (-selinux) -winbind -xml +xml2 15,420 kB

# cat /etc/make.conf |grep USE |grep cups
(...no output=no cups USE flag)

_________________
-=[DrWilken]=-
ASUS AT5IONT-I (64bit Dual Core Atom D525 processor with Nvidia ION(2) GPU) running Gentoo Linux... Latest and Greatest... :)
tux-power.dk
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Wed Feb 15, 2006 8:31 pm    Post subject: Reply with quote

fixed it.

I compiled with USE="-cups" but that didnt fix it, i got samba to start by added the system user to a samba user with smbpasswd. I think im still getting cups errors, but it works like a champ for sharing files with security.

Thanks
Back to top
View user's profile Send private message
DrWilken
Apprentice
Apprentice


Joined: 12 Dec 2003
Posts: 219
Location: Oelsted ("BeerPlace"), Denmark

PostPosted: Thu Feb 16, 2006 8:18 am    Post subject: Reply with quote

Okay,
I have it compiled with the cups USE flag too (not knowing it was default) for 3 years now, but just don't use the functionality (no connected printer to my server).

Works like a charm...
_________________
-=[DrWilken]=-
ASUS AT5IONT-I (64bit Dual Core Atom D525 processor with Nvidia ION(2) GPU) running Gentoo Linux... Latest and Greatest... :)
tux-power.dk
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