[Samba] Printer drivers installation: files are not deleted
thomas at stegbauer.info
Fri Mar 11 08:59:32 MST 2011
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.
# Thomas Stegbauer
# 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
> 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!
More information about the samba