LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 09:09 PM   #1
toombs
LQ Newbie
 
Registered: Feb 2007
Distribution: Gentoo with just the slightest suggestion of Xubuntu and basil
Posts: 10

Rep: Reputation: 0
Getting "Point'n'Print" to work on a samba server


Printers with samba are a constant struggle to deal with. My latest installment of the never-ending struggle with me and the Windows operating system involves the point'n'print feature. As you may have guessed, mine is not functional. I have:

-added the [print$] share
-added this line to [global]: printer admin = root
-granted user root the SePrintOperatorPrivilege

Despite all this, I cannot upload print drivers from my windows xp machine to my linux server. The drivers will transfer fine, then when I apply the changes, it gives me this error message, which I have committed to memory: "Printer settings could not be saved. Access is denied." rpcclient setdriver didn't work either:
Code:
SetPrinter call failed!
result was WERR_ACCESS_DENIED
There is no reason whatsoever that access should be denied to a superuser with print privileges and who is on the "print admin" list. If there is anybody who has got this working on samba 3, please tell us what's the secret?

important bits out of my smb.conf:
Code:
   printcap name = cups
   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
   printing = cups

# Samba 3.x supports the Windows NT-style point-and-print feature. To
# use this, you need to be able to upload print drivers to the samba
# server. The printer admins (or root) may install drivers onto samba.
# Note that this feature uses the print$ share, so you will need to
# enable it below.
# printer admin = @<group> <user>
   printer admin = root
# This should work well for winbind:
;   printer admin = @"Domain Admins"

enable privileges = yes

[printers]
   comment = All Printers
   browsable = no
   printable = yes
   writable = no
   public = yes
   path = /var/spool/samba
# to allow user 'guest account' to print.
   guest ok = yes
   create mode = 0700
   use client driver = yes
   printer admin = printer-admin

[epson]
comment = Epson Stylus C88
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = root
   guest ok = yes
   public = yes
 
Old 02-26-2007, 09:18 PM   #2
toombs
LQ Newbie
 
Registered: Feb 2007
Distribution: Gentoo with just the slightest suggestion of Xubuntu and basil
Posts: 10

Original Poster
Rep: Reputation: 0
oh for the love of all things sacred!

OK! for all those out there trying to get this thing to work: restart cupsd as well as samba and it will work fine. That's the key. As long as you follow the relevant parts from this guide: http://us3.samba.org/samba/docs/Samb...Collection.pdf and restart cupsd as well as samba, you should be fine! I hope this saves many of you a lot of time, as it would have saved me!

Wow I'm really happy now. Time for ice cream....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"dig mx" and "ping google" do not work when bind9 runs.. why? alexxxis Linux - Software 4 01-07-2007 03:16 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
Authenticating to Samba share using "Active Directory Server" hlslaughter Linux - Software 36 07-23-2004 10:59 AM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 04:22 PM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration