Hi,
Is it possible to modify LDAP authentication in way that would allow users to authenticate with either their sAMAccountName or their userPrincipalName?
Thank you
Solved! Go to Solution.
One LDAP server setting on FGT only use one "cnid".
You may try to set up two LDAP server with different "cnid" on FGT and add those two LDAP server into one "User Group". Both should be works.
####
config user ldap edit "xxx" set server "x.x.x.x" set cnid "userPrincipalName" end config user ldap edit "yyy" set server "y.y.y.y" set cnid "sAMAccountName" end config user group
edit zzz
set member xxx yyy
end
One LDAP server setting on FGT only use one "cnid".
You may try to set up two LDAP server with different "cnid" on FGT and add those two LDAP server into one "User Group". Both should be works.
####
config user ldap edit "xxx" set server "x.x.x.x" set cnid "userPrincipalName" end config user ldap edit "yyy" set server "y.y.y.y" set cnid "sAMAccountName" end config user group
edit zzz
set member xxx yyy
end
Jeff_FTNT wrote:One LDAP server setting on FGT only use one "cnid".
You may try to set up two LDAP server with different "cnid" on FGT and add those two LDAP server into one "User Group". Both should be works.
####
config user ldap edit "xxx" set server "x.x.x.x" set cnid "userPrincipalName" end config user ldap edit "yyy" set server "y.y.y.y" set cnid "sAMAccountName" end config user group
edit zzz
set member xxx yyy
end
A bit of a workaround, but should work. Still a bit unfortunate that one cannot just write a custom filter.
Thank you!
User | Count |
---|---|
2140 | |
1188 | |
770 | |
451 | |
347 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.