[Samba] rpcclient setdriver WERR_ACCESS_DENIED

Jason C. Waters jwaters at h2os.com
Mon Jun 21 13:27:22 GMT 2004


Who do you have as your printer admin in your smb.conf?  Should be 
something like printer admin = root, then when you issue the command use 
root%password.  Are you trying to setup point and print?  If so its much 
easier to do this from a windows machine.  If you need help let me know.

Jason

Ryan Suarez wrote:

> Hello Admins,
>
> We serve printing to XP clients with Samba 3.0.4 and CUPS 1.1.20
>
> I get the following error when trying to issue this command:
>
> xprint-admin:/home/suarezry# rpcclient localhost -N 
> -U'username%password' -c 'setdriver oa-e108-e2 oa-e108-e2'
> result was WERR_ACCESS_DENIED
>
> <snip>
> 000018 spoolss_io_r_open_printer_ex
>    000018 smb_io_pol_hnd printer handle
>        0018 data1: 00000000
>        001c data2: 00000002
>        0020 data3: 0000
>        0022 data4: 0000
>        0024 data5: 55 df d6 40 fa 01 00 00
>    002c status code: WERR_ACCESS_DENIED
> </snip>
>
> Does anyone have any idea on what the problem is?
>
> regards,
> Ryan



More information about the samba mailing list