[Samba] Re: APW greyed out for printer admin
Ryan Suarez
ryan.suarez at sheridanc.on.ca
Fri Jul 21 17:53:06 GMT 2006
> We're running samba 3.0.23 (ADS domain member) and cups 1.2.2 on
> debian sarge to serve printing to XP clients.
>
> I have a user with the required priveleges to install and set print
> driver options using the Add Printer Wizard:
> # net rpc rights list 'SOMEDOMAIN\suarezry'
> SeMachineAccountPrivilege
> SeTakeOwnershipPrivilege
> SeBackupPrivilege
> SeRestorePrivilege
> SeRemoteShutdownPrivilege
> SePrintOperatorPrivilege
> SeAddUsersPrivilege
> SeDiskOperatorPrivilege
>
> But when I log in from an XP client and go to
> "Start->run->\\printserver->Printers and Faxes->[right click on any
> printer] Properties->Advanced", all the options are greyed out.
It looks like I don't have access to the print$ share? When I try to
map "\\printserver\print$" and try to create a file I get an access
denied message (even when I set 'readonly = no' in smb.conf). smbstatus
also shows the share as read only, WTF??
# smbstatus
Samba version 3.0.23
PID Username Group Machine
-------------------------------------------------------------------
24485 suarezry users 142.55.243.183 (142.55.243.183)
Service pid machine Connected at
-------------------------------------------------------
print$ 24485 142.55.243.183 Fri Jul 21 13:47:19 2006
Locked files:
Pid Uid DenyMode Access R/W
Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
24485 31043 DENY_NONE 0x100001 RDONLY
NONE /adminprint/samba/drivers . Fri Jul 21 13:47:19 2006
From the shell, I can create files on the drivers path as the user.
Can anyone shed some light?
-------------- next part --------------
[global]
workgroup = SOMEDOMAIN
netbios name = some-hostname
server string = Admin Printing Test
log file = /adminprint/samba/logs/%m.log
max log size = 50000
log level = 1
name resolve order = wins host bcast
wins server = some.dc
wins proxy = no
wins support = no
dns proxy = yes
local master = no
preferred master = no
domain master = no
os level = 0
socket options = TCP_NODELAY
security = ADS
encrypt passwords = yes
password server = *
realm = SOME.REALM
enable privileges = yes
interfaces = <some interface>
allow hosts = 142.55. localhost
printing = cups
printcap name = cups
load printers = yes
map to guest = Bad Uid
[printers]
comment = All Printers
path = /adminprint/samba/spool
browseable = no
guest ok = no
public = yes
writeable = no
printable = yes
[print$]
comment = Printer Drivers
path = /adminprint/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = cupsadmin,suarezry,itadmin
-------------- next part --------------
[2006/07/21 13:16:06, 0] smbd/service.c:make_connection(1102)
142.55.243.183 (142.55.243.183) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
[2006/07/21 13:16:12, 1] smbd/service.c:make_connection_snum(941)
142.55.243.183 (142.55.243.183) connect to service print$ initially as user suarezry (uid=31043, gid=15) (pid 23942)
[2006/07/21 13:22:11, 0] smbd/service.c:make_connection(1102)
142.55.243.183 (142.55.243.183) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
More information about the samba
mailing list