Re: WINS proxy
- Original Message - From: David Collier-Brown [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 11:56 PM Subject: Re: WINS proxy Alex Torkhov wrote: I look at lmhosts as possible resolving of problem, and see that it is loading on nmbd startup, does killing it with SIGHUP reloads lmhosts? What is loading lmhosts on Samba going to do for the clients? The cliints won't see the lmhosts file's contents I think lmhosts can load into WINS database. Clients then can see my lmhosts via WINS. May be I am wrong. Alex.
Re: WINS proxy
Hi, I looked at sources of nmbd, and did some experiments with it, and see that that local announcement does not change WINS database. I think that it is bug, and need to be patched. I am talking about samba-2.2.5 now. May be someone could patch it. If it will be do for samba-3.0 or if it is already patched, please notify me. Thanks, Alex. - Original Message - From: Christopher R. Hertel [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 11:21 PM Subject: Re: WINS proxy I need to check, but my vague memory is that WINS proxy only handles lookups, not local announcements. I'm not sure, though. I remember some notes in an old Microsoft document. I'll have to look. Chris -)- On Sun, Aug 18, 2002 at 09:56:46AM +0400, Alex Torkhov wrote: Hi, I am using samba-2.2.5 And I see, that when wins server and wins proxy is set, broadcast announcements does not do anything with WINS database. Is this behavior is right? I think, that host announcement should add this host to WINS database. Or it is solved in Samba-3.0? Thanks, Alex Torkhov.
Re: WINS proxy
On Wed, Aug 21, 2002 at 11:02:04AM +0400, Alex Torkhov wrote: Hi, I looked at sources of nmbd, and did some experiments with it, Why? You need to be looking at documentation, not at nmbd source. You need to understand how WINS proxy is designed instead of how you wish it would work for you. Since my last reply, I've gone ahead and done that work for you. Read on... and see that that local announcement does not change WINS database. That is correct behavior. Here's evidence: http://www.microsoft.com/windows2000/en/server/help/sag_WINS_und_Proxies.htm?id=2265 I think that it is bug, and need to be patched. No, it's not a bug. It is working as designed. I am talking about samba-2.2.5 now. May be someone could patch it. If it will be do for samba-3.0 or if it is already patched, please notify me. Before anything gets changed you'll need to convince people that there is a good reason to change it. As for WINS proxy, it is an outdated feature with very limited utility. It was designed by Microsoft to provide support for older implementations which did not understand P-mode. What you are asking for is a new feature which would extend the normal behavior of WINS proxy. So, the real question is this: Why do you want a new proxy service that will convert broadcast-mode registrations into point-to-point registrations and pass them to the NBNS? Are you running B-mode systems that cannot be converted to run in H-mode? How would you avoid sending duplicate enteries for M- and H-mode nodes on the same LAN? If the WINS server sends a Negative Name Registration Response to the client, where will it actually go? Should the WINS server accept name registrations if the header IP does not match the registration IP? There's a lot more to this than shows on the surface. Chris -)- -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Re: WINS proxy
- Original Message - From: Christopher R. Hertel [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 12:17 PM Subject: Re: WINS proxy http://www.microsoft.com/windows2000/en/server/help/sag_WINS_und_Proxies.htm ?id=2265 They say: WINS proxies are WINS-enabled computers that listen for b-node NetBIOS name service functions (name registration, name release, and name query) and can respond for those names that are remote and not used on the local network. ... When a b-node client registers its name, the proxy checks the name against the WINS server database. If the name exists in the WINS database, the proxy might send a negative registration response back to the b-node client attempting to register the name. If WINS proxy check WINS database, why cannot it register b-mode client in it. How would you avoid sending duplicate enteries for M- and H-mode nodes on the same LAN? If WINS proxy knows or gets answer from WINS server, that client and name he asks are in one subnet, then it should not reply to client. If the WINS server sends a Negative Name Registration Response to the client, where will it actually go? It must go to sender (WINS proxy, not its b-mode client). Should the WINS server accept name registrations if the header IP does not match the registration IP? We can say that accept such name registration only from list of hosts, where we write all of our WNIS proxies. Alex.
Re: WINS proxy
Do you mean add them to lmhosts? no - not lmhosts WINS set up the clients to use a WINS server (your samba box) it is on the network properties page. why would you change your domain master browser very often? Ok, this may be will work, but: 1. Clients sometimes changes their name (and workgroup) 2. What I should do with LMB, DMB? - it is changed VERY often, because clients are often do poweroff, reset. - and Samba cannot be LMB for all of workgroups. this doesn't belong on samba-technical now people on samba may be able to provide you a more step-by-step description of how to set up WINS. brad
Re: WINS proxy
- Original Message - From: Bradley W. Langhorst [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 7:55 PM Subject: Re: WINS proxy Do you mean add them to lmhosts? no - not lmhosts WINS set up the clients to use a WINS server (your samba box) it is on the network properties page. I say, have not any access to my clients! I cannot setup them to use WINS! This is my problem! why would you change your domain master browser very often? DMB poweroff - no more DMB. I cannot do my Samba my DMB - there are many workgroups. Alex.
Re: WINS proxy
- Original Message - From: Bradley W. Langhorst [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 9:41 PM Subject: Re: WINS proxy If you can't access the clients then this is not your problem anyway - forget about it or tell the administrator of the clients to configure them to talk to your WINS server. I am administrator of router (Linux, Samba, ...) And clients are admins of themselves. And it is not possible to tell them anything. Alex.
Re: WINS proxy
Unmanaged clients are unreliable by default. It's not something you can fix. Better you make a reason of that. Simo. On Wed, 2002-08-21 at 20:33, Alex Torkhov wrote: - Original Message - From: Bradley W. Langhorst [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 9:41 PM Subject: Re: WINS proxy If you can't access the clients then this is not your problem anyway - forget about it or tell the administrator of the clients to configure them to talk to your WINS server. I am administrator of router (Linux, Samba, ...) And clients are admins of themselves. And it is not possible to tell them anything. Alex. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: WINS proxy
- Original Message - From: Simo Sorce [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: Bradley W. Langhorst [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 10:53 PM Subject: Re: WINS proxy Even clients are unmaintained, they always want something. Now they wants cross-subnet windows networking. I see 2 ways to resolv my problem: 1. Add new feature to Samba (something like WINS registration proxy) 2. Use lmhosts in WINS server. Docs says that on every computer should have a copy of lmhosts. And I don`t found doc about using WINS with lmhosts. May be someone other find? Third way may be implemented something like this: small script (like findsmb) runs every 5 minutes and grabs all local names (workstations/workgroups) into lmhosts file, and when b-mode clients asks WINS server (proxy) it looks into this file. Alex.
Re: WINS proxy
There is an easy way: if they ask for that you may simply answer that they only need to set your server as wins server. if they are asking something, they may also be willing to do something to have their requests satisfied. Simo. On Wed, 2002-08-21 at 21:26, Alex Torkhov wrote: - Original Message - From: Simo Sorce [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: Bradley W. Langhorst [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 10:53 PM Subject: Re: WINS proxy Even clients are unmaintained, they always want something. Now they wants cross-subnet windows networking. I see 2 ways to resolv my problem: 1. Add new feature to Samba (something like WINS registration proxy) 2. Use lmhosts in WINS server. Docs says that on every computer should have a copy of lmhosts. And I don`t found doc about using WINS with lmhosts. May be someone other find? Third way may be implemented something like this: small script (like findsmb) runs every 5 minutes and grabs all local names (workstations/workgroups) into lmhosts file, and when b-mode clients asks WINS server (proxy) it looks into this file. Alex. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: WINS proxy
Alex Torkhov wrote: I see 2 ways to resolv my problem: 1. Add new feature to Samba (something like WINS registration proxy) 2. Use lmhosts in WINS server. 3 [...] small script (like findsmb) runs every 5 minutes Alas, the lmhosts file would have to be on the client machines, so you'd still ahve to convince them to help you help themselves. Pleas not that even if they have NT servers, they still have to put the wins host name/address into a box in the cntroll panel. Only if they get their IP addresses from a windows- compatable DHCP server can they get wins server adresses automatically. --dave -- David Collier-Brown, | Always do right. This will gratify Performance Engineering | some people and astonish the rest. Americas Customer Engineering, | -- Mark Twain (905) 415-2849 | [EMAIL PROTECTED]
Re: WINS proxy
- Original Message - From: Simo Sorce [EMAIL PROTECTED] To: Alex Torkhov [EMAIL PROTECTED] Cc: Bradley W. Langhorst [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 11:32 PM Subject: Re: WINS proxy There is an easy way: if they ask for that you may simply answer that they only need to set your server as wins server. if they are asking something, they may also be willing to do something to have their requests satisfied. If I say some clients to set their wins, they will not have access to other clients, who not setup wins. Alex.
Re: WINS proxy
I need to check, but my vague memory is that WINS proxy only handles lookups, not local announcements. I'm not sure, though. I remember some notes in an old Microsoft document. I'll have to look. Chris -)- On Sun, Aug 18, 2002 at 09:56:46AM +0400, Alex Torkhov wrote: Hi, I am using samba-2.2.5 And I see, that when wins server and wins proxy is set, broadcast announcements does not do anything with WINS database. Is this behavior is right? I think, that host announcement should add this host to WINS database. Or it is solved in Samba-3.0? Thanks, Alex Torkhov. -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]