Sun Jun 29 13:25:51 GMT 2003
Hi, samba 2.2.8a freshly compiled cups 1.1.19final-1 (debian)
while using cupsaddsmb, all runs well until adddriver, when rpcclient
returns a cryptic NT_STATUS_NO_SUCH_DEVICE. I've followed the
SambaPrintHowto 3.0 from 7.11.6.1 to 7.11.6.6,
Read 8.5 too...
Also, 7.11.6 is describing the pure commandline installation of the driver files using smbclient and rpcclient. Your quotes below show your usage of "cupsaddsmb", which is discussed in 7.10.x....
and it fails on the latest as well.
Here is some more information.
===8<=== cupsaddsmb -a -v
[....]
Running command: rpcclient localhost -N -U'root%password' -c 'adddriver "Windows NT x86" "MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N ULL"' INFO: Debug class all level = 3 (pid 20372 from pid 20372) session setup ok Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a] cmd = adddriver "Windows NT x86" "MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N ULL" adddriver "Windows NT x86" "MomijiPrintingSystem:cupsdrvr.dll:MomijiPrintingSystem.ppd:cupsui.dll:cups.hlp:NULL:RAW:N ULL" result was NT_STATUS_NO_SUCH_DEVICE
This one is your main problem, part 1.
[....]
Running command: rpcclient localhost -N -U'root%password' -c 'adddriver "Windows 4.0" "MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC ONLIB.DLL"' INFO: Debug class all level = 3 (pid 20376 from pid 20376) session setup ok Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a] cmd = adddriver "Windows 4.0" "MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC ONLIB.DLL" adddriver "Windows 4.0" "MomijiPrintingSystem:ADOBEPS4.DRV:MomijiPrintingSystem.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA W:ADOBEPS4.DRV,MomijiPrintingSystem.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,IC ONLIB.DLL" result was NT_STATUS_NO_SUCH_DEVICE
This one is your main problem, part 2.
Running command: rpcclient localhost -N -U'root%password' -c 'setdriver MomijiPrintingSystem MomijiPrintingSystem' INFO: Debug class all level = 3 (pid 20378 from pid 20378) session setup ok Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.8a] cmd = setdriver MomijiPrintingSystem MomijiPrintingSystem setdriver MomijiPrintingSystem MomijiPrintingSystem SetPrinter call failed! result was NT_STATUS_ACCESS_DENIED
This one is most likely caused by the previous error.
===8<===
===8<=== /etc/samba/smb.conf # Global parameters [global] workgroup = NAVI server string = %h server (Samba %v) security = SHARE
Try "security = user"...
[....]
===8<===
I hope somebody can help me, it's been a month I started to try to add this printer :-)
Your log level of 3 should be sufficient to uncover the problem. Scan the Samba log (probably in "/var/log/samba/log.smbd") for *all* messages occuring during you run cupsaddsmb. You might discover an "access denied" or a similar problem
Damien
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba