Andreas K. Huettel
2002-Jul-09 10:49 UTC
[Samba] [semi-ot] Printing w/ NT, automated driver download and modifying printer settings
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, I've configured Samba for automated printer driver download by all Windows clients. However, I run into the following problem with NT4/2000/XP computers: Every user can connect to any printer and install the driver. (OK.) Only the printer admins can change hardware settings (f.ex. "Can it do duplex?"). (semi-OK.) BUT: Printer hardware settings are stored in the user profile. So, the printer admins can set up their printer config properly, everyone else is glued to the default settings (which are partly wrong). (NOT OK. BAD. :]) Do you know of any tips and tricks how to resolve this problem and similar ones? Is there anything like a howto, or some documentation? kind regards, Andreas - --------------------------------------------------------------------- Dipl.-Phys. Andreas K. Huettel tel. +49 89 2180 3349 (univ.) Sektion Physik der LMU fax +49 89 2180 2069 (univ.) LS Prof. J.P. Kotthaus huettel@lmu.de Geschwister-Scholl-Platz 1 andreas@akhuettel.de 80539 Muenchen andreas.huettel@physik.uni-muenchen.de Germany http://www.akhuettel.de/research/ - --------------------------------------------------------------------- Please use GNUPG or PGP for signed and encrypted email. My public key can be found at http://www.akhuettel.de/pgp_key.html - --------------------------------------------------------------------- Reason #135 why you can't find your system administrator: He joined a cult practizing Windoze XP. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9KyCwL+gLs3iH94cRAuDxAJ4r78C2jvp1+wnloDo9mrdy8aX3EgCZAdRe c/CR4OK5vNlvGMf1kAWgLTk=74az -----END PGP SIGNATURE-----
Chris Smith
2002-Jul-09 11:01 UTC
[Samba] [semi-ot] Printing w/ NT, automated driver download and modifying printer settings
On Tue, 2002-07-09 at 13:43, Andreas K. Huettel wrote:> Every user can connect to any printer and install the driver. (OK.)Same here.> Only the printer admins can change hardware settings (f.ex. "Can it do > duplex?"). (semi-OK.)Same here.> BUT: Printer hardware settings are stored in the user profile. So, the > printer admins can set up their printer config properly, everyone else is > glued to the default settings (which are partly wrong). (NOT OK. BAD. :])Don't see that situation at all. When the driver is configured by the printer admin it is instantly changed for all users on the domain. Chris -- 'Nix MS - Just Say .NyET
Jesse Becker
2002-Jul-09 16:53 UTC
Automatic driver downloads (was: [Samba] [semi-ot] Printing w/ NT, automated driver download and modifying printer settings)
Elsewhere on the list, Andreas K. Huettel wrote:> I've configured Samba for automated printer driver download by all Windows > clients. However, I run into the following problem with NT4/2000/XP > computers: > > Every user can connect to any printer and install the driver. (OK.)Ah...if only I could get that far along, I'd be a happy man. Could you perhaps shed some light on how you got things to work? I have a Samba server (2.2.5) that also runs CUPS. The printer is an HP 4550N printer connected via TCP (the printer has a JetDirect card attached). I can print directly from the server ('lp file.ps' for example). I can also print from remote clients--if I manually install drivers for the printer first. Finally, I am able to 'upload' drivers to the samba server. The remote clients are currently just Windows 2000 boxes, and there will be NT4.0 boxes later on What I cannot do is twofold: 1) Automatically download drivers to clients. When I try to add the printer, I get a pop-up box reading: "The server on which the printer resides does not have the correct printer driver installed. If you want to install the driver on your local computer, click OK." On clicking OK, you get the usual 'add printer wizard' dialogue box, and if I choose, I can add the correct drivers. 2) There appear to be permission problems somewhere as well. After uploading the drivers, I am unable choose one for the printer to actually use. The drivers loaded on the server correctly appear in the 'Advanced' tab of the printer properties window, but when I click 'OK' or 'Apply', a dialogue box appears reading: "Printer settings could not be saved. Access is denied." I find this curious for a few reasons: I am logged in a Administrator on the W2K box, The Admin. user is mapped to root on the Samba server, the permissions are such that anyone can read the driver files on the Samba server, and anyone can read the /var/cache/samba files as needed. Lastly (and strangest), I *can* modify the options in the Security tab, and have set full access to "Everyone" (print, manage jobs, and manage printers). Snippits from smb.conf: [global] load printers = yes printcap name = lpstat printing = cups printer admin = @wheel, @printers addprinter command = cupsaddsmb [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes create mode = 740 printing = cups [print$] comment = printer drivers path = /etc/samba/drivers browsable = yes guest ok = no read only = yes write list = root, @wheel, @printers Any suggestions or ideas that people may have would be more than welcome. I've checked the mailing list for things along these lines, but none of them seem to quite apply. :-/ Thanks, --Jesse
Chris Smith
2002-Jul-11 06:05 UTC
[Samba] [semi-ot] Printing w/ NT, automated driver download and modifying printer settings
On Thu, 2002-07-11 at 04:41, Erlend Mjaavatten wrote:> Through quite a lot of trial and error I found that both the version of > samba and the driver are factors in the success of printer driver settings > getting all the way to the client.Agreed, and even expanded to include whether or not the drivers work at all! One client has a bunch of large Ricoh machines, needed PCL drivers (DOS application that only sends PCL) and it wasn't until I loaded the "point and print" type drivers that they could print at all via Samba. Chris -- 'Nix MS - Just Say .NyET
Reasonably Related Threads
- Netatalk connection on Samba machine account - security breach?
- help- samba 2.2.3a "forgot" all installed printer drivers
- migration win95 -> win98
- Automatic driver downloads (was: [semi-ot] Printing w/ NT, automated driver download and modifying printer settings)
- a dedicated audio encoder