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

ldap query failed

  • March 11, 2014
  • 3 replies
  • 10032 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
    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!