Skip to main content
shruthinr
Staff
Staff
Nov 6, 2017 10:17 AM UTC

Technical Note: Can Domain\Username format be used when doing 802.1 x LDAP authentication from wireless devices

Description
This article explains whether "Domain\Username” format can be used when doing 802.1 x LDAP authentications from a Wireless device.

Scope
FortiGate, FortiWiFi, FortiAP: Any version.

Solution
WPA2-Enterprise (802.1x) LDAP Authentication

Usernames are searched for by looking for a specific LDAP attribute.  The default is "cn".  Active directory usually needs "SamAccountName".

The problem with "domain\Username" is that it is not an LDAP attribute, so it is not possible to configure it, hence Domain\Username” format cannot be used when doing 802.1 x authentications.  The authentication will fail.

For information, LDAP is configured on FortiGate and FortiWiFi as follows:
boson-kvm40 # config user ldap
boson-kvm40 (ldap) # edit <ldap server>
boson-kvm40 (10.120.5.12) # set cnid "SamAccountName"
boson-kvm40 (10.120.5.12) # end

For further details refer to the configuration guides available in the Fortinet Document Library.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT