Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Rant/Advice Request Pin
-- NA --11-Jul-03 0:33
-- NA --11-Jul-03 0:33 
GeneralRe: Rant/Advice Request Pin
-- NA --10-Jul-03 22:49
-- NA --10-Jul-03 22:49 
GeneralRe: Rant/Advice Request Pin
-- NA --10-Jul-03 2:38
-- NA --10-Jul-03 2:38 
GeneralRe: Rant/Advice Request Pin
-- NA --10-Jul-03 3:53
-- NA --10-Jul-03 3:53 
GeneralRe: Rant/Advice Request Pin
Navin10-Jul-03 6:37
Navin10-Jul-03 6:37 
GeneralRe: Rant/Advice Request Pin
-- NA --10-Jul-03 7:07
-- NA --10-Jul-03 7:07 
GeneralAuthentication Credentials under Different Domain Pin
Member 8157210-Jul-03 2:06
Member 8157210-Jul-03 2:06 
GeneralRe: Authentication Credentials under Different Domain Pin
Member 8157210-Jul-03 3:06
Member 8157210-Jul-03 3:06 
Thanx, but i still cant get whats bugging me.

I'm presently using machine1 under domain1 and the user is USER1
LogonUser("USER1", "DOMAIN1", "PASSWORD", LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, &phToken);
This succeeds

but if i try
LogonUser("USER2", "DOMAIN2", "PASSWORD", LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, &phToken);
it fails giving invalid credentials.

But i can view the contents of the domain2 by using user2/password using windows explorer.
If windows can view the contents, then i should be able to do the same.

Hope i'm not getting confused as this is my first venture into inter domain authentication/execution.

Thanx again

rgds
Unni
GeneralRe: Authentication Credentials under Different Domain Pin
Member 8157210-Jul-03 4:03
Member 8157210-Jul-03 4:03 
GeneralRe: Authentication Credentials under Different Domain Pin
Member 8157210-Jul-03 5:25
Member 8157210-Jul-03 5:25 
GeneralRe: Authentication Credentials under Different Domain Pin
10-Jul-03 17:41
suss10-Jul-03 17:41 
Questionprintf() or cout ? Pin
keegan10-Jul-03 2:04
keegan10-Jul-03 2:04 
AnswerRe: printf() or cout ? Pin
Ryan Binns10-Jul-03 2:43
Ryan Binns10-Jul-03 2:43 
GeneralRe: printf() or cout ? Pin
keegan10-Jul-03 2:52
keegan10-Jul-03 2:52 
GeneralRe: printf() or cout ? Pin
Ryan Binns10-Jul-03 2:57
Ryan Binns10-Jul-03 2:57 
GeneralRe: printf() or cout ? Pin
keegan10-Jul-03 3:30
keegan10-Jul-03 3:30 
GeneralRe: printf() or cout ? Pin
Ryan Binns10-Jul-03 3:32
Ryan Binns10-Jul-03 3:32 
AnswerRe: printf() or cout ? Pin
Tim Smith10-Jul-03 4:04
Tim Smith10-Jul-03 4:04 
GeneralRe: printf() or cout ? Pin
Ryan Binns10-Jul-03 4:16
Ryan Binns10-Jul-03 4:16 
AnswerRe: printf() or cout ? Pin
David Crow10-Jul-03 4:49
David Crow10-Jul-03 4:49 
GeneralMigrate from VC6 to VS.net (ie MFC 4.2 to MFC 5) Pin
DREVET Olivier10-Jul-03 1:27
DREVET Olivier10-Jul-03 1:27 
GeneralMFC error Pin
BoudewijnEctor10-Jul-03 0:45
BoudewijnEctor10-Jul-03 0:45 
GeneralRe: MFC error Pin
Anthony_Yio10-Jul-03 1:40
Anthony_Yio10-Jul-03 1:40 
GeneralRe: MFC error Pin
BoudewijnEctor10-Jul-03 2:07
BoudewijnEctor10-Jul-03 2:07 
GeneralRe: MFC error Pin
Anthony_Yio10-Jul-03 15:39
Anthony_Yio10-Jul-03 15:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.