Skip to main content
Alpha7
New Member
March 23, 2017
Solved

remote_wildcard admin account with LDAP?

  • March 23, 2017
  • 1 reply
  • 11146 views

Has anyone integrated LDAP with Fortimail for admin login?

    Best answer by Alpha7

    Fortinet support has asked to use the following LDAP query, but it is still not working.

    query: (&(objectCategory=person)(objectClass=user)(sAMAccountName=$u))

    1 reply

    neonbit
    New Member
    March 25, 2017

    I've managed to get it to work with using the administrators email address as the username, but can't figure out howto get it to work with usernames only.

     

    To get it to work with usernames you just add an LDAP server and select 'Active Directory' for the schema (under User Query Options).

     

    Anyone got any ideas on what needs to be edited to use usernames for the login? I have a feeling it's got something to do with the schema but my LDAP skills are lacking :(

    Alpha7
    Alpha7AuthorAnswer
    New Member
    March 28, 2017

    Fortinet support has asked to use the following LDAP query, but it is still not working.

    query: (&(objectCategory=person)(objectClass=user)(sAMAccountName=$u))

    neonbit
    New Member
    March 30, 2017

    Hi Alpha, thanks for that I just tested the query and it's working for me.

     

    To confirm the bind is working edit your LDAP profile (Profile > LDAP) and goto User Query Options. Click the test button and enter an email + password. If it's failing here then I'd recommend checking your LDAP settings.

     

    If it works here then it's probably something in the administrator section.

     

    Does your test work in the LDAP profile?