Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to generate new rasphone.pbk w/o wizard?

204 views
Skip to first unread message

Mike Warner

unread,
Oct 4, 2000, 3:00:00 AM10/4/00
to
I'm trying to develop an alternative to the Internet Connection Wizard and
need to create pbk files on the fly. Can anyone either tell me or let me
know where to find out how the following variables in rasphone.pbk are set?

DialParamsUID (encrypted user info?)
Authentication (encryption key?)
AuthRestrictions (?)

All of the rest of the variables are clear.

Thanks,
Mike


Paul Neary

unread,
Oct 4, 2000, 3:00:00 AM10/4/00
to

Mike:
Not all of the RAS info is kept in the .pbk file. Some of it's put in the
registry, particularly things which are security related. These are only
accessible via the RAS API. Not sure if yours are there or not. I assume
you've changed the setting on the rasphone dialog and did a before-and-after
compare. If nothing shows, then it's in the registry.
--Paul
"Mike Warner" <mwa...@myezsale.com> wrote in message
news:8rfrgh$n6q$1...@news.cerf.net...

Mike Warner

unread,
Oct 5, 2000, 3:00:00 AM10/5/00
to
Paul,

I've changed things and just plain cloned entries. One or all of those 3
variables changed. DialParamsUID changed every time.

I'm looking into peeking into RASAPI now with a dll cracker. Hopefully that
will shed some light on the issue.

Any thing I should look for specifically regarding those 3 vars?

Thanks,
Mike


Paul Neary <pa...@g-and-z.com> wrote in message
news:uyp5lVk...@cppssbbsa02.microsoft.com...

Paul Neary

unread,
Oct 9, 2000, 3:00:00 AM10/9/00
to

Mike:
Look for RasGetCredentials() / RasSetCredentails(), plus
RasSetEntryDialParams() / RasGetEntryDialParams(). I've been able to add
entries using those plus the RasSetEntryProperties(). It's not the easiest
API I've run across. Not sure how far a DLL "cracker" will get you.
Everything's doc'ed pretty well in the MSDN Library.

--Paul
"Mike Warner" <mwa...@myezsale.com> wrote in message
news:8rioer$e4r$1...@news.cerf.net...
0 new messages