Technical Tip: Remote Sync rules will not sync the user that manually import by user
| Description | This article describes when a user manually imports the remote user in the LDAP group, it will still exist after that user is removed from AD and Manual Sync on Remote User Synced Rules. |
| Scope | FortiAuthenticator. |
| Solution |
In conclusion, Remote User Sync Rules -> Manual Sync will not sync the user manually imported by Remote Users -> Import.
It is not possible to discern manually imported users from automatically imported users. Only the logs can tell. To find out, search for the user name in the logs and see how that user was imported.
For example: Manually imported user:
date=2024-05-13 time=07:25:45+0000 oid=841 logid=10203 cat="Event" subcat="Admin Configuration" level="information" nas="" action="" status="" msg="Imported remote user "user01" from remote LDAP server "DC01 (192.168.95.16)"" user="admin"
Using remote user sync rules:
date=2024-05-13 time=07:35:11+0000 oid=1526 logid=10001 cat="Event" subcat="Admin Configuration" level="information" nas="" action="Add" status="" msg="Added Remote LDAP User: user02" user=""
Note: If a user is manually imported, they are excluded from sync rule management, even if they meet the sync rule criteria. This means that if the user is later deleted from the LDAP server, they will not be removed from the FortiAuthenticator, as they are not managed by the sync rule. Therefore, avoid manual import of the user that should have been imported with the help of the user sync rule to avoid the conflict. |




