Ok, I found what the problem was:

I had the following line in the [printers] share in smb.conf:
   valid users = +staff

I just had to add the username that I was running cupsaddsmb with and that worked fine.

thanks,
Ryan


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?


-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to