[Samba] user nobody can print on a non-public printer?

Gerald (Jerry) Carter jerry at samba.org
Tue May 28 20:24:02 GMT 2002


On Thu, 9 May 2002, Danie Roux wrote:

> My printing system is working beautifully thanks to SAMBA. Thanks!
> 
> Except that 5 times now, user nobody connected to the printer
> successfully and printed! User nobody can not log onto the domain.
> 
> It seems to happen if you print immediately after you log on. I logged
> on as my test user and printed immidiately. The job went through as user
> nobody. 5 minutes later I printed again, and that time I was connected
> to the printer as the user.

Please apply the open_printer_ex.patch located at
ftp://samba.org/pub/jerry/samba-2.2.4-patches and retest.
This should fix your problem (the default security descriptor
created for printers is "everyone - print")

> [printers]
>         comment = Printer running on Debian GNU/Linux
>         valid users = @printing
>         printable = yes







cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list