Hello ! How can I configure samba to upload a particular driver when installing a printer shared. (cups + samba 3 + cups-pdf). In my particular case, I share a cups-pdf virtual printer and I would like samba to send the "HP Color Laserjet 8500 PS" driver when I connect to it. I've searched the web but didn't find any clear answer. It seems that a lot of things are depreciated now, so please give me the tips or an updated howto page for doing this !! Thanks ! -- Software patents are threatening us : http://nosoftwarepatents.com GnuPG public key : http://www.pivert.net/pivert_home.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20041204/79e56cd0/attachment.bin
Le Samedi 4 D?cembre 2004 09:37, Pivert a ?crit?:> Hello ! > > How can I configure samba to upload a particular driver when installing a > printer shared. (cups + samba 3 + cups-pdf). > > In my particular case, I share a cups-pdf virtual printer and I would like > samba to send the "HP Color Laserjet 8500 PS" driver when I connect to it. > > I've searched the web but didn't find any clear answer. It seems that a lot > of things are depreciated now, so please give me the tips or an updated > howto page for doing this !! > > Thanks !To be a little more precise... The best howto I fount is : http://www.netadmintools.com/art258.html However, when comes the step to click the "New Driver" in the Advanced Tab, The New Driver button is in gray and I can't click on it. Of course I have read/write access to //server/print$/WIN32X86/ What should I do ? -- Software patents are threatening us : http://nosoftwarepatents.com GnuPG public key : http://www.pivert.net/pivert_home.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20041204/35e32705/attachment.bin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | | I have a third party file manager that I use to get Administrator access | to XP just like you can with konqeror. It is called FileAnt and it | totally rocks... but I digress. | | I've noticed that I can't browse to my print$ share despite the | following settings: | | | [printers] | | comment = All Printers | | path = /var/spool/samba | | printer admin = root | | guest ok = Yes | | printable = Yes | | browseable = No | | | | [print$] | | comment = Printer Drivers | | path = /var/lib/samba/printers | | read only = No | | Here is what is especially strange. If I click on the printer icon with | FileAnt I get this: | | \\Enigma\::{2227A280-3AEA-1069-A2DE-08002B30309D} | | Enigma is the name of my server but what is the SID type info for? It's a class id, not a SID. | If I paste it into an explorer box I get the printers subdirectory also. | | Q: Is the printers subdirectory synonymous with \\Enigma\printer$ ? If | this is the case than I am actually browseing it however I can still not | create a directory despite the settings above. | | I've also noticed something else strange with the perms: | | | [root@enigma 0 samba]$ ls -l printers | | total 20 | | drwxrwsr-x 2 root adm 4096 Nov 9 12:35 W32ALPHA | | drwxrwsr-x 2 root adm 4096 Nov 9 12:35 W32MIPS | | drwxrwsr-x 2 root adm 4096 Nov 9 12:35 W32PPC | | drwxrwsr-x 3 root adm 4096 Dec 6 19:33 W32X86 | | drwxrwsr-x 2 root adm 4096 Nov 9 12:35 WIN40 | | [root@enigma 0 samba]$ | | What is the S for? setgid | Somehow I doubt it is supposed to be there. How else would you sure that the group ownership of the files will *always* stay correct (access controls should always be applied at the filesystem level if possible, rather than the share definition). Anyway, you could check with 'rpm -V' and see that they are as packaged. Regards, Buchan - -- Buchan Milne Senior Support Technician Obsidian Systems http://www.obsidian.co.za B.Eng RHCE (803004789010797) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBtxJkrJK6UGDSBKcRAqr3AJ40HuM61Z0mGYW0FRdg6NOfjjV1IQCfUxI6 IL5gkX+ykBgxXy4XadStT9o=vqvZ -----END PGP SIGNATURE-----