Detect AD ldap server and automatically fill in presets

Detect wether the added server is an Active Directory server and use the
information fetched from the discovery to fill the form with more accurate
preset values.

refs #6141