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

"schönfeld / in-medias-res.com" schoenfeld at in-medias-res.com
Fri Feb 9 10:31:29 GMT 2007


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?


schönfeld / in-medias-res.com wrote:
> Hi Dale,
> Hi Martin,
> thanks for your good explanations. I will try to follow them in order to
> get driver upload working properly.
> Thanks and best Regards
> Patrick
> Dale Schroeder wrote:
>> Don't forget to enable the privilege to add printers as described in 
>> http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html#id341486
>> .  Required for cupsaddsmb with postscript drivers, or to directly
>> upload windows drivers to a raw CUPS queue.
>> Dale
>> Martin Zielinski wrote:
>>> Hi,
>>> That's really not the way you should do this.
>>> Try this:
>>> 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,
>>> Martin
>>> stephen mulcahy schrieb:
>>>> Hi,
>>>> I (unsuccessfully) tried to set this up about 12 months ago. To get the
>>>> printer drivers I downloaded them from the printer vendor, extracted the
>>>> downloaded driver package (or ran it to install them) and then copied
>>>> the resulting files to the server. This seemed to work ok but I tripped
>>>> over permissions problems (possibly because at the time the print server
>>>> wasn't functioning as a pdc).
>>>> Not sure if that helps though.
>>>> -stephen
>>> [...]

More information about the samba mailing list