Skip to main content

AD.BAD_OPTION

Error code AD.BAD_OPTION, raised by toolkits/microsoft. Area: AD.

What it means​

  • StartTLS is for ldap:// addresses; ldaps:// is already encrypted
  • A user who must change the password at first sign-in cannot also be stopped from changing it
  • name_kind is CN or OU, not '…'

What to do​

  • Turn StartTLS off, or use ldap://.
  • Turn off one of the two options.
  • Set name_kind to CN or OU.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: AD BAD_OPTION bad option