awesome-dave1@juno.com
2003-Oct-25 01:09 UTC
[Samba] samba3, cups, and pointprint drivers install
Hello, I've got a redhat9 system with cups and samba3 installed. I want to use this machine for both local and network printing. On the local side apps can print just fine, the cups configuration is working great. Network-side is not the case. I've got a mixture of 2k and 9x clients, so i'm going to need drivers for both configurations. In smb.conf i've got: printcap name = cups printing = cups load printers = yes I'm logging on to a 2k box as an administrator, in smbusers i have the 2k administrator mapped to the root user and an entry for root in smbpasswd. I can navigate to the machine, i go to the printers share, right click the printer, go to properties, say no to load the driver, then go to the advanced tab, new driver, install the driver from the hp rom, that appears to go fine, however when i click the ok or apply button i get the message driver settings could not be saved. They're going in /etc/samba/drivers with permissions of 775, the share is owned by root and group of ntadmin who has write access to the share, other than that it is a read only share. I've also explicitly added root to the Linux ntadmin group. I'm not sure where to debug this, i'm not getting anything useful in cups.log and my cups is listening on the localhost port 631. Any suggestions appreciated. Thanks. Dave. ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
awesome-dave1@juno.com
2003-Oct-25 02:45 UTC
[Samba] Re: samba3, cups, and pointprint drivers install
Hello, Thanks for that info. I don't see a printing defaults button on the advanced tab of the printer in question on the samba server. Again, i navigate to that folder, right click the printer, click properties, answer no, then go to the advanced tab, and new driver. This is on a 2k box if that matters. My shares print$ and printers are below. Thanks. Dave. [printers] comment = all printers path = /var/spool/samba browsable = no guest ok = no writable = no printable = yes use client driver = yes [print$] comment = printer driver download area path = /etc/samba/drivers browsable = yes guest ok = no read only = yes write list = @ntadmin On Fri, 24 Oct 2003 19:26:21 -0700 "Stephen Harris" <stephen.p.harris@att.net> writes:> > ----- Original Message ----- > From: <awesome-dave1@juno.com> > Newsgroups: gmane.network.samba.general > Sent: Friday, October 24, 2003 6:09 PM > Subject: samba3, cups, and pointprint drivers install > > > > Hello, > > I've got a redhat9 system with cups and samba3 installed. I want > to use > > this machine for both local and network printing. On the local > side apps > > can print just fine, the cups configuration is working great. > > Network-side is not the case. I've got a mixture of 2k and 9x > clients, so > > i'm going to need drivers for both configurations. In smb.conf > i've got: > > printcap name = cups > > printing = cups > > load printers = yes > > I'm logging on to a 2k box as an administrator, in smbusers i have > the 2k > > administrator mapped to the root user and an entry for root in > smbpasswd. > > I can navigate to the machine, i go to the printers share, right > click > > the printer, go to properties, say no to load the driver, then go > to the > > advanced tab, new driver, install the driver from the hp rom, that > > appears to go fine, however when i click the ok or apply button i > get the > > message driver settings could not be saved. They're going in > > /etc/samba/drivers with permissions of 775, the share is owned by > root > > and group of ntadmin who has write access to the share, other than > that > > it is a read only share. I've also explicitly added root to the > Linux > > ntadmin group. I'm not sure where to debug this, i'm not getting > anything > > useful in cups.log and my cups is listening on the localhost port > 631. > > Any suggestions appreciated. > > Thanks. > > Dave. > > > > > > I read this in the Samba HowTo, maybe it will help: > > http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2929652 > > Print Options for All Users Can't Be Set on Windows 200x/XP > How are you doing it? I bet the wrong way (it is not easy to find > out, > though). There are three different ways to bring you to a dialog > that seems > to set everything. All three dialogs look the same, yet only one of > them > does what you intend. You need to be Administrator or Print > Administrator to > do this for all users. Here is how I do in on XP: > > 1.. The first wrong way: > > 1.. Open the Printers folder. > > 2.. Right-click on the printer (remoteprinter on cupshost) and > select in > context menu Printing Preferences... > > 3.. Look at this dialog closely and remember what it looks like. > > > 2.. The second wrong way: > > 1.. Open the Printers folder. > > 2.. Right-click on the printer (remoteprinter on cupshost) and > select > the context menu Properties. > > 3.. Click on the General tab. > > 4.. Click on the button Printing Preferences... > > 5.. A new dialog opens. Keep this dialog open and go back to the > parent > dialog. > > > 3.. The third, and the correct way: > > 1.. Open the Printers folder. > > 2.. Click on the Advanced tab. (If everything is "grayed out," > then you > are not logged in as a user with enough privileges). > > 3.. Click on the Printing Defaults... button. > > 4.. On any of the two new tabs, click on the Advanced... button. > > 5.. A new dialog opens. Compare this one to the other identical > looking > one from "B.5" or A.3". > > > Do you see any difference? I don't either. However, only the last > one, which > you arrived at with steps "C.1.-6.", will save any settings > permanently and > be the defaults for new users. If you want all clients to get the > same > defaults, you need to conduct these steps as Administrator (printer > admin in > smb.conf) before a client downloads the driver (the clients can > later set > their own per-user defaults by following the procedures A or B > above). > > Regards, > > Stephen > > > >________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
> [Samba] samba3, cups, and pointprint drivers install > > * To: samba at listsdotsambadotorg > * Subject: [Samba] samba3, cups, and pointprint drivers install > * From: awesome-dave1 at junodotcom > * Date: Fri, 24 Oct 2003 21:09:29 -0400 > > Hello, > I've got a redhat9 system with cups and samba3 installed. I want to use > this machine for both local and network printing. On the local side apps > can print just fine, the cups configuration is working great. > Network-side is not the case. I've got a mixture of 2k and 9x clients, so > i'm going to need drivers for both configurations. In smb.conf i've got: > printcap name = cups > printing = cups > load printers = yes > I'm logging on to a 2k box as an administrator, in smbusers i have the 2k > administrator mapped to the root user and an entry for root in smbpasswd. > I can navigate to the machine, i go to the printers share, right click > the printer, go to properties, say no to load the driver, then go to the > advanced tab, new driver, install the driver from the hp rom, that > appears to go fine, however when i click the ok or apply button i get the > message driver settings could not be saved.Have you followed through the procedure suggested in "step 11" in http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2924084 or in http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2910060 to make sure you have a valid "device mode"?> They're going in > /etc/samba/drivers with permissions of 775, the share is owned by rootHas the share subdirs of at least "W32X86" and "WIN40"? (When writing my previous comment, I thought you had successfully *installed* the driver already, but now failed to save the driver settings. Here it seems the driver wasn't uploaded at all...)> and group of ntadmin who has write access to the share, other than that > it is a read only share. I've also explicitly added root to the Linux > ntadmin group. I'm not sure where to debug this, i'm not getting anything > useful in cups.logUp to this point it all goes into the Samba logs. CUPS doesn't come into play yet. A good command to change the debug level of Samba to 3 is "smbcontrol smbd debug 3" Then you can watch what happens while you work on the driver with "tail -f /var/log/cups/log.smbd" or similar.> and my cups is listening on the localhost port 631. > Any suggestions appreciated. > Thanks. > Dave.
Kurt Pfeifle
2003-Oct-25 10:34 UTC
[Samba] Re: samba3, cups, and pointprint drivers install
> [Samba] Re: samba3, cups, and pointprint drivers install > > * To: stephendotpdotharris at attdotnet > * Subject: [Samba] Re: samba3, cups, and pointprint drivers install > * From: awesome-dave1 at junodotcom > * Date: Fri, 24 Oct 2003 22:45:52 -0400 > > Hello, > Thanks for that info. I don't see a printing defaults button on the > advanced tab of the printer in question on the samba server. Again, i > navigate to that folder, right click the printer, click properties, > answer no, then go to the advanced tab, and new driver. This is on a 2k > box if that matters. > My shares print$ and printers are below. > Thanks. > Dave. > [printers] > comment = all printers > path = /var/spool/samba > browsable = no > guest ok = no > writable = no > printable = yes > use client driver = yesDon't use "use client driver = yes" if you want to install a driver into the Samba [print$] share!!> [print$] > comment = printer driver download area > path = /etc/samba/drivers > browsable = yes > guest ok = no > read only = yes > write list = @ntadmin