OK, it seems maybe you were misunderstanding of it, this function called "Windows Authentication (NTLM or Active Directory).". In fact, Windows Authentication is done with the API "LogonUser()", so Windows system will determine which method to use for authentication automatically.
For your requirement, you can use LDAP Authentication, I think it won't authenticate with local Windows accounts.