Hi, I have sucessfully installed an ad-integrated samba server. We mainly use the server for printer sharing and are very happy with it. We only have one problem or missing feature: On a Windows Server, you change the name of a printer, so that it is different to the share name. We use 8-letter sharenames for being compatible to old Win9x-Clients, bbut we would like to have logner, more comprehendable names for our Win2k/XP users. The printer name on Windows in the Properties under the general-tab; the textbox next to the printer icon can be altered and pressing ok saves the new name on the server. I tries to track the problem, and it seems like windows saves this name under the value "printerName" in the "DsSpooler" Key. rpcclient doesnt support a "setdataex" command so i changed the value manually in the ntprinters.tdb. But this had no effect! Is there any opportunity to change the printer name on a samba server?! Christoph Klein
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christoph Klein wrote: | On a Windows Server, you change the name of a printer, ~ > so that it is different to the share name. We use ~ > 8-letter sharenames for being compatible to old ~ > Win9x-Clients, but we would like to have longer, more | comprehendable names for our Win2k/XP users. The printer ~ > name on Windows in the Properties under the ~ > general-tab; the textbox next to the printer icon ~ > can be altered and pressing ok saves the new name on the | server. Here's a patch that seems to work for me. I've just done basic testing from 2000 and 98se, but it seems to work. It's been checked into trunk (not 3.0). Use at your own risk. cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "...a hundred billion castaways looking for a home." ----------- Sting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAshH4IR7qMdg1EfYRAuX6AKCME6lHG26PUQiVHGX/UeJVXLQP3ACfVcNz sPvOGdE2nZFZDs3qQupaoIE=4pO2 -----END PGP SIGNATURE-----