Hello Gurus,

I have a scenario where I have to validate a given set of credentials,
without actually joining a computer to a domain, using the credentials.

The information I have
username
password
domain name
computer name

I am trying to find a windows native/managed api, which would let me do that.
I did find some api which would let me Join the computer to the domain and
unjoin from the domain.
I am sure these api, internally, are using some low level functions/api to
authenticate the credentials first before attempting to join the system to
the domain.

Your answers are highly appreciated.

Thanks in Advance.
Srikanth

Re: Authenticating user's join domain credentials ? --- win32 api ??? by Roger

Roger
Fri Apr 29 20:42:41 CDT 2005

Many people just use an Ldap bind attempt to see if it
succeeds under the provided credentials, or if it fails
over to an unauthenticated bind.

--
Roger Abell
Microsoft MVP (Windows Security)
MCSE (W2k3,W2k,Nt4) MCDBA
"Srikanth" <Srikanth@discussions.microsoft.com> wrote in message
news:22BF1BBC-13B2-4A0F-B15F-4FF57C28288C@microsoft.com...
> Hello Gurus,
>
> I have a scenario where I have to validate a given set of credentials,
> without actually joining a computer to a domain, using the credentials.
>
> The information I have
> username
> password
> domain name
> computer name
>
> I am trying to find a windows native/managed api, which would let me do
that.
> I did find some api which would let me Join the computer to the domain and
> unjoin from the domain.
> I am sure these api, internally, are using some low level functions/api to
> authenticate the credentials first before attempting to join the system to
> the domain.
>
> Your answers are highly appreciated.
>
> Thanks in Advance.
> Srikanth