I have cups configured with: printing=cups and printcap=cups In CUPS, I have set the "Location" field in the cups printer configuration. It is very useful to set the printer location as per http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/directory/activedirectory/bpadprn.mspx Unfortunately, Samba does not appear to be copying the cups printer location into AD when "net ads printer publish myprinter" is issued. The location field is not shown. "net ads printer search" does show the printer location field for Windows printers which have it set. I have had a dig through the Samba source and though I don't understand how it all fits together particularly well, it looks like the code to get the location from cups in "printing=cups" mode is missing, and I think the same is also true for net ads printer publish.
resetting version
the publishing code uses the location field stored in the ntprinters.tdb db. This is by design. Closing this on as later. Patches welcome, but there are more pressing things at the moment.
Hi Jerry, We got the same "problem" as Justin, but we use version 3.0.23c of Samba. How long does it takes for fixing this bug? We need this function to search printer in the active directory! Can you give me a short statement? Greetings Jens