Printer drivers with samba

I know this can be done, however I cant for the life of me find the references I had before. Maybe I'm going blind. If anyone has any useful info on setting up printer drivers with samba (ie, so you can double click on a shared printer under windows, and it'll install the drivers for you), please let me know. Or wiki it, then let me know :) Daniel

I know this can be done, however I cant for the life of me find the references I had before. Maybe I'm going blind.
If anyone has any useful info on setting up printer drivers with samba (ie, so you can double click on a shared printer under windows, and it'll install the drivers for you), please let me know. Or wiki it, then let me know :)
Ok, I found a bit more about it eventually. Seems the easiest way is to get a box running NT or 2K and use the Add Printer Wizard (APW) to set up the drivers. You still need to set up things like a PRINT$ share apparently, although thats supposed to be an architecture tree for the drivers, and after setting up a driver this morning the tree was still empty. Weird. Another method is to use a tool called imprints (imprints.sourceforge.net), which is an equivalent to the APW, for unix. It seemed like a nice idea, but didn't actually work in the end. I'm still trying to resolve why, as I dont want to have to run a NT box just to set up printer drivers. On the plus side, i discovered it was rather trivial to add a win2k machine to the domain. As I hadn't actually enabled any add user scripts or anything (for creating machine accounts via samba), I added the machine-name$ entry manually, and then after giving root a samba password and turning off the 'invalid user = root' setting, was nearly able to log in. I run a Samba 3 alpha, with the LDAP backend. After reading the logs to find why win2k was saying 'The user you have specified does not have sufficient access to add you to the network' or whatever it says, I saw that it was trying to add a machine account into a ou=SMBMachines branch ofthe LDAP tree - a branch that didn't exist. Adding this branch via gq, and re-running the join domain process on the win2k machine, worked fine. I'll wiki my setup at some point (Samba 3 alpha, LDAP backend, etc), dont worry. Daniel
participants (1)
-
Daniel Lawson