When create users from LDAP server (in my case, Microsoft AD server), the ID (username on Fortigate) of created user is actually "display name" of this user in AD. The request is to change the username on Fortigate from this display name to "sAMAccountName" or "userPrincipalName". Is it possible? And how?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Yes, it's possible to change. By default LDAP users will be imported based on their 'CN' attribute, which is usually the same as 'DisplayName'.
You will need to change the CNID value under your LDAP profile to change the behavior.
For instance, if you want your users to be imported with usernames based on the 'userPrincipalName' attribute, use the bellow configuration:
config user ldap
edit "YOUR-LDAP-PROFILE-NAME"
set cnid "userPrincipalName"
next
end
If you want the imported usernames be based on the 'sAMAccountName', simply change the settings as bellow:
config user ldap
edit "YOUR-LDAP-PROFILE-NAME"
set cnid "sAMAccountName"
next
end
Just note that after you change the value, you will need to delete and re-import all users again.
Snapshot:
Hi Team,
Pleased o follow the below document:
> https://docs.fortinet.com/document/fortigate/6.4.2/administration-guide/795593/use-active-directory-...
Regards,
Durga A
Hi, thanks for the reply, but we don't have a FSSO Collector Agent now, we will try this later if other solutions don't work.
Yes, it's possible to change. By default LDAP users will be imported based on their 'CN' attribute, which is usually the same as 'DisplayName'.
You will need to change the CNID value under your LDAP profile to change the behavior.
For instance, if you want your users to be imported with usernames based on the 'userPrincipalName' attribute, use the bellow configuration:
config user ldap
edit "YOUR-LDAP-PROFILE-NAME"
set cnid "userPrincipalName"
next
end
If you want the imported usernames be based on the 'sAMAccountName', simply change the settings as bellow:
config user ldap
edit "YOUR-LDAP-PROFILE-NAME"
set cnid "sAMAccountName"
next
end
Just note that after you change the value, you will need to delete and re-import all users again.
Hi, it works, thank you very much!
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1665 | |
1077 | |
752 | |
446 | |
220 |
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 2024 Fortinet, Inc. All Rights Reserved.