Skip to main content
RFHotmail
New Member
March 11, 2014
Question

ldap query failed

  • March 11, 2014
  • 3 replies
  • 10026 views
Hello everyone unable to pull users from active directory Common name : cn Distinguished name : DC=mydomain,DC=local Binary Type: Regular UserDN : CN=Administrator,CN=Users,DC=mydomain,DC=local when i test i get error ldap query failed. I created another user name Fortiadmin under Users container in Active directory and i gave the user enterprise admin rights When i try UserDN : CN=fortiadmin,CN=Users,DC=mydomain,DC=local Still same error please do guide me the correct syntax.

    3 replies

    rwpatterson
    New Member
    March 11, 2014
    Try from the CLI first:
      FGT # diag test authserver ldap <server_name> <username> <password>
    RFHotmail
    RFHotmailAuthor
    New Member
    March 12, 2014
    Thanks alot I have tried from the CLI and i am getting error Error: not able to recognize ldap server
    Adnan_Khalid
    New Member
    April 10, 2014
    common name sAMAccountName Distinguish name DC=domain,DC=com Type regular dn = CN=administrator,OU=users,DC=domain,DC=com