+ if (options & DNS_QUERY_NO_NETBT) + FIXME( "option DNS_QUERY_NO_NETBT not implemented\n" );
In fact, you do support this. You don't support the lack of it. That is, you don't call NetBIOS() to do a name lookup if it isn't specified. I'm not sure you really want to though.
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tuesday 11 April 2006 17:58, Juan Lang wrote:
- if (options & DNS_QUERY_NO_NETBT)
FIXME( "option DNS_QUERY_NO_NETBT not implemented\n" );
In fact, you do support this. You don't support the lack of it. That is, you don't call NetBIOS() to do a name lookup if it isn't specified.
Thanks, I fixed this.
I'm not sure you really want to though.
Why? Can our (your) netbios code do name lookups?
-Hans
I'm not sure you really want to though.
Why? Can our (your) netbios code do name lookups?
Yes, it can, with some caveats: the registry has to be set up correctly, and the name has to be NetBIOS-legal (15 characters or fewer, no NetBIOS special characters, which are different than DNS ones.) It's especially the fact that the registry has to be set up that makes this less useful.
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tuesday 11 April 2006 19:38, Juan Lang wrote:
special characters, which are different than DNS ones.) It's especially the fact that the registry has to be set up that makes this less useful.
I see, well, DNS_QUERY_NO_NETBT was introduced after Windows 2000 and I think it shows where MS is going with NetBIOS...
-Hans
On 4/11/06, Juan Lang juan_lang@yahoo.com wrote:
Yes, it can, with some caveats: the registry has to be set up correctly, and the name has to be NetBIOS-legal (15 characters or fewer, no NetBIOS special characters, which are different than DNS ones.) It's especially the fact that the registry has to be set up that makes this less useful.
Not sure how important NetBIOS is, but what do you mean by "the registry has to be set up"? Is it something that needs to be added to wine.inf and/or something added to winecfg? Or, would just documenting it be the solution? I'm pretty sure we have no docs on it right now.
-Brian
Not sure how important NetBIOS is, but what do you mean by "the registry has to be set up"? Is it something that needs to be added to wine.inf and/or something added to winecfg? Or, would just documenting it be the solution? I'm pretty sure we have no docs on it right now.
You have to set up the WINS servers, if you use them. This isn't documented except in the code (dlls/netapi32/nbt.c.) It's marked with the usual @@ Wine registry key tag. There are some other things you can tweak if necessary. I suppose this could go into winecfg. It can't go into wine.inf, because we can't guess correct values.
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Not sure how important NetBIOS is, but what do you mean by "the registry has to be set up"?
I'm an idiot. Broadcast name resolution works without any setup, and WINS can be added by those that use it. (That should probably be documented someplace.)
Hans, I take back what I said about not wanting to use Netbios for name resolution. If you want to, go nuts :)
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com