Cups IPP originating host attribute and samba
Gerald (Jerry) Carter
jerry at samba.org
Tue Sep 9 17:42:23 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE/XhEAIR7qMdg1EfYRAkScAKCiz5i9kVIeobX8jln5shVV0IOoNgCgroN1
QDf8NKBtHxgtxvKAUq2/eEE=
=MaLo
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list