Fwd: [Samba] Howto setup printing with Windows XP Clients, Cups and samba..

John Drescher drescherjm at gmail.com
Thu Feb 8 20:45:46 GMT 2007


---------- Forwarded message ----------
From: John Drescher <drescherjm at gmail.com>
Date: Feb 8, 2007 3:45 PM
Subject: Re: [Samba] Howto setup printing with Windows XP Clients,
Cups and samba..
To: Martin Zielinski <mz at seh.de>


> 3rd Assign your driver:
>
> - In the "printers and faxes" folder right-click on a printer
> - Select Properties
> - Tab "Advanced"
> - Select the driver from the drop down box
> - Ok
>
Any ideas why this 3rd step fails in both XP and the following command:

# rpcclient -U 'RADIMG\Administrator' -c 'setdriver HP-2100 "HP
LaserJet 2100"' FILESERVER
Password:
Connecting to host=FILESERVER
Connecting to 192.168.1.6 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
rpc_pipe_bind: Remote machine FILESERVER pipe \lsarpc fnum 0x7044 bind
request returned ok.
lsa_io_sec_qos: length c does not match size 8
rpc_pipe_bind: Remote machine FILESERVER pipe \spoolss fnum 0x7045
bind request returned ok.
SetPrinter call failed!
result was WERR_ACCESS_DENIED


I have set the permissions correctly I believe:


# net rpc rights list accounts -S 'fileserver'
Password:
BUILTIN\Print Operators
SePrintOperatorPrivilege

Unix User\root
SePrintOperatorPrivilege

BUILTIN\Account Operators
No privileges assigned

BUILTIN\Backup Operators
No privileges assigned

BUILTIN\Server Operators
No privileges assigned

Unix Group\Domain Admins
SeMachineAccountPrivilege
SePrintOperatorPrivilege

BUILTIN\Administrators
SeMachineAccountPrivilege
SeTakeOwnershipPrivilege
SeBackupPrivilege
SeRestorePrivilege
SeRemoteShutdownPrivilege
SePrintOperatorPrivilege
SeAddUsersPrivilege
SeDiskOperatorPrivilege

Everyone
No privileges assigned


-- 
John M. Drescher


More information about the samba mailing list