Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Paste gif, jpg images Pin
Filomela1-Feb-04 20:55
Filomela1-Feb-04 20:55 
GeneralRe: Paste gif, jpg images Pin
CodeBrain1-Feb-04 21:12
CodeBrain1-Feb-04 21:12 
GeneralRe: Paste gif, jpg images Pin
CodeBrain2-Feb-04 3:02
CodeBrain2-Feb-04 3:02 
GeneralRe: Paste gif, jpg images Pin
Filomela2-Feb-04 20:35
Filomela2-Feb-04 20:35 
GeneralRe: Paste gif, jpg images Pin
CodeBrain2-Feb-04 21:16
CodeBrain2-Feb-04 21:16 
GeneralRe: Paste gif, jpg images Pin
Filomela16-Feb-04 20:23
Filomela16-Feb-04 20:23 
GeneralRe: Paste gif, jpg images Pin
Filomela26-Mar-04 4:55
Filomela26-Mar-04 4:55 
GeneralAuthenticate the remote user credentials Pin
Mr Bose Dayala27-Jan-04 19:47
Mr Bose Dayala27-Jan-04 19:47 
Hi all,

I need to programmatically (C/VC++) authenticate the credentials of a user which is on a remote machine. The machines (Win2000 Servers) are connected through LAN. The user is only local to the remote machine and not a domain user. Also, the user is a member of "Users" group (or it may belong to any group). I will use only IP address and not the DNS for connecting to the remote machine. I don't want to authenticate over the Internet. I tried the following approaches:
1) Using SSPI functions such as "GenClientContext", "AcquireCredentialsHandle", etc., which involves preparing client and server messages to negotiate, challenge and authenticate. But this works fine only for local users and domain users.
2) Mapping of a drive from remote machine. But this fails for certain conditions (e.g., when the logged-on credentials are same for both the machines)
3) Changing the password to the same value using NetUserChangePassword. But this fails if password policy restricts.

Is there any other way to authenticate the remote user credentials?

Bose Dayala
GeneralFocus problem! Pin
rohit.dhamija27-Jan-04 19:28
rohit.dhamija27-Jan-04 19:28 
GeneralRe: Focus problem! Pin
Antti Keskinen27-Jan-04 21:15
Antti Keskinen27-Jan-04 21:15 
GeneralMore Help Plz Pin
MrNiceBerG27-Jan-04 18:39
MrNiceBerG27-Jan-04 18:39 
GeneralTrying to capture the screen, Getting some Error Pin
santosh k27-Jan-04 18:24
santosh k27-Jan-04 18:24 
GeneralRe: Trying to capture the screen, Getting some Error Pin
Diddy28-Jan-04 22:40
Diddy28-Jan-04 22:40 
GeneralClass/Overloaded funtion help Pin
tekkie241227-Jan-04 16:29
tekkie241227-Jan-04 16:29 
GeneralRe: Class/Overloaded funtion help Pin
Michael Gunlock27-Jan-04 16:45
Michael Gunlock27-Jan-04 16:45 
GeneralRe: Class/Overloaded funtion help Pin
tekkie241228-Jan-04 13:45
tekkie241228-Jan-04 13:45 
Generalsort item in tree control Pin
kendao27-Jan-04 16:21
kendao27-Jan-04 16:21 
GeneralRe: sort item in tree control Pin
Prakash Nadar27-Jan-04 18:55
Prakash Nadar27-Jan-04 18:55 
GeneralLVN_GETDISPINFO Using SendMessage Pin
fordge27-Jan-04 16:05
fordge27-Jan-04 16:05 
GeneralRe: LVN_GETDISPINFO Using SendMessage Pin
Mike Nordell28-Jan-04 0:35
Mike Nordell28-Jan-04 0:35 
Generalparallel port Pin
Member 64882827-Jan-04 15:10
Member 64882827-Jan-04 15:10 
GeneralRe: parallel port Pin
Antti Keskinen27-Jan-04 19:35
Antti Keskinen27-Jan-04 19:35 
GeneralRe: parallel port Pin
Member 64882828-Jan-04 5:33
Member 64882828-Jan-04 5:33 
GeneralRe: parallel port Pin
Antti Keskinen28-Jan-04 6:42
Antti Keskinen28-Jan-04 6:42 
GeneralRe: parallel port Pin
Member 64882829-Jan-04 15:34
Member 64882829-Jan-04 15:34 

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.