Solved

RAS API

Posted on 1997-07-07
3
473 Views
Last Modified: 2013-11-20
Hi,I have an application written in Visual C++ v5, running on NT4 that allows users to dial into a NT box. The users are  prompted for a username/password and then a telnet connection is automatically started to a host. As well as loginname and password authentication there are also various token passing/challenge response authentication systems that can be used. All access to the system is also logged to a SQL server.  What I would like to be able to do is keep the loginname password and token passing/challenege response system but instead of opening a telnet connection somehow start a RAS connection on the incoming port. Therefore after a user has been authenticated using my program a RAS connection is started.  Is this possible?I cannot find much infomation on the RAS api.  The info I have found allows adding entries to the RAS phone book and making outgoing ras calls.Thanks Robert
0
Comment
Question by:Robert99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
vinniew earned 100 total points
ID: 1302479
NationsBank did it this way:


Laptop user Ras's in to a server w/user and pass.  Third-party software security key starts up, asks user for password.  All communication is then secured, server is open for user.  All 700+ servers can be seen in Network Neighborhood for use.  So the third-party key-encryption started after the RAS was up and running on both server and client.

V

0
 

Author Comment

by:Robert99
ID: 1302480
OK, So it is possible. But where do I find the infomation on the APIs to use


0
 
LVL 3

Expert Comment

by:vinniew
ID: 1302481
There's a sample program called Rasberry on VC++ 5.0.  That's for dialling out.

As far as what you're doing goes, what ports are you using?

My idea would be to create a handle to that incoming inetaddr:port and then pass that handle to the ras API's that listen for a connection.

I think you can screw around with handles like that using CreateFile, ReadFile, WriteFile.  That's how I redirected stdout to a socket once.

V

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question