Bug 7264 - rpcclient setprinterdriver not working if - in printername
Summary: rpcclient setprinterdriver not working if - in printername
Status: RESOLVED DUPLICATE of bug 7641
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.4.7
Hardware: x86 Linux
: P3 major
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 18:22 UTC by Attila Mesterhazy
Modified: 2021-01-04 20:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Mesterhazy 2010-03-18 18:22:44 UTC
Hi,

I have a Samba 3.4.7 PDC server under Debian Lenny. Everything was fine with Sambs 3.2.5 but I needed a newer one since I need to log in Win7 machines.

After updating to 3.4.7 cupsaddsmb was not working anymore. At the last step (rpcclient setprinterdriver x y) if gave "WERR_INVALID_PARAM" error message.

After hours of trying everything and googling I finally found the solution: I recreated the printer under CUPS but now without any - sign in the printername (the old one was SamsungML-3051N and the new one is SamsungML3051N). Every other settings are exactly the same.

And voi la cupsaddsmb runs without any problem and the XP Prof. SP3 clients can download the printer driver from the Samba server.

It would be usefull if - sign works in the printer name or at least cupsaddsmb gives and exclamation about it.
Comment 1 Björn Jacke 2021-01-04 20:57:18 UTC

*** This bug has been marked as a duplicate of bug 7641 ***