Solved

RAS API

Posted on 1997-07-07
3
470 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumNumber challenge 16 122
abstract class with all non abstract mentods 6 76
EvenOdd challenge 10 105
Use of condition with 'serial' in ansible 2 58
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…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now