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: [email protected] Internet: www.tropenklinik.de Von: Thomas Stegbauer [mailto:[email protected]] Gesendet: Dienstag, 15. März 2011 11:20 An: [email protected] Cc: [email protected]; 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" <[email protected]> An: "Thomas Stegbauer" <[email protected]>, "Laurent Blume" <[email protected]> CC: [email protected] 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: [email protected] Internet: www.tropenklinik.de ----------------------------------------------- -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Thomas Stegbauer Gesendet: Sonntag, 13. März 2011 22:37 An: Laurent Blume Cc: [email protected] 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
