I'm trying to share a CUPS printer using samba (and with point and
print working),
but rpcclient setdriver keeps giving me the error "WERR_ACCESS_DENIED".

I already used adddriver in rpcclient successfully:
adddriver "Windows NT x86"
ps4500ui.dll,xntutilu.dll,xrx4500.cab,xpandcab.dll ,xrxutilu.dll,x4500l.dll,x4500p.dll,x4500ps.dll,x4 500ps.ini,
x4500ui.dll,xps4ren.dll,xrx4500.cfg,xrx4500.chm,xr x4500.dat,xrxsnmpu.dll,xrxui.dll,xrxupdt.dll"
Printer Driver xphaser successfully installed.

Here are all my system details:
Samba version: 3.0.23c
# smb.conf
security = share
load printers = yes
printing = cups
printcap = cups
max log size = 20000
log level = 3
printer admin = Administrator,root
disable spoolss = No
read only=no
guest ok=yes
comment = All Printers
path = /var/spool/samba
browseable = no
show add printer wizard = Yes
public = yes
guest ok = yes
writable = no
printable = yes
#printer admin = root
create mode = 0777
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = no
guest ok = yes
read only = no
#write list = Administrator, root
create mask = 0664
directory mask = 0775

# smbclient -U 'root' -L tc34
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.0.23c)
public Disk
photon Printer xerox-ps
phat Printer phat printer

Server Comment
--------- -------
TC34-TEST Samba 3.0.23c

# rpcclient -U'root'
Connecting to host=
Connecting to at port 445
rpc_pipe_bind: Remote machine pipe \lsarpc fnum 0x75c1 bind
request returned ok.
lsa_io_sec_qos: length c does not match size 8
rpcclient $> enumprinters
rpc_pipe_bind: Remote machine pipe \spoolss fnum 0x75c2
bind request returned ok.

description:[\\tc34-test\phat,,phat printer]
comment:[phat printer]

rpcclient $> enumdrivers
rpc_pipe_bind: Remote machine pipe \spoolss fnum 0x75c3
bind request returned ok.

[Windows NT x86]
Printer Driver Info 1:
Driver Name: [xphaser]

Printer Driver Info 1:
Driver Name: [photon]

rpcclient $> setdriver phat xphaser
rpc_pipe_bind: Remote machine pipe \spoolss fnum 0x75c4
bind request returned ok.

FYI: My cups printer works fine from my server using lpr etc..
The printer is a "xerox phaser 4500n", cups uses
to print to it, but all that shouldn't matter.

Any help/clues would be appreciated,
Thanks Dano.