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. My smb.conf sections looks like this: [print$] path = /usr/local/var/samba/printers public = no browseable = yes read only = yes write list = administrator, root [printers] comment = Printer running on Debian GNU/Linux valid users = @printing printable = yes [WebCT] path = /usr/local/var/samba/printjobs valid users = @printing print command = /usr/local/maroonsys/smb_print_wrapper /usr/local/var/samba/printjobs/%s %m %u %T %p >> /tmp/wrapper_errs printable = yes --- snip This is a problem, since 17 pages have been printed by users for free. And I have to explain where those pages went to. -- Danie Roux *shuffle* Adore Unix
Gerald (Jerry) Carter
2002-May-28 20:24 UTC
[Samba] user nobody can print on a non-public printer?
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 = yescheers, 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--