Remote authentication of user using NTLM?
From: cmg_cobra (cglasnap_at_vt.edu)
Date: 02/25/05
- Next message: Peodor: "CryptDecrypt wrong key"
- Previous message: Declercq Dirk: "How to bring the 'CredUIPromptForCredentials dialog' to the foreground"
- Next in thread: cmg_cobra: "Re: Remote authentication of user using NTLM?"
- Reply: cmg_cobra: "Re: Remote authentication of user using NTLM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Feb 2005 17:03:25 -0800
I'm attempting to use NTLM SSP via SSPI to authenticate users. I want
the user to type in his username/password when the application starts
because their login info will not be the same as their Windows logon.
Users will be added to the Local Users and Groups on the server. To
implement this I pass a *SEC_WINNT_AUTH_IDENTITY with the
username/password entered by the user to the AcquireCredentialsHandle
function on the client side.
If I run the client application on the server, it all works fine.
Authentication works like a charm.
The problem arises when I run the client application on another machine
that's not even part of domain the server is in: When I call
AcceptSecurityContext on the server, it always returns a
SEC_E_LOGON_DENIED error.
Any ideas why it would work in the one case but not the other?
Help is very much appreciated.
Thanks,
-cmg_cobra
- Next message: Peodor: "CryptDecrypt wrong key"
- Previous message: Declercq Dirk: "How to bring the 'CredUIPromptForCredentials dialog' to the foreground"
- Next in thread: cmg_cobra: "Re: Remote authentication of user using NTLM?"
- Reply: cmg_cobra: "Re: Remote authentication of user using NTLM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|