[Samba] About rpcclient and adddriver command
Hi all!! 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 've looked rpcclient manpages and googled a lot, i've looked that all the files i mention in the rpcclient command are in the $print\W32X86 folder and... i don't know!! The rpcclient adddriver command is only for installing cups and adobe poscript drivers? or can i install hp drivers too? Thx anyway!! Xavi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] About rpcclient and adddriver command
-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- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba