Skip to Content.
Sympa Menu

freetds - RE: [freetds] TODO reviewed

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: <ml AT freetds.org>
  • Cc:
  • Subject: RE: [freetds] TODO reviewed
  • Date: Mon, 11 Apr 2005 12:33:34 -0400

> From: ZIGLIO, Frediano, VF-IT
> Sent: 11 April 2005 13:27
>
> . fix timeout problem reported in ML
> . check dblib behavior
>
> Mmm... I don't even remember the problem...
>
> tdsping program for testing purposes
>
> What should this program do exactly ??

I suggest tdsping try to log in to the server as user 'nobody' password
'nobody'. It can use the TDS version indicated in freetds.conf if there
is one, else use TDS 4.2.

The idea is to find the server and get a rejection, proving that you
found the server and port. By using TDS 4.2 (if no "TDS Version" in
freetds.conf), we ensure the server -- be it Sybase or Microsoft -- will
accept the login packet.

tdsping wouldn't print the server's rejection message. It would process
it and confirm to the user that the server is alive and well.

$ tdsping myserver
"myserver" found at 102.211.1.2 port 1433

$ tdsping yourserver
tdsping: "yourserver": no definition found: see TDSDUMPCONFIG for
details

$ tdsping newserver
tdsping: "newserver": no response from 102.211.1.21:2525 with TDS 4.2

(I would like the first message to be:

"myserver" in '/etc/freetds.conf' found at 102.211.1.2 port 1433

but that's actually not very easy to do with our current config file
parser.)

--jkl



-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
e-mail
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.




Archive powered by MHonArc 2.6.24.

Top of Page