(Msg. 1) Posted: Wed Jul 02, 2008 3:30 pm
Post subject: RasGetEntryDialParams() - does not return password on XP SP3 Archived from groups: microsoft>public>windowsnt>protocol>ras (more info?)
Hello,
I'm working on 2 similar applications that use Remote Access Service.
App1: - An application which is started by a service, regardless of the
privilege level of the logged on user
App2: - An application which *does not* make use of a service *if* it is
logged on with administrator privilege. If the logged on user has
non-administrator privilege, this app will request a service to perform
actions on its behalf by sending actions requests using named pipes.
All RAS profiles are created and read in/from the "All Users" phonebook.
On XP SP3, app1 creates a RAS profile. If app2 tries and reads the RAS
profile credentials using RasGetEntryDialParams(), the api returns success.
The username is visible and lpfPassword has a value of TRUE.
However, if a connection is requested for the RAS profile mentioned above,
the connection fails because of an "invalid" password.
Up until XP SP2 the app2 has been able to read the RAS credentials created
by app1 without any problems.
Has there been any UAC related changes in XP SP3 that might have affected
the behaviour of our application?
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum