Find The AuthenticationType Set In Active Directory

The below code will display the authentication type set in the active directory domain. I have seen requests from the application developers to induce SSL with active directory to protect their user credentials.

.Secure protects the credentials by using kerberos tickets. Infact .secure informs the ADSI to use SPNEGO. Below powershell code gives you the information about the Authentication Type

$ADVar = new-object system.directoryservices.directoryentry
$ADSearch = new-object system.directoryservices.directorysearcher



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s