Unable To Open Printcap File Cups For Read
I verified this:# ldd /usr/local/samba/sbin/smbd*snip*libcups.so.2 => /usr/lib/libcups.so.2 (0x400dc000)*snip*My smb.conf was copied from the HOWTO and the relevant sections looklike:[global]*snip*# print supportload printers = yesprinting = cupsprintcap name = cups*snip*[printers]comment = All Note that all files # created in the directory by users will be owned by the default user, so # any user with access can delete any other user's files. You should read the # smb.conf(5) manual page in order to understand the options listed # here. My > smb.conf definitely has "load printers = yes" (see the smb.conf excerpt > I sent in my initial post Sorry, hadn't seen it.... > for the rest of the relevant http://cleantechinnvest.com/unable-to/unable-to-open-printcap-file-etc-printcap-for-read-belkin.html
This command do some sort internal proccesing and then send the job from the spool samba to spool cups, and samba/cups integration is working perfect, but as I said, the unique It allows you to restrict # connections to machines which are on your local network. Note that fred must have write access to the spool directory, # wherever it is. ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections.
Something else seems to be at work here... > It's strange, true. security = user # This option is important for security. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # For a step to step guide on installing, I could've looked into smb.conf(5) to find this out but turned to the intertubes….and found your solution.
- Most people will want # user level security.
- max log size = 50 # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to
- Topics: Active | Unanswered Index »Applications & Desktop Environments »[Solved] Samba log spam: Unable to connect to CUPS server Pages: 1 #1 2009-04-18 19:34:56 FooSoft Member Registered: 2009-04-10 Posts: 15 Website
- As you can see in the smb.conf file, I'm being an idiot and placing printer variable settings outside of [global] :\ Offline #3 2009-10-16 00:19:40 lio Member From: Montréal, Canada Registered:
- See the Samba-HOWTO-Collection for details.
- Unless you found a real bug, that is!
- And I can still print from my Windows apps. (I can't print anymore from OpenOffice, since that one *does* look for a printcap....) > It stands to reason that it doesn't
- In this # setup, the directory should be writable by both users and should have the # sticky bit set on it to prevent abuse.
- Free forum by Nabble Edit this page
- is Samba reading the same thing?
[Samba] Samba 3.0.0, CUPS support - "Unable to open printcap file cups for read!" Kurt Pfeifle kpfeifle at danka.de Tue Dec 9 22:15:27 GMT 2003 Previous message: [Samba] Samba 3.0.0, CUPS I removed that line and it works great.thanks Last edited by lio (2009-10-16 00:20:14) Offline #4 2012-03-30 11:14:39 Dmitriy_Smirnov Member From: Riga Registered: 2011-06-18 Posts: 4 Re: [Solved] Samba log spam: See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # This may be obtained from: # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf # # Many working examples of smb.conf files can be found in the # Samba-Guide which is generated daily and can be downloaded from:
However smbd complains to no end in /var/log/errors.log about not being able to connect to a cups server:Apr 18 12:30:05 asakura nmbd: ***** Apr 18 12:30:05 asakura nmbd: Apr 18 12:30:05 Another user could of course # be specified, in which case all files would be owned by that user instead. ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only Ez lesz rendkívül hasznos és segítőkész nekem és a barátaimnak. samba version is samba-3.0.20 any ideas?
Thanks!-Fran--To unsubscribe from this list go to the following URL and read theinstructions: http://lists.samba.org/mailman/listinfo/samba 1 Reply 3 Views Switch to linear view Disable enhanced parsing Permalink to this page Thread Navigation What are the access rights on that printcap file, anyway? > I'm more asking about the root > problem of why it is complaining that it was "Unable to open printcap Reply ↓ Leave a Reply Cancel reply Your email address will not be published. Thanks.
Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser smbpasswd is available for backwards # compatibility. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. Mark On Thu, May 18, 2006 at 05:56:44PM +0200, Emilio Casbas wrote: > We've seen a lot of lines in samba log with the message; > > [2006/05/18 17:49:15, 0] printing/pcap.c:pcap_cache_reload(149)
HesabımAramaHaritalarYouTubePlayHaberlerGmailDriveTakvimGoogle+ÇeviriFotoğraflarDaha fazlasıDokümanlarBloggerKişilerHangoutsGoogle'a ait daha da fazla uygulamaOturum açınGizli alanlarGrupları veya mesajları ara linux.samba Discussion: [Samba] Samba 3.0.0, CUPS support - "Unable to open printcap file cups for read!" (too old to this contact form Reply ↓ col on April 18, 2013 at 22:23 said: thanks for this. I don't have any printers installed, and probably won't. Our smbd isn´t compiled with CUPS why we are using a customized "print command" however, we are using CUPS as printer system with; printing = CUPS printcap name = CUPS All
I have set "Printcap /dev/null" in cupsd.conf and re-started cupsd first then smbd. You could # also use the %U option to tailor it by user name. # The %m gets replaced with the machine name that is connecting. ;[pchome] ; comment = PC Thanks!-Fran--To unsubscribe from this list go to the following URL and read theinstructions: http://lists.samba.org/mailman/listinfo/samba Fran Fabrizio 2003-12-09 20:10:26 UTC PermalinkRaw Message A couple more data points:# smbclient //ds119b/ps4Password:tree connect failed: NT_STATUS_BAD_NETWORK_NAME#The have a peek here tdbsam requires no further configuration. ; passdb backend = tdbsam # Using the following line enables you to customise your configuration # on a per machine basis.
In bothcases, I am getting errors like this:Dec 9 13:38:17 ds119b smbd: [2003/12/09 13:38:17,0] printing/pcap.c:pcap_printername_ok(282)Dec 9 13:38:17 ds119b smbd: Unable to open printcap file cupsfor read!Any ideas? Use "testparm -v > smb-conf-as-seen-by-samba.txt" (hit ENTER twice) and then investigate "smb-conf-as-seen-by-samba.txt". > You mention that it complains that it can't find the share - I think it > makes perfect In bothDec 9 13:38:17 ds119b smbd: [2003/12/09 13:38:17,0] printing/pcap.c:pcap_printername_ok(282)Dec 9 13:38:17 ds119b smbd: Unable to open printcap file cupsfor read!Any ideas?
This # allows Samba to collate browse lists between subnets.
Maybe you compiled yourself, and are still starting the previous smbd in a different path (not having libcups support compiled in?) What is "which smbd" giving you? > Thanks for the In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever The %m gets replaced with the netbios name # of the machine that is connecting. # Note: Consider carefully the location in the configuration file of # this line. Arch Linux HomePackagesForumsWikiBugsAURDownload Index Rules Search Register Login You are not logged in.
For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.1. 192.168.2. 127. # If you want to automatically load your printer list rather # But... Obviously this could be extended to # as many users as required. ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; Check This Out If I try to directly access theprinter via \\ds119b\MyPrinterName, it gets stuck in a loop.
Reply ↓ C on February 24, 2013 at 22:55 said: Hah! Reply ↓ Alexander on May 18, 2013 at 12:49 said: Thank you! I checked my cupsd.conf to make sureit had a Printcap = /etc/printcap and PrintcapFormat = BSD entries andit does. you can use CUPS with samba even if samba is not linked against libcups.so. > >From the smb.conf manual page: > > "For printing = CUPS : If SAMBA is
Possible # values are share, user, server, domain and ads. Thanks Emilio C. > > Mark > > > On Thu, May 18, 2006 at 05:56:44PM +0200, Emilio Casbas wrote: > >> We've seen a lot of lines in Reply ↓ SLT-A77 on November 17, 2011 at 12:01 said: Köszönjük, hogy az őszinte kísérlet beszélni erről. Úgy érzem, nagyon erős róla, és szeretnék tovább.