Door Games Unlimited

Welcome, Guest.


Subject: Telgate Date: Thu Sep 19 2013 16:16:24
From: echicken To: Lab Rat

  Re: Telgate
  By: Lab Rat to All on Thu Sep 19 2013 17:33:37

 LR> I was just wondering if it was possible to use Telgate to connect to
 LR> another BBS and also log in using a predefined user name and password
 LR> before allowing access to the user?

Probably not exactly what you're looking for, but a while ago I added the
TG_SENDPASS flag for a similar purpose.  Usage is:

bbs.telnet_gate(hostname, TG_RLOGIN|TG_SENDPASS);

This opens an rlogin session with 'hostname', sending the username and password
of the currently logged-in user.  For this to work, the remote system needs to
be ready to accept that username & password combo.

I do see a bbs.change_user method in the docs, which I've never used.  You
might be able to call it prior to calling bbs.telnet_gate, switching to a user
whose credentials are known to be valid on the remote system (then again
afterward to switch back.)  Of course, I might be misinterpreting what this
method does, or the extent to which it does it.

echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

---
 ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com

Previous Message       Next Message
In Reply To: Telgate (Lab Rat)
Replies: Telgate (Lab Rat)