populating printer location from CUPS

Andy Polyakov appro at fy.chalmers.se
Mon Mar 19 11:32:23 GMT 2007


Jerry,

>>>> We were in need to populate printer location information from 
>>>> CUPS to Samba and further to AD. Attached patch implements
>>>> function transferring the location and comment from CUPS
>>>> server to NT_PRINTER_INFO_LEVEL structure. Then the
>>>> patch adds call to this function into nt_printer_publish,
>>>> but there might be better place for this...
> 
> I've committed a slightly modified version in SVN r21861.
> The only significant changes was to move the lookup
> to get_a_printer_2().  I also followed up with adding it to
> get_a_printer_2_default().

Perfect! I've double-checked it and can confirm that it all works. Thank 
you. A.


More information about the samba-technical mailing list