Cups IPP originating host attribute and samba

Matthias Hilbig necmas at gmx.de
Wed Sep 10 07:19:19 GMT 2003


I already send a Patch for this problem to the list, which also was 
ignored.
I will file a bug report.

Gerald (Jerry) Carter wrote:
> On Mon, 25 Aug 2003, Matthias Hilbig wrote:
> 
> 
>>Hi,
>>
>>I have a problem with the IPP originating host attribute if the print 
>>jobs arrive with samba: it contains the netbios name, not necessarily a 
>>valid dns name or at least a valid ip address.
>>
>>I looked at the source of samba 2.2.8a and 3.0rc1, both fill the 
>>job-originating-host attribute with get_remote_machine_name(). But the 
>>cups backend I programmed needs to contact the originating-host, the 
>>netbios name is useless for this purpose (unless I can somehow get the 
>>ip address for the netbios name).
>>
>>I'm not familiar with samba internals, but I think there has to be some 
>>kind of function to convert a netbios name to an ip address. If somebody 
>>could point this function out I could patch my samba, but overall I 
>>think it would be better if samba filled in the dns name or at least the 
>>ip address instead of the netbios name.
> 
> 
> Mind filing a bug report on this?  I'll add it to the list of things to 
> look at.
> 
> 
> 
> cheers, jerry
> 





More information about the samba-technical mailing list