Win32: How to validate credentials against Active Directory?

前端 未结 5 691
一个人的身影
一个人的身影 2020-11-30 01:08

It has been asked, and answered for .NET, but now it\'s time to get an answer for native Win32 code:

How do i validate a Windows username and password?

5条回答
  •  盖世英雄少女心
    2020-11-30 01:57

    There is a win32 API function called ldap_bind_s. The ldap_bind_s function authenticates a client against LDAP. See MSDN documentation for more information.

提交回复
热议问题