[Samba] About rpcclient and adddriver command

Gerald (Jerry) Carter jerry at samba.org
Tue Feb 8 18:59:01 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xavi wrote:

| We have 2 printers shared via samba with good
| results. Nowadays, we have the cups postscript driver
| in the server for windowsNT/2000/XP and it works
| fine, but i want to put the hp postscript driver as we
| have 2 hp printers. I put the postscript driver via
| rpcclient without no problem:
|       rpcclient -U'admin%pass' -c 'adddriver   \
|       "Windows NT x86"  \
|       "printer1:driver: config:help:NULL:RAW:NULL" ' \
|       localhost
|
| It worked okay, but when i wanted to put the hp
| drivers downloaded from  their
| homepage it doesn't. The error with debug level 3 after some text... is:
|       lsa_io_sec_qos: length c does not match size 8
|       result was WERR_INVALID_PARAM

I doubt this is the source of your problem.  But I
would recommend just using a Windows client to upload
the drivers.  You'll have more hair left at the end of
the day IMO.

I'm not frowning on cupsmbadd.  It's just that some drivers
can be a little particular.






cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCQv1IR7qMdg1EfYRAjrVAKCLx6qYErtsrOTrQOh0ennf9/7vtgCg5fRP
ofb/DhxcRYlwMZlPzclgjF4=
=DMNW
-----END PGP SIGNATURE-----


More information about the samba mailing list