Solved

RAS API

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

821 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