delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/05/14:46:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42F3B4CB.89A51445@dessent.net>
Date: Fri, 05 Aug 2005 11:49:47 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fwd: Outbound telnet/ftp from cygwin not working
References: <65e812bc05080508255ebb07eb AT mail DOT gmail DOT com> <65e812bc050805113772df9eb3 AT mail DOT gmail DOT com>
X-Spam-Report: -5.7/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.2 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Michael Rilling wrote:

> After doing a lot more googleing, I've stumbled upon this fix.  Wonder
> if you know about this issue?
> 
> In regedit go to HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
> edit DataBasePath change %SystemRoot% to its real value (on mine its
> C:\WINDOWS)  Don't know why but this fixed my issue.
> 
> Let me know if you've heard this before.

This happens when something edits the registry and changes that key
from  REG_EXPAND_SZ to REG_SZ.  %-variables are only expanded in keys of
type REG_EXPAND_SZ.  You should find that by default Windows uses
%SystemRoot% and REG_EXPAND_SZ so everything works fine.  It's only when
some brain-dead program or installer mucks about with that key and
changes it to a regular string that you have a problem.

And this will only matter to programs that call getservbyname(), which
these days are very far and few between.  telnet is one though.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019