[Samba] [patch] document update for CUPS printing

John H Terpstra jht at samba.org
Wed Jan 28 05:29:15 GMT 2004


Hi,

This update has been applied to the XML sources. Thanks for the
submission.

- John T.

On Wed, 28 Jan 2004, JustFillBug wrote:

>
> This is what I found useful when put samba and CUPS together.
>
> diff -ur samba-3.0.1.orig/docs/htmldocs/CUPS-printing.html samba-3.0.1/docs/htmldocs/CUPS-printing.html
> --- samba-3.0.1.orig/docs/htmldocs/CUPS-printing.html	2004-01-28 10:56:08.000000000 +0800
> +++ samba-3.0.1/docs/htmldocs/CUPS-printing.html	2004-01-28 11:23:07.000000000 +0800
> @@ -1850,7 +1850,11 @@
>  parameter (which tries to prepare <span class="emphasis"><em>all</em></span> active CUPS
>  printer drivers for download), you might miss if individual printers
>  drivers had problems installing properly. Here a redirection of the
> -output will help you analyze the results in retrospective.
> +output will help you analyze the results in retrospective.<p/>
> +If you get<br/>
> +SetPrinter call failed!<br/>
> +result was WERR_ACCESS_DENIED<br/>
> +It means that you might have set 'use client driver = yes' for this printer. Set it to 'no' will solve the problem. Refer to man samba(5) for explanantion on 'use client driver'.
>  </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
>  It is impossible to see any diagnostic output if you do not run
>  <b class="command">cupsaddsmb</b> in verbose mode. Therefore, we strongly recommend to not
> @@ -3165,7 +3169,8 @@
>  <b class="command">smbpasswd -a root</b> to create the account and
>  continue entering the password into the first terminal. Or break
>  out of the loop by pressing ENTER twice (without trying to type a
> -password).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2950600"></a>&#8220;<span class="quote">cupsaddsmb</span>&#8221; Errors</h3></div></div><div></div></div><p>
> +password).</p>
> +If the error is "tree connect failed: NT_STATUS_BAD_NETWORK_NAME", you might forget to create the <a href="CUPS-printing.html#id2942980">/etc/samba/drivers directory.</a><p/></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2950600"></a>&#8220;<span class="quote">cupsaddsmb</span>&#8221; Errors</h3></div></div><div></div></div><p>
>  		The use of &#8220;<span class="quote">cupsaddsmb</span>&#8221; gives &#8220;<span class="quote">No PPD file for printer...</span>&#8221; Message While PPD File Is Present.
>  		What might the problem be?
>  		</p><p>Have you enabled printer sharing on CUPS? This means:
>
>
>
>

-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list