Re: [Samba] Printer drivers installation: files are not deleted
Le 21.03.2011 16:55, Thomas Stegbauer a écrit : hi laurent, i found the error. with all the tests there was set: use client driver = yes :( now i can upload drivers and register drivers by apw and cupsaddsmb best regards thank you very for your assistance Heh, you're welcome, but I didn't do much, I didn't think about that at all. So thanks for the feedback, that piece of info can be useful in the future! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Am 20.03.2011 22:34, schrieb Thomas Stegbauer: Am 17.03.2011 11:19, schrieb Laurent Blume: Le 15.03.2011 13:09, Thomas Stegbauer a écrit : i cant imagin, where this permission is set. 1. i apply the driver via apw from windows xp32 as root 2. net rpc rights list root Enter root's password: SePrintOperatorPrivilege 3. i can was able to upload the driver for HP Color LaserJet PS but i cant upload Kyocera 5350 UPD or KX driver also not OK ES7411 PS (v1.0.0) You need to check there is nothing wrong on the print share, like subdirectories with the wrong permissions or something like that. Remember you need both the rights to manipulate printers and to write files in the right place. Laurent hi laurent, now i tried now cupsaddsmb. it can upload the driver well, there is printer3.ppd (how the printer is named). There is also a printer3 in windows under drivers listed. but the driver is not set for the printer3. so what is failing, is the following command: rpcclient pa-server1 -U net\\root -c 'setdriver drucker3 drucker3' 1/tmp/rpcsetdriver.txt also net rpc -S pa-server1 rights list privileges SePrintOperatorPrivilege gives me the information NET\root is has the SePrintOperatorPrivilege also i removed the printer admin parameter from smb.conf and left only enable privileges=yes over. but know change :( best regards thomas hi laurent, i found the error. with all the tests there was set: use client driver = yes :( now i can upload drivers and register drivers by apw and cupsaddsmb best regards thank you very for your assistance thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Am 17.03.2011 11:19, schrieb Laurent Blume: Le 15.03.2011 13:09, Thomas Stegbauer a écrit : i cant imagin, where this permission is set. 1. i apply the driver via apw from windows xp32 as root 2. net rpc rights list root Enter root's password: SePrintOperatorPrivilege 3. i can was able to upload the driver for HP Color LaserJet PS but i cant upload Kyocera 5350 UPD or KX driver also not OK ES7411 PS (v1.0.0) You need to check there is nothing wrong on the print share, like subdirectories with the wrong permissions or something like that. Remember you need both the rights to manipulate printers and to write files in the right place. Laurent hi laurent, now i tried now cupsaddsmb. it can upload the driver well, there is printer3.ppd (how the printer is named). There is also a printer3 in windows under drivers listed. but the driver is not set for the printer3. so what is failing, is the following command: rpcclient pa-server1 -U net\\root -c 'setdriver drucker3 drucker3' 1/tmp/rpcsetdriver.txt also net rpc -S pa-server1 rights list privileges SePrintOperatorPrivilege gives me the information NET\root is has the SePrintOperatorPrivilege also i removed the printer admin parameter from smb.conf and left only enable privileges=yes over. but know change :( best regards thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Quoting Thomas Stegbauer (tho...@stegbauer.info): Hi Laurent, i cant imagine it is a permission problem. The driver upload runs as root and i added root Also i added root with net rpc rights grant cake\domadm SePrintOperatorPrivilege -U cake/root replaced cake with my domain-name. Also i find a driver which i can upload HP Color Laserjet 2800 (PS) from Windows XP 32 But if Using a driver from Utax (or the appropriate Version from Kyocera) i get the permission error. Using a fresh installed Windows for printer driver extraction is imho no long term solution ;) FWIW, on the setup described by Laurent (we both work in the same organization), we finally decided to go back to the method we've always been using : load drivers from Windows clients. We more and more only have HP printers and we're indeed using only one driver: the HP Universal Printing driver (actually, it's more 2-3 different drivers on each samba print spooler but that's much better than a big mess of dozens of drivers that mutually overwrite files). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Le 15.03.2011 13:09, Thomas Stegbauer a écrit : i cant imagin, where this permission is set. 1. i apply the driver via apw from windows xp32 as root 2. net rpc rights list root Enter root's password: SePrintOperatorPrivilege 3. i can was able to upload the driver for HP Color LaserJet PS but i cant upload Kyocera 5350 UPD or KX driver also not OK ES7411 PS (v1.0.0) You need to check there is nothing wrong on the print share, like subdirectories with the wrong permissions or something like that. Remember you need both the rights to manipulate printers and to write files in the right place. Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Hi Daniel, thank you for your response. What is the value of the variable $DRIVER? From documentation i read, this the is driver-name (as listed under advanced in the printer-settings on windows) But if the driver does not get copied over? best regards thomas - Ursprüngliche Mail - Von: Daniel Müller muel...@tropenklinik.de An: Thomas Stegbauer mailinglis...@stegbauer.info, Laurent Blume laur...@opensolaris.org CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 08:54:41 Betreff: AW: [Samba] Printer drivers installation: files are not deleted Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64. dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn10 4.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl 104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmp w081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hp cls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104 .dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT. dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Hi Laurent, i cant imagine it is a permission problem. The driver upload runs as root and i added root Also i added root with net rpc rights grant cake\domadm SePrintOperatorPrivilege -U cake/root replaced cake with my domain-name. Also i find a driver which i can upload HP Color Laserjet 2800 (PS) from Windows XP 32 But if Using a driver from Utax (or the appropriate Version from Kyocera) i get the permission error. Using a fresh installed Windows for printer driver extraction is imho no long term solution ;) best regards Thomas - Ursprüngliche Mail - Von: Laurent Blume laur...@opensolaris.org An: Thomas Stegbauer mailinglis...@stegbauer.info CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 09:04:21 Betreff: Re: [Samba] Printer drivers installation: files are not deleted Le 13.03.2011 22:37, Thomas Stegbauer a écrit : i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. I think thatś most probably a permission issue on the server. Does the user you connect with have printer administrator privilege? Ie, member of the printadm group or similar? Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. I followed the documentation on that: I install them on a clean test system (win7 x64), then extract the list of files and the files themselves using rpcclient. That part works. Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Then try first: Net rpc rights grant yourusername/or groupname SePrintOperatorPrivilege -Uyouradmin The $DRVIER ist the driver you uploaded with rpcclient. Rpcclient -L localhost -U root -c 'setdriver AdobePs5.dll adobe' EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de Von: Thomas Stegbauer [mailto:tho...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 11:20 An: muel...@tropenklinik.de Cc: samba@lists.samba.org; Laurent Blume Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hi Daniel, thank you for your response. What is the value of the variable $DRIVER? From documentation i read, this the is driver-name (as listed under advanced in the printer-settings on windows) But if the driver does not get copied over? best regards thomas Von: Daniel Müller muel...@tropenklinik.de An: Thomas Stegbauer mailinglis...@stegbauer.info, Laurent Blume laur...@opensolaris.org CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 08:54:41 Betreff: AW: [Samba] Printer drivers installation: files are not deleted Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64. dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn10 4.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl 104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmp w081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hp cls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104 .dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT. dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Am 13.03.2011 22:37, schrieb Thomas Stegbauer: Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer #https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=tho...@stegbauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
my mailserver exchanged my sender-adress before. Am 11.03.2011 16:59, schrieb Thomas Stegbauer: Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer #https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=tho...@stegbauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Hello Daniel, where do i get all the dlls needed for the driver? the test HP Color Laserjet 2800 (PS) from Windows XP has 23files? is it really needed to extract them from a fresh Windows Install? net rpc rights is already done. best regards thomas Am 15.03.2011 11:36, schrieb Daniel Müller: Then try first: Net rpc rights grant yourusername/or groupname SePrintOperatorPrivilege -Uyouradmin The $DRVIER ist the driver you uploaded with rpcclient. Rpcclient -L localhost -U root -c 'setdriver AdobePs5.dll adobe' EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de Von: Thomas Stegbauer [mailto:tho...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 11:20 An: muel...@tropenklinik.de Cc: samba@lists.samba.org; Laurent Blume Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hi Daniel, thank you for your response. What is the value of the variable $DRIVER? From documentation i read, this the is driver-name (as listed under advanced in the printer-settings on windows) But if the driver does not get copied over? best regards thomas Von: Daniel Müllermuel...@tropenklinik.de An: Thomas Stegbauermailinglis...@stegbauer.info, Laurent Blumelaur...@opensolaris.org CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 08:54:41 Betreff: AW: [Samba] Printer drivers installation: files are not deleted Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64. dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn10 4.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl 104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmp w081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hp cls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104 .dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT. dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
If you already uploaded the driver to [print$] rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. You need in this second step only to know what is the main driver: This could be Rpcclient -L localhost -U root -c 'setdriver PSCRIPT5.dll HP Universal Printing PS ' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: Thomas Stegbauer [mailto:mailinglis...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 12:02 An: muel...@tropenklinik.de Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hello Daniel, where do i get all the dlls needed for the driver? the test HP Color Laserjet 2800 (PS) from Windows XP has 23files? is it really needed to extract them from a fresh Windows Install? net rpc rights is already done. best regards thomas Am 15.03.2011 11:36, schrieb Daniel Müller: Then try first: Net rpc rights grant yourusername/or groupname SePrintOperatorPrivilege -Uyouradmin The $DRVIER ist the driver you uploaded with rpcclient. Rpcclient -L localhost -U root -c 'setdriver AdobePs5.dll adobe' EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de Von: Thomas Stegbauer [mailto:tho...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 11:20 An: muel...@tropenklinik.de Cc: samba@lists.samba.org; Laurent Blume Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hi Daniel, thank you for your response. What is the value of the variable $DRIVER? From documentation i read, this the is driver-name (as listed under advanced in the printer-settings on windows) But if the driver does not get copied over? best regards thomas Von: Daniel Müllermuel...@tropenklinik.de An: Thomas Stegbauermailinglis...@stegbauer.info, Laurent Blumelaur...@opensolaris.org CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 08:54:41 Betreff: AW: [Samba] Printer drivers installation: files are not deleted Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104
Re: [Samba] Printer drivers installation: files are not deleted
ok, where do i know what files do need? all files from the extracted directory? for example i have an oki ES7411 the extracted directory looks like this: not all files listed. oki-c610 OKB3S035.INF file OK091U0S.CCM file okb3x035.hlp file i386 directory (containing 19files) askoki.dll OKC711B3.PPD .. amd64 directory (containing 17 files) OKC711BA.PPD ... interesting there are PPD in one directory, but not in the other. where do i get the driver Name HP Universal Printing PS (v5.1) this is the name listd in the advanced tab driver on the windows client? or can this get extracted from the inf file? Am 15.03.2011 12:30, schrieb Daniel Müller: If you already uploaded the driver to [print$] rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. You need in this second step only to know what is the main driver: This could be Rpcclient -L localhost -U root -c 'setdriver PSCRIPT5.dll HP Universal Printing PS ' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: Thomas Stegbauer [mailto:mailinglis...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 12:02 An: muel...@tropenklinik.de Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hello Daniel, where do i get all the dlls needed for the driver? the test HP Color Laserjet 2800 (PS) from Windows XP has 23files? is it really needed to extract them from a fresh Windows Install? net rpc rights is already done. best regards thomas Am 15.03.2011 11:36, schrieb Daniel Müller: Then try first: Net rpc rights grant yourusername/or groupname SePrintOperatorPrivilege -Uyouradmin The $DRVIER ist the driver you uploaded with rpcclient. Rpcclient -L localhost -U root -c 'setdriver AdobePs5.dll adobe' EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de Von: Thomas Stegbauer [mailto:tho...@stegbauer.info] Gesendet: Dienstag, 15. März 2011 11:20 An: muel...@tropenklinik.de Cc: samba@lists.samba.org; Laurent Blume Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hi Daniel, thank you for your response. What is the value of the variable $DRIVER? From documentation i read, this the is driver-name (as listed under advanced in the printer-settings on windows) But if the driver does not get copied over? best regards thomas Von: Daniel Müllermuel...@tropenklinik.de An: Thomas Stegbauermailinglis...@stegbauer.info, Laurent Blumelaur...@opensolaris.org CC: samba@lists.samba.org Gesendet: Montag, 14. März 2011 08:54:41 Betreff: AW: [Samba] Printer drivers installation: files are not deleted Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF
Re: [Samba] Printer drivers installation: files are not deleted
Am 14.03.2011 09:04, schrieb Laurent Blume: Le 13.03.2011 22:37, Thomas Stegbauer a écrit : i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. I think thatś most probably a permission issue on the server. Does the user you connect with have printer administrator privilege? Ie, member of the printadm group or similar? Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. I followed the documentation on that: I install them on a clean test system (win7 x64), then extract the list of files and the files themselves using rpcclient. That part works. Laurent hi laurent, i cant imagin, where this permission is set. 1. i apply the driver via apw from windows xp32 as root 2. net rpc rights list root Enter root's password: SePrintOperatorPrivilege 3. i can was able to upload the driver for HP Color LaserJet PS but i cant upload Kyocera 5350 UPD or KX driver also not OK ES7411 PS (v1.0.0) best regards thomas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Did you made a: rpcclient -L localhost -Uyouruser -c 'setdriver $DRIVER $PRINTER' --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: samba@lists.samba.org Betreff: Re: [Samba] Printer drivers installation: files are not deleted Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=thomas@steg bauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64. dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn10 4.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl 104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmp w081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hp cls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104 .dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT. dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Le 13.03.2011 22:37, Thomas Stegbauer a écrit : i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. I think thatś most probably a permission issue on the server. Does the user you connect with have printer administrator privilege? Ie, member of the printadm group or similar? Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. I followed the documentation on that: I install them on a clean test system (win7 x64), then extract the list of files and the files themselves using rpcclient. That part works. Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=tho...@stegbauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printer drivers installation: files are not deleted
Hallo Laurent, i have a similar problem, here. When trying to add a new printer via apw from a winXP32, the driver files get copied over to print$ on the ubuntu 10.04 Server (Samba 3.4.7) afterwards it says Permission denied And the driver get not registered. Where do you geht the filenames, the drivers needs? as i cant use rpcclient to register the drivers from commandline. best regards thomas # Thomas Stegbauer # https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=tho...@stegbauer.info # PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A Am 10.02.2011 15:37, schrieb Laurent Blume: Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Printer drivers installation: files are not deleted
Hello all, I'm running Samba 3.5.5 on Debian 5, and following the documentation as closely as I can to install drivers using rpcclient. I first install the driver on a Windows 7 x65 workstation, then use rpcclient/smbclient to fetch the files. I then use smbclient to put those on the print$ share of the Samba server. So far, so good. Then I use rpcclient to add those files, and that appears to work: rpcclient -U DOMAIN\\LOGIN%PASSWD -c adddriver \Windows x64\ \HP Universal Printing PS (v5.1):PSCRIPT5.dll:hpcu104s.ppd:hpmdp104.dll:PSCRIPT.HLP:NULL:RAW:hpcdmc64.dll,hpbcfgre.dll,hpcpu104.CFG,hpcui104.dll,hpcpe104.dll,hpcur104.dll,hpcpn104.dll,hpcsr104.dll,hpcst104.dll,hpcev104.dll,hpcu104s.hpx,hpcsc104.dtd,hpchl104.cab,hpzfn104.ntf,hpcu104.dem,hpmux104.dll,hpmur104.dll,hpmpm081.dll,hpmpw081.dll,hpmsn104.dll,hpmsl104.dll,hpcsat20.dll,hpcu104v.ini,hpcu104s.xml,hpcls104.dll,hpcss104.dll,FxCompChannel_x64.dll,cioum.dll,cioum64.msi,hpcpn104.dll,ps5ui.dll,pscript.ntf,ps_schm.gdl,hppdcompio.dll,hpcc6104.dll,HPDRVJCT.dll,hpfxcomw.dll,hpsysobj.dll\ HAPI64-CC Printer Driver HP Universal Printing PS (v5.1) successfully installed. But actually, things are going wrong: it does create the 3/ subdirectory, it does populate it with the files in print$/x64, but those files are kept there, not deleted as they should. If I then try to delete it, there's something similar: rpcclient $ deldriverex HP Universal Printing PS (v5.1) Driver HP Universal Printing PS (v5.1) and files removed for arch [Windows x64] (version: 3). But none of the files are really removed, they're still all there. And so far, no error message that I can see. Can anybody shed some light? TIA! Laurent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba