[Samba] Howto setup printing with Windows XP Clients, Cups and
irezumi at gmx.de
Fri Feb 9 14:54:26 GMT 2007
Honestly I still use the "printer admin" smb.conf parameter.
It is deprecated, but I need only one user or group to administrate the
If you'd send me a level 10 debug and your smb.conf I'd look at it on
monday, since I've no DC at home.
Unfortunatly the "access denied" error is a kind of "default-error
message" e.g. a failed "add printer command" would also cause this error.
Only hint I could give for now, is to check the unix-permissions not
only the print$ share but the W32X86 and the W32X86\3 directory.
If your files are successfully copied and than the error occurs, samba
is probably not able to move the files from the W32X86 (the upload
directory) to the "\3" directory.
schönfeld / in-medias-res.com wrote:
> okay. With your help I'm a step further, but the problem itself
> persists. In fact something must have gone wrong, when i added PrintOP
> privileges to the admin user, cause it didn't have the flags I've added.
> Now the Admin User does have the necessary privileges:
> majestix-linux:~# net -U Administrator rpc rights list Administrator
> [2007/02/09 11:28:30, 0] param/loadparm.c:map_parameter(2698)
> Unknown parameter encountered: "privileges"
> [2007/02/09 11:28:30, 0] param/loadparm.c:lp_do_parameter(3428)
> Ignoring unknown parameter "privileges"
> The user is in the right group to be a Domain Admin. SID of the Domain
> Admins group is correct. Writing to the print$ share is possible.
> What else could be the problem?
>>>> 1st Check your permissions :
>>>> Enter on your windows client: Start->Run-> \\<server>\print$
>>>> (Note the $)
>>>> You should see at least the W32X86 folder you previously created in
>>>> the driver section of your Samba server.
>>>> Try to add a new folder - or (if exists) change into W32X86\3 and create
>>>> a file (or folder) *from your windows client*.
>>>> If this fails - you have a permission problem and have to solve it first.
>>>> 2nd Install your driver:
>>>> - Enter on your windows client: Start->Run-> \\<server>
>>>> - Change into the "Printers and Faxes" folder
>>>> - Right click -> Server Properties
>>>> - Middle tab "Drivers"
>>>> - Click "Add" and follow the instructions
>>>> 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
>>>> Your done.
>>>> Most problems with permissions will be caused because of the unix
>>>> rights of your driver directories.
>>>> You could try to "chmod 0777" them all "e.g. /var/drivers
>>>> /var/driver/W32X86 ..."
>>>> Hope that helps,
More information about the samba