Hi there,
I'm currently trying to automagically install my CUPS-printer with samba.
To do that I followed the process described in man cupsaddsmb.
I have the following files:
Code:
[/usr/share/cups/drivers]# ls *
cups6.inf cups6.ppd cupsui6.dll pscript5.dll pscript.ntf
cups6.ini cupsps6.dll ps5ui.dll pscript.hlp
x64:
cups6.inf cups6.ppd cupsui6.dll pscript5.dll pscript.ntf
cups6.ini cupsps6.dll ps5ui.dll pscript.hlp
My printer is configured rigth, I can print directly over HTTP with CUPS, but I need to manually install the printer's driver.
So I tried to use this:
Code:
[alarm.BAUER (52°C) ~]# cupsaddsmb -a -v
Das Passwort für root wird benötigt:
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (2342,4 kb/s) (average 2342,4 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (9328,9 kb/s) (average 8516,6 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (2825,3 kb/s) (average 7977,4 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (12042,9 kb/s) (average 9909,1 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (8974,6 kb/s) (average 9679,3 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (1,8 kb/s) (average 1,8 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1534,2 kb/s) (average 257,2 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1668,9 kb/s) (average 458,8 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (1952,0 kb/s) (average 1952,0 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (9581,1 kb/s) (average 8516,6 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (2119,0 kb/s) (average 7733,2 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (11769,2 kb/s) (average 9642,7 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (9129,3 kb/s) (average 9520,7 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (3,5 kb/s) (average 3,5 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1227,3 kb/s) (average 411,5 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1335,1 kb/s) (average 642,4 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/0068c4f86edda as \W32X86/HP_PRT_1.ppd (377,8 kb/s) (average 377,8 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (10582,1 kb/s) (average 5677,7 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (3178,4 kb/s) (average 5531,8 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (14187,5 kb/s) (average 8540,7 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (7673,9 kb/s) (average 8326,3 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
WARNING: The "printer admin" option is deprecated
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (6,4 kb/s) (average 6,4 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1534,2 kb/s) (average 649,7 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1668,9 kb/s) (average 951,7 kb/s)
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
result was WERR_ACCESS_DENIED
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Project-Id-Version: CUPS 1.4
Report-Msgid-Bugs-To: http://www.cups.org/str.php
POT-Creation-Date: 2012-01-30 14:18-0800
PO-Revision-Date: 2009-02-16 12:00-0800
Last-Translator: Apple Inc.
Language-Team: Apple Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
As you can see, it returns a WERR_ACCESS_DENIED, when it comes to installing the driver in samba.
I switched security to user in smb.conf and added root as Printer Admin.
Of course my Windows-PCs can't find the drivers when I'm doubleclicking the printer.
Why does the programm fail?